8000 Implement code interpreter feature for functionary by jeffrey-fong · Pull Request #1433 · abetlen/llama-cpp-python · GitHub
[go: up one dir, main page]

Skip to content

Implement code interpreter feature for functionary #1433

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

Closed

Conversation

jeffrey-fong
Copy link
Contributor
  • Enables code interpreter/generation feature of functionary models by providing {"type": "code_interpreter} in one of the tools.
  • Adjust prompt template when code_interpreter tool is provided in the request
  • Changed ChatCompletionTool class in llama_cpp/llama_types.py
  • Works with both non-streaming and streaming requests

@jeffrey-fong
Copy link
Contributor Author

Hi @abetlen , any issues with this PR? Is changing ChatCompletionTool causing other parts to break?

@jeffrey-fong
Copy link
Contributor Author

#1509 subsumes this PR so I'll be closing.

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 this pull request may close these issues.

1 participant
0