-
Notifications
You must be signed in to change notification settings - Fork 2k
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: add Amazon Bedrock support #6226
Merged
Merged
Changes from 43 commits
Commits
Show all changes
44 commits
Select commit
Hold shift + click to select a range
7462525
Add Bedrock
viveksilimkhan1 e3efb9f
Update supported models for Bedrock
viveksilimkhan1 a3f34ed
Fix supports and add extract response in Bedrock
viveksilimkhan1 5295bc9
Merge branch 'main' into add-bedrock
tstadel f8a910c
fix errors imports
tstadel 1cd86c7
improve and refactor supports
tstadel 3a343a7
fix install
tstadel be0e211
fix mypy
tstadel 5c57455
fix pylint
tstadel 7715cd7
fix existing tests
tstadel ce3e7d6
Added Anthropic Bedrock
viveksilimkhan1 5e4e306
fix tests
tstadel f97f7cd
Merge branch 'add-bedrock' of github.com:viveksilimkhan1/haystack int…
tstadel 2447324
fix sagemaker tests
tstadel 35269ac
add default prompt handler, constructor and supports tests
tstadel 54e9f42
more tests
tstadel 00f1c55
invoke refactoring
tstadel dc24acc
refactor model_kwargs
tstadel 68960f7
fix mypy
tstadel 49f0ce9
lstrip responses
tstadel 662b10c
Add streaming support
viveksilimkhan1 31fff2b
bump boto3 version
tstadel 45f3153
Merge branch 'add-bedrock' of github.com:viveksilimkhan1/haystack int…
tstadel 5150136
add class docstrings, better exception names
tstadel fb3a076
fix layer name
tstadel 0b1bcac
add tests for anthropic and cohere model adapters
tstadel 23459da
update cohere params
tstadel 7260ad2
update ai21 args and add tests
tstadel c5eadd9
support cohere command light model
tstadel f5f5915
add tital tests
tstadel 6782243
better class names
tstadel 614ae87
support meta llama 2 model
tstadel 8a18e31
fix streaming support
tstadel ed0f4d0
more future-proof model adapter selection
tstadel 4697d40
fix import
tstadel 693e8bc
fix mypy
tstadel ec6b995
fix pylint for preview
tstadel 2ec9f81
add tests for streaming
tstadel d10b91d
add release notes
tstadel c516d1d
Apply suggestions from code review
tstadel 4a30206
fix format
tstadel 9846fd1
fix tests after msg changes
tstadel 4d70ce5
fix streaming for cohere
tstadel 1997281
Merge branch 'main' into add-bedrock
tstadel File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Misconfig tried to lint my changes and failed because of missing dependencies that are not available to in preview.