miniature-nail-35141
02/13/2025, 4:46 AMgray-monkey-83525
02/13/2025, 4:46 AMFunctionContext
and that their descriptions are clear and distinct. This helps the LLM understand when to call each function.
2. Instruction Prompt: Double-check your instruction prompt to ensure it clearly specifies the conditions under which each function should be called. The prompt should guide the LLM to make the correct function call based on the user's input.
3. Model Limitations: Be aware that some models may have limitations in understanding or executing function calls as expected. If the issue persists, consider testing with a different model known for better function calling capabilities, such as GPT-4o or GPT-4o-mini, which are noted for their effectiveness in function calling (source).
Would you like more detailed guidance on setting up the FunctionContext
or refining your instruction prompt?
Sources:
- https://livekit-users.slack.com/archives/C07FY8WHGPM/p1728750289.322599 👍 0 button 👎 0 button 💡 Hint: Mention @runllm in the thread for followups.miniature-nail-35141
02/13/2025, 4:49 AMgray-monkey-83525
02/13/2025, 4:49 AMFunctionContext
are well-defined with clear and distinct descriptions. This helps the model differentiate when to call each function.
2. Prompt Refinement: Double-check your instruction prompt to ensure it is explicit about when each function should be called. The prompt should guide the model to make the correct function call based on specific user inputs.
3. Model-Specific Adjustments: Since the Gemini model might have different capabilities compared to OpenAI models, consider adjusting the parameters or settings specific to Gemini, if available, to enhance its function calling performance.
4. Community and Support: Engage with the community or support channels for Gemini to see if there are any known issues or updates that might address this problem.
Would you like more detailed guidance on any of these steps?
Sources:
- https://livekit-users.slack.com/archives/C07FY8WHGPM/p1731197531.689569
- https://livekit-users.slack.com/archives/C07FY8WHGPM/p1730125512.983609 👍 0 button 👎 0 button 💡 Hint: Mention @runllm in the thread for followups.