Skip to content

Implement code interpreter feature for functionary#1433

Closed
jeffrey-fong wants to merge 1 commit intoabetlen:mainfrom
jeffrey-fong:functionary-code-interpreter
Closed

Implement code interpreter feature for functionary#1433
jeffrey-fong wants to merge 1 commit intoabetlen:mainfrom
jeffrey-fong:functionary-code-interpreter

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