You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using the example in "pydantic-models-to-grammar-examples.py" for the calculator you pass the pydantic classes [SendMessageToUser, Calculator] to generate_gbnf_grammar_and_documentation in order to create the gbnf and the doc which are then passed on to the LLM. During and after processing a prompt, only the class Calculator seems to be used. Why and where are you actually using SendMessageToUser.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
When using the example in "pydantic-models-to-grammar-examples.py" for the calculator you pass the pydantic classes
[SendMessageToUser, Calculator]
togenerate_gbnf_grammar_and_documentation
in order to create the gbnf and the doc which are then passed on to the LLM. During and after processing a prompt, only the classCalculator
seems to be used. Why and where are you actually usingSendMessageToUser
.Beta Was this translation helpful? Give feedback.
All reactions