We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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 as a new model provider for Rig.
Anthropic (and its model Claude) is a popular model provider that Rig should support.
Create a new module rig::providers::anthropic which should roughly contain the following:
rig::providers::anthropic
// src/providers/anthropic.rs struct Client { // TODO } struct CompletionRequest { // Modeled after Anthropic API // TODO } impl From<completion::CompletionRequest> for CompletionRequest { // TODO } struct CompletionResponse { // Modeled after Anthropic API // TODO } impl From<CompletionResponse> for completion::CompletionResponse<CompletionResponse> { // TODO } struct CompletionModel { // TODO } impl completion::CompletionModel for CompletionModel { // TODO }
Note: Use the existing provider integrations as a guide (see rig::providers::openai and rig::providers::cohere).
rig::providers::openai
rig::providers::cohere
The text was updated successfully, but these errors were encountered:
Implemented by #27
Sorry, something went wrong.
0xMochan
No branches or pull requests
Feature Request
Add Anthropic as a new model provider for Rig.
Motivation
Anthropic (and its model Claude) is a popular model provider that Rig should support.
Proposal
Create a new module
rig::providers::anthropic
which should roughly contain the following:Note: Use the existing provider integrations as a guide (see
rig::providers::openai
andrig::providers::cohere
).The text was updated successfully, but these errors were encountered: