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

Bedrock Document Embedder #468

Merged
merged 19 commits into from
Feb 22, 2024
Merged

Bedrock Document Embedder #468

merged 19 commits into from
Feb 22, 2024

Conversation

anakin87
Copy link
Member

part of #181

Document Embedder based on Amazon Bedrock

Notes:
Cohere models support batch inference, while Amazon Titan models do not

@anakin87 anakin87 requested a review from a team as a code owner February 22, 2024 12:27
@anakin87 anakin87 requested review from vblagoje and removed request for a team February 22, 2024 12:27
@github-actions github-actions bot added integration:amazon-bedrock type:documentation Improvements or additions to documentation labels Feb 22, 2024
@@ -84,67 +84,62 @@ def test_from_dict(self, mock_boto3_session):
assert embedder.model == "cohere.embed-english-v3"
assert embedder.kwargs == {"input_type": "search_query"}

def test_init_invalid_model(self):
Copy link
Member Author

@anakin87 anakin87 Feb 22, 2024

Choose a reason for hiding this comment

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

the reviewer can ignore this file:
I only indented the tests to put them in the test class.

Copy link
Member

@vblagoje vblagoje left a comment

Choose a reason for hiding this comment

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

LGTM

@anakin87 anakin87 merged commit 9e44991 into main Feb 22, 2024
10 checks passed
@anakin87 anakin87 deleted the br-doc-embedder branch February 22, 2024 14:29
@lambda-science
Copy link
Contributor

lambda-science commented Feb 22, 2024

Most beautiful day of my month 💞

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
integration:amazon-bedrock type:documentation Improvements or additions to documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants