Closed kmotohas closed 3 days ago
LGTM! Would you mind update the readme as well? Maybe add a tip at https://github.com/gusye1234/nano-graphrag?tab=readme-ov-file#quick-start, So people know they can use Claude through Amazon Bedrock
@gusye1234 Thank you for the review! I have added tips to use Amazon Bedrock in README.md. I also modified to use a factory function to create functions for Amazon Bedrock completion instead of defining one for each model ID to keep pace with service updates.
Overview
This pull request adds support for Amazon Bedrock, AWS's generative AI service, as a backend for LLM and embedding models in nano-graphrag.
Changes
amazon_bedrock_complete_if_cache
function for model inferenceHow to Test
Note