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

[Bug Fix] Make claude-3-opus model work #1331

Merged
merged 6 commits into from
Mar 28, 2024

Conversation

deshraj
Copy link
Collaborator

@deshraj deshraj commented Mar 28, 2024

Description

Reported by a user on slack channel: https://embedchain.slack.com/archives/C05RG7CJKC6/p1711609066461749

Type of change

Please delete options that are not relevant.

  • Bug fix (non-breaking change which fixes an issue)

Tested with the following example:

from embedchain import App
import os

# use anthropic for llm
os.environ['ANTHROPIC_API_KEY'] = 'sk-xxx'


# use openai for embedding model
os.environ['OPENAI_API_KEY'] = 'sk-xxx'

config = {
    "llm": {
        "provider": "anthropic",
        "config": {
            "model": "claude-3-opus-20240229"
        }
    }
}
app = App.from_config(config=config)
app.query("What is the capital of India?")

pyproject.toml Outdated Show resolved Hide resolved
@deshraj
Copy link
Collaborator Author

deshraj commented Mar 28, 2024

Seems like qdrant tests are failing. Will fix that as part of a different PR. Unblocking this feature as of now.

@deshraj deshraj merged commit d00a208 into main Mar 28, 2024
0 of 3 checks passed
@deshraj deshraj deleted the user/dyadav/fix-anthropic-integration branch August 24, 2024 16:37
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