Amazon Bedrock Connector
Overview
Amazon Bedrock is a fully managed service that offers a choice of high-performing foundation models (FMs) from leading AI companies like AI21 Labs, Anthropic, Cohere, Meta, Stability AI, Mistral AI and Amazon via a single API, along with a broad set of capabilities you need to build generative AI applications, simplifying development while maintaining privacy and security.
The Amazon Bedrock Connector allows you to integrate with Amazon Bedrock.
As of version 3.0.0 the connector depends on the GenAICommons module. Since 4.0.0 it provides the following out-of-the box implementations:
- ChatCompletions (without history) (Converse API)
- ChatCompletions (with history) (Converse API)
- Retrieve and Generate
- Retrieve
- Image generation (Amazon Titan)
- Embeddings (Single String input) (Cohere Embed + Amazon Titan Embeddings v2)
- Embeddings (Chunk collection) input (Cohere Embed + Amazon Titan Embeddings v2).
Thanks to these implementations, it is possible to leverage the large language models available via Amazon Bedrock in both the GenAI Showcase App as well as the AI Bot Starter app out of the box. Please have a look into the GenAICommons documentation to find more information about how to build the required request structure and connection object to reuse the operations.
In addition, the connector provides the following actions:
- List Foundation Models
- Invoke Model (generic)
- StartIngestionJob and GetIngestionJob (make it possible to sync changes to KnowledgeBases)
- List Knowledge Bases
- Invoke Agent
- Get Agent
- List Agents
For more information about our AWS Connector strategy, please see the Mendix Evaluation Guide.
Attention:
For modeler version 9.24.2 until 9.24.29 remove the older version libraries manually from the userlib folder to avoid java compilation errors