Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add Amazon Bedrock support (#6226)
* Add Bedrock * Update supported models for Bedrock * Fix supports and add extract response in Bedrock * fix errors imports * improve and refactor supports * fix install * fix mypy * fix pylint * fix existing tests * Added Anthropic Bedrock * fix tests * fix sagemaker tests * add default prompt handler, constructor and supports tests * more tests * invoke refactoring * refactor model_kwargs * fix mypy * lstrip responses * Add streaming support * bump boto3 version * add class docstrings, better exception names * fix layer name * add tests for anthropic and cohere model adapters * update cohere params * update ai21 args and add tests * support cohere command light model * add tital tests * better class names * support meta llama 2 model * fix streaming support * more future-proof model adapter selection * fix import * fix mypy * fix pylint for preview * add tests for streaming * add release notes * Apply suggestions from code review Co-authored-by: Agnieszka Marzec <[email protected]> * fix format * fix tests after msg changes * fix streaming for cohere --------- Co-authored-by: tstadel <[email protected]> Co-authored-by: tstadel <[email protected]> Co-authored-by: Agnieszka Marzec <[email protected]>
- Loading branch information