Skip to content
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

Closed
tjbck opened this issue Jun 4, 2024 · 1 comment · Fixed by #3006
Closed

feat: tools (open webui native python function calling) #2825

tjbck opened this issue Jun 4, 2024 · 1 comment · Fixed by #3006
Milestone

Comments

@tjbck
Copy link
Contributor

tjbck commented Jun 4, 2024

#798 #2175

@tjbck tjbck added this to the v0.3.0 milestone Jun 5, 2024
@tjbck tjbck mentioned this issue Jun 6, 2024
7 tasks
@tjbck tjbck modified the milestones: v0.3.0, 0.4.0 Jun 9, 2024
@tjbck tjbck pinned this issue Jun 10, 2024
@IIPedro
Copy link

IIPedro commented Jun 10, 2024

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.

@tjbck tjbck mentioned this issue Jun 11, 2024
@tjbck tjbck linked a pull request Jun 11, 2024 that will close this issue
@tjbck tjbck closed this as completed Jun 11, 2024
@tjbck tjbck unpinned this issue Jun 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants