You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[Doc] Add documentation for Amazon Bedrock, Amazon OpenSearch, and Amazon S3 Vectors integrations
Documents all AWS integrations contributed in #533 and #534. Adds
per-provider sections to chat_models.md, embedding_models.md, and
vector_stores.md following the same structure as existing providers.
Uses the ResourceName constants from the companion PR.
Copy file name to clipboardExpand all lines: docs/content/docs/development/chat_models.md
+97Lines changed: 97 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -961,6 +961,103 @@ Some popular options include:
961
961
Model availability and specifications may change. Always check the official DashScope documentation for the latest information before implementing in production.
962
962
{{< /hint >}}
963
963
964
+
### Amazon Bedrock
965
+
966
+
Amazon Bedrock provides access to a wide range of foundation models from leading AI providers through a unified API. The Flink Agents Bedrock integration uses the [Converse API](https://docs.aws.amazon.com/bedrock/latest/userguide/conversation-inference.html), which provides a consistent interface across all supported models with native tool calling support. Authentication is handled via SigV4 using the AWS default credentials chain — no API keys required.
967
+
968
+
{{< hint info >}}
969
+
Amazon Bedrock is only supported in Java currently. To use Amazon Bedrock from Python agents, see [Using Cross-Language Providers](#using-cross-language-providers).
970
+
{{< /hint >}}
971
+
972
+
#### Prerequisites
973
+
974
+
1. An AWS account with [Amazon Bedrock model access](https://docs.aws.amazon.com/bedrock/latest/userguide/model-access.html) enabled for the models you plan to use
975
+
2. IAM credentials configured via any method supported by the [AWS Default Credentials Provider](https://docs.aws.amazon.com/sdk-for-java/latest/developer-guide/credentials-chain.html) (environment variables, `~/.aws/credentials`, IAM role, etc.)
Amazon Bedrock supports models from multiple providers through a single API. Visit the [Amazon Bedrock Model IDs documentation](https://docs.aws.amazon.com/bedrock/latest/userguide/models-supported.html) for the complete and up-to-date list of available models.
Model availability varies by AWS region and requires explicit model access enablement in the Bedrock console. Always check the [Amazon Bedrock documentation](https://docs.aws.amazon.com/bedrock/latest/userguide/models-regions.html) for regional availability before implementing in production.
1055
+
{{< /hint >}}
1056
+
1057
+
{{< hint warning >}}
1058
+
**Current limitations:** The integration uses text content blocks only. Extended thinking / reasoning content blocks (e.g. Claude extended thinking), citation blocks, and image / document content blocks are not yet supported.
1059
+
{{< /hint >}}
1060
+
964
1061
## Using Cross-Language Providers
965
1062
966
1063
Flink Agents supports cross-language chat model integration, allowing you to use chat models implemented in one language (Java or Python) from agents written in the other language. This is particularly useful when a chat model provider is only available in one language (e.g., Tongyi is currently Python-only).
Copy file name to clipboardExpand all lines: docs/content/docs/development/embedding_models.md
+93Lines changed: 93 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -464,6 +464,99 @@ Some popular options include:
464
464
Model availability and specifications may change. Always check the official DashScope documentation for the latest information before implementing in production.
465
465
{{< /hint >}}
466
466
467
+
### Amazon Bedrock
468
+
469
+
Amazon Bedrock provides embedding capabilities through the Amazon Titan Text Embeddings V2 model via the [InvokeModel API](https://docs.aws.amazon.com/bedrock/latest/userguide/titan-embedding-models.html). The integration supports configurable output dimensions (256, 512, or 1024) and parallelizes batch embedding via a configurable thread pool, since the Titan V2 model processes one text per API call. Authentication is handled via SigV4 using the AWS default credentials chain.
470
+
471
+
{{< hint info >}}
472
+
Amazon Bedrock embedding models are only supported in Java currently. To use Amazon Bedrock embeddings from Python agents, see [Using Cross-Language Providers](#using-cross-language-providers).
473
+
{{< /hint >}}
474
+
475
+
#### Prerequisites
476
+
477
+
1. An AWS account with [Amazon Bedrock model access](https://docs.aws.amazon.com/bedrock/latest/userguide/model-access.html) enabled for Amazon Titan Text Embeddings V2
478
+
2. IAM credentials configured via any method supported by the [AWS Default Credentials Provider](https://docs.aws.amazon.com/sdk-for-java/latest/developer-guide/credentials-chain.html)
The Bedrock embedding integration currently supports:
548
+
-**Amazon Titan Text Embeddings V2** (`amazon.titan-embed-text-v2:0`) — supports 256, 512, or 1024 dimensions
549
+
550
+
{{< hint info >}}
551
+
The integration always requests **normalized** embeddings (unit vectors), which makes cosine similarity equivalent to dot product. If you need raw, un-normalized vectors, use a custom provider.
552
+
{{< /hint >}}
553
+
554
+
Visit the [Amazon Bedrock Embedding Models documentation](https://docs.aws.amazon.com/bedrock/latest/userguide/titan-embedding-models.html) for the latest information.
555
+
556
+
{{< hint warning >}}
557
+
Model availability varies by AWS region and requires explicit model access enablement in the Bedrock console. Always check the [Amazon Bedrock documentation](https://docs.aws.amazon.com/bedrock/latest/userguide/models-regions.html) for regional availability before implementing in production.
558
+
{{< /hint >}}
559
+
467
560
## Using Cross-Language Providers
468
561
469
562
Flink Agents supports cross-language embedding model integration, allowing you to use embedding models implemented in one language (Java or Python) from agents written in the other language. This is particularly useful when an embedding model provider is only available in one language (e.g., OpenAI embedding is currently Python-only).
0 commit comments