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

Add Anthropic Claude 3 AI models to autocompletion #24

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

luluvia
Copy link

@luluvia luluvia commented Mar 28, 2024

This pull request adds the Claude 3 family of AI models, by Anthropic, to the possible models supported by this plugin. Usage of the models requires an API key that you can acquire by making an account on the Anthropic console. In addition, you will need some sort of relay server or CORS proxy to handle sending the actual requests to Anthropic; CORS errors will prevent you from using the API endpoints directly.

Claude 3 Haiku, Sonnet, and Opus are supported. Please mind the rate limits.

Changes involved:

  • Add the Anthropic SDK to packages
  • Add an Anthropic completer, provider settings, and model settings

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.

None yet

1 participant