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 Claude 3 family of models, support message api #8

Merged
merged 3 commits into from
Mar 5, 2024

Conversation

JayDaniel
Copy link
Contributor

1、Replace Legacy models, add calls for Claude 2.1, Claude 3 Opus, and Claude 3 Sonnet models.

2、Replaced with a new version of message request, supporting streaming text output.

The Text Completions API is a legacy API. We recommend using the Messages API going forward.
Future models and features will not be compatible with Text Completions.

If there are any deficiencies, please help to modify.

@jtsang4
Copy link
Owner

jtsang4 commented Mar 5, 2024

Great work! LGTM.

@jtsang4 jtsang4 merged commit 25bcae0 into jtsang4:main Mar 5, 2024
@jtsang4 jtsang4 mentioned this pull request Mar 6, 2024
2 tasks
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.

2 participants