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

support functionary models #1717

Open
mudler opened this issue Feb 15, 2024 · 3 comments
Open

support functionary models #1717

mudler opened this issue Feb 15, 2024 · 3 comments
Labels
area/tools enhancement New feature or request roadmap up for grabs Tickets that no-one is currently working on

Comments

@mudler
Copy link
Owner

mudler commented Feb 15, 2024

Functionary models are trained to output functions.

We should just provide a flag to turn off calculating BNF grammars as we are already doing and just leave to the LLM to answer appropriately.

@mudler mudler added enhancement New feature or request area/tools up for grabs Tickets that no-one is currently working on roadmap labels Feb 15, 2024
@bdqfork
Copy link

bdqfork commented Feb 20, 2024

It may also be necessary to provide a method to inject the definition of the tool as json string into the prompt template.

@mudler
Copy link
Owner Author

mudler commented Apr 18, 2024

It may also be necessary to provide a method to inject the definition of the tool as json string into the prompt template.

that's already present, you can render in the template by ranging over {{.Functions}}. See for example:

@olariuromeo
Copy link

Will be nice , to use functionary models do you have already a yaml recipe for the functionary models?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/tools enhancement New feature or request roadmap up for grabs Tickets that no-one is currently working on
Projects
None yet
Development

No branches or pull requests

3 participants