AWS Bedrock is a fully managed service that offers a choice of high-performing foundation models (FMs) from leading AI companies including AI21 Labs, Anthropic, Cohere, Meta, Stability AI, and Amazon, along with a broad set of capabilities that you need to build generative AI applications, simplifying development while maintaining privacy and security.
- Amazon Bedrock offers a choice of leading FM’s through a Single API
- Using Amazon Bedrock, you can easily experiment with and evaluate top FMs for your use case, privately customize them with your data using techniques such as fine-tuning and Retrieval Augmented Generation (RAG)
- Build agents that execute multistep tasks using your enterprise systems and data sources
- Since Amazon Bedrock is serverless, you don't have to manage any infrastructure, and you can securely integrate and deploy generative AI capabilities into your applications using the AWS services
AWS Bedrock provides an unified AI Platform to design, build and manage autonomous agents and the needed architecture. While AWS Bedrock is very strong in connecting multiple LLM providers, the way to interact varies from LLM to LLM. The MAC AWS Bedrock Connector provides the ability to connect to all supported LLMs through an unification layer.
<dependency>
<groupId>io.github.mulesoft-ai-chain-project</groupId>
<artifactId>mule4-amazon-bedrock-connector</artifactId>
<version>{version}</version>
<classifier>mule-plugin</classifier>
</dependency>To use this connector, first build and install the connector into your local maven repository.
Then add the following dependency to your application's pom.xml:
<dependency>
<groupId>com.mulesoft.connectors</groupId>
<artifactId>mule4-amazon-bedrock-connector</artifactId>
<version>{version}</version>
<classifier>mule-plugin</classifier>
</dependency>You can also make this connector available as an asset in your Anyooint Exchange.
This process will require you to build the connector as above, but additionally you will need
to make some changes to the pom.xml. For this reason, we recommend you fork the repository.
Then, follow the MuleSoft documentation to modify and publish the asset.
Learn more at mac-project.ai
Available Operations:
- Agent chat
- Agent chat streaming
- Agent define prompt template
- Agent get by id
- Agent list
- Chat answer prompt
- Chat answer prompt streaming
- Embedding adhoc query
- Embedding generate from text
- Foundational model details
- Foundational models list
- Image generate
- Sentiment analysis
Connection:
Supports both Basic and IAM Role based authentication
HTTP SECURITY
The MuleSoft Inference Connector support TLS for Mule Apps
Requirements
- The supported version for Java SDK is Java 17.
- Compilation of the connector has to be done with Java 17.
- Minimum Mule Runtime version 4.9.4 is needed.
Formatting
The connector uses formatter-maven-plugin for formatting. To format files use following maven command :
mvn formatter:format
- Check out the complete documentation in mac-project.ai
- Learn from the Getting Started YouTube Playlist
- 🌐 Website: mac-project.ai
- 📺 YouTube: @MuleSoft-MAC-Project
- 💼 LinkedIn: MAC Project Group