cognee/cognee/infrastructure
Vasilije 69e36cc834
feat: add bedrock as supported llm provider (#1830)
<!-- .github/pull_request_template.md -->

## Description
<!--
Please provide a clear, human-generated description of the changes in
this PR.
DO NOT use AI-generated descriptions. We want to understand your thought
process and reasoning.
-->
Added support for AWS Bedrock, and the models that are available there.
This was a contributor PR that was never finished, so now I polished it
up and made it work.

## Type of Change
<!-- Please check the relevant option -->
- [ ] Bug fix (non-breaking change that fixes an issue)
- [x] New feature (non-breaking change that adds functionality)
- [ ] Breaking change (fix or feature that would cause existing
functionality to change)
- [ ] Documentation update
- [ ] Code refactoring
- [ ] Performance improvement
- [ ] Other (please specify):

## Screenshots/Videos (if applicable)
<!-- Add screenshots or videos to help explain your changes -->

## Pre-submission Checklist
<!-- Please check all boxes that apply before submitting your PR -->
- [x] **I have tested my changes thoroughly before submitting this PR**
- [x] **This PR contains minimal changes necessary to address the
issue/feature**
- [x] My code follows the project's coding standards and style
guidelines
- [x] I have added tests that prove my fix is effective or that my
feature works
- [x] I have added necessary documentation (if applicable)
- [ ] All new and existing tests pass
- [ ] I have searched existing PRs to ensure this change hasn't been
submitted already
- [ ] I have linked any relevant issues in the description
- [ ] My commits have clear and descriptive messages

## DCO Affirmation
I affirm that all code in every commit of this pull request conforms to
the terms of the Topoteretes Developer Certificate of Origin.


<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## Summary by CodeRabbit

* **New Features**
* Added AWS Bedrock as a new LLM provider with support for multiple
authentication methods.
* Integrated three new AI models: Claude 4.5 Sonnet, Claude 4.5 Haiku,
and Amazon Nova Lite.

<sub>✏️ Tip: You can customize this high-level summary in your review
settings.</sub>

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2025-12-15 14:33:57 +01:00
..
context Docstring infrastructure. (#880) 2025-05-28 17:47:31 +02:00
data addressed issues 2025-09-07 15:56:11 -07:00
databases feat: Add dataset database handler info (#1887) 2025-12-12 13:22:03 +01:00
engine feat: optimize repeated entity extraction (#1682) 2025-10-30 13:56:06 +01:00
entities Docstring infrastructure. (#880) 2025-05-28 17:47:31 +02:00
files Merge branch 'dev' into feature/bedrock-llm-provider 2025-11-24 16:48:45 +01:00
llm feat: add bedrock as supported llm provider (#1830) 2025-12-15 14:33:57 +01:00
loaders Merge branch 'dev' into feat/csv-ingestion 2025-11-14 14:46:11 +08:00
utils Merge dev into main (#1398) 2025-09-12 20:20:21 +02:00
__init__.py fix: enable sdk and fix config 2024-06-03 14:03:24 +02:00