Replies: 1 comment 1 reply
-
|
Hi, I think Gemini offers compatibility with OpenAI. You might want to check out this link for more details: https://ai.google.dev/gemini-api/docs/openai?hl=fr Let me know what you think! |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Problem
I found a problem with some LLMs in our system. I've added instructions in the backend to make the LLM respond in JSON format (needed for avatar animations), but several models only respond in plain text, ignoring these format instructions.
Models Tested
Request for Help
If you have suggestions for Ollama-compatible models that reliably follow format instructions and can output structured JSON consistently, please recommend them.
Any specific prompt techniques or configuration settings that help?
As you can see, when using gemma:2b as the model, the response is plain text. However, when switching to the Avatar Backend Pipeline model, which is powered by Gemini, the response is structured as JSON. This is exactly what we want, as it allows for better integration with animations and avatar interactions.
Beta Was this translation helpful? Give feedback.
All reactions