-
-
Notifications
You must be signed in to change notification settings - Fork 3.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: tools (open webui native python function calling) #2825
Comments
Regarding non-conversational tasks such as tool usage, it would be interesting to force JSON usage. Since instruct models are fine-tuned towards conversation, it's hard to get proper responses related to feature extraction and arbitrary choices by LLMs. Libraries such as Ollama provide the option for models to answer in JSON with a provided schema. These features use GBNF (refer to llama.cpp docs) in order to restrict grammar, making JSON responses very efficient, or at least more efficient than prompting the LLM to do so. I believe this will be important, especially towards tool usage, but it can also be used in query and title generation. |
#798 #2175
The text was updated successfully, but these errors were encountered: