Skip to content

feat(ToolChoice): refactor chat system and tool selection #159

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

Merged
merged 1 commit into from
Apr 28, 2024
Merged

Conversation

appleboy
Copy link
Owner

  • Add a system chat message with the content "You are a helpful assistant."
  • Introduce a new ToolChoice structure with Type set to ToolTypeFunction and Function containing the function name.

- Add a system chat message with the content "You are a helpful assistant."
- Introduce a new `ToolChoice` structure with `Type` set to `ToolTypeFunction` and `Function` containing the function name.

Signed-off-by: Bo-Yi Wu <[email protected]>
@appleboy appleboy merged commit ca96abd into main Apr 28, 2024
9 checks passed
@appleboy appleboy deleted the tools branch April 28, 2024 13:24
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