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

feat: support bedrock llm provider #213

Merged
merged 6 commits into from
Aug 9, 2024
Merged

feat: support bedrock llm provider #213

merged 6 commits into from
Aug 9, 2024

Conversation

Mini256
Copy link
Member

@Mini256 Mini256 commented Aug 9, 2024

As title.

image

Copy link

vercel bot commented Aug 9, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

3 Skipped Deployments
Name Status Preview Comments Updated (UTC)
grab.demo.tidb.ai ⬜️ Ignored (Inspect) Visit Preview Aug 9, 2024 4:28am
internal.tidb.ai ⬜️ Ignored (Inspect) Visit Preview Aug 9, 2024 4:28am
tidb.ai ⬜️ Ignored (Inspect) Visit Preview Aug 9, 2024 4:28am

@Mini256 Mini256 requested a review from wd0517 August 9, 2024 02:50
backend/app/alembic/versions/04d81be446c3_.py Outdated Show resolved Hide resolved
backend/app/api/admin_routes/llm.py Outdated Show resolved Hide resolved
backend/app/rag/chat_config.py Show resolved Hide resolved
@@ -23,6 +24,11 @@ class VertexModel(str, enum.Enum):
CLAUDE_35_SONNET = "claude-3-5-sonnet@20240620"


# Reference: https://us-west-2.console.aws.amazon.com/bedrock/home?region=us-west-2#/models
class BedrockModel(str, enum.Enum):
CLAUDE_35_SONNET = "anthropic.claude-3-5-sonnet-20240620-v1:0"
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These class appears to be deprecated. I will delete it after merging this PR.

@Mini256 Mini256 requested a review from wd0517 August 9, 2024 03:43
@wd0517 wd0517 merged commit b61c9a8 into main Aug 9, 2024
4 checks passed
@wd0517 wd0517 deleted the feat-support-bedrock branch August 9, 2024 04:32
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