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

Grok-1 Tool Support #389

Open
ngoiyaeric opened this issue Jun 4, 2024 · 1 comment
Open

Grok-1 Tool Support #389

ngoiyaeric opened this issue Jun 4, 2024 · 1 comment

Comments

@ngoiyaeric
Copy link

ngoiyaeric commented Jun 4, 2024

Current open source Grok does not support function calling.
https://x.ai/blog/grok-os
Do you guys have any backend for loading open source language models into your stack, something like ollama or llocal.

@alt-glitch
Copy link
Contributor

Yes, we can add support for other models hosted through ollama/replicate etc.

As for tool calls, it is possible to set/add a flag like add_function_to_prompt = True which would then prompt the model to use the function calling spec and return the JSON of the tool call.

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

No branches or pull requests

2 participants