Skip to content

Commit b93a7c6

Browse files
authored
Update amazon-bedrock.md - added reference to GenAI Commons
1 parent 30ee626 commit b93a7c6

1 file changed

Lines changed: 7 additions & 27 deletions

File tree

  • content/en/docs/appstore/use-content/platform-supported-content/modules/aws

content/en/docs/appstore/use-content/platform-supported-content/modules/aws/amazon-bedrock.md

Lines changed: 7 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,7 @@ For additional information about available operations, refer to the sections bel
210210

211211
#### ChatCompletions (With History) {#chat-completions-with-history}
212212

213-
The `ChatCompletions (with history)` activity can be used for any conversations with a variety of supported LLMs. More information can be found about the operation [here](/appstore/modules/genai/commons/#chat-completions-with-history).
213+
The `ChatCompletions (with history)` and `ChatCompletions (without history)` activities can be used with a variety of supported LLMs. More information can be found about the operations [here](/appstore/modules/genai/commons/#chat-completions).
214214

215215
Some capabilities of the chat completions operations are currently only available for specific models:
216216

@@ -267,45 +267,25 @@ The history can be enabled using the `SessionId` parameter on the RetrieveAndGen
267267
This activity was introduced in Amazon Bedrock Connector version 3.1.0.
268268
{{% /alert %}}
269269

270-
The `Generate Image` operation can be used to generate one or more images. Currently *Amazon Titan Image Generator G1* is the only supported model for image generation of the Amazon Bedrock Connector.
270+
The `Generate Image` operation can be used to generate one or more images. More information can be found about the operations [here](/appstore/modules/genai/commons/#generate-image). Currently *Amazon Titan Image Generator G1* is the only supported model for image generation of the Amazon Bedrock Connector.
271271

272-
The input and output for this service are shown in the table below:
273-
274-
| Input | Output |
275-
| --- | --- |
276-
| `UserPrompt (string)`, `GenAICommons.DeployedModel (object)`, `GenAICommons.ImageOptions (object)`| `GenAICommons.Response (object)`|
277-
278-
`GenAICommons.ImageOptions` can be an empty object. If provided, it allows you to set additional options for Image Generation.
279-
280-
`GenAICommons.ImageOptions` can be created by using the `Image: Create Options` operation of GenAI Commons.
272+
`GenAICommons.ImageOptions` can be an empty object. If provided, it allows you to set additional options for Image Generation and can be created by using the `Image: Create Options` operation of GenAI Commons.
281273

282274
To retrieve actual image objects from the response, the `Image: Get Generated Image (Single)` or `Image: Get Generated Images (List)` helper operations from GenAICommons can be used.
283275

284276
For Titan Image models, the `Image Generation: Add Titan Image Extension` operation can be used to configure Titan image-specific values (currently only *NegativeText*).
285277

286-
#### Embeddings (single string) {#embeddings-single-string}
287-
288-
The `Generate Embeddings (String)` activity can be used to generate an embedding vector for a given input string with one of the Cohere Embed models or Titan Embeddings v2.
289-
290-
The input and output for this service are shown in the table below:
278+
#### Generate Embeddings (String) {#embeddings-single-string}
291279

292-
| Input | Output |
293-
| --- | --- |
294-
| `InputText (string)`, `GenAICommons.DeployedModel (object)`, `GenAICommons.EmbeddingsOptions (object)` | `GenAICommons.EmbeddingsResponse (object)`|
280+
The `Generate Embeddings (String)` activity can be used to generate an embedding vector for a given input string with one of the Cohere Embed models or Titan Embeddings v2. More information can be found about the operations [here](/appstore/modules/genai/commons/#embeddings-string).
295281

296282
For Cohere Embed and Titan Embeddings, the request can be associated to their respective EmbeddingsOptions extension object which can be created with the [Embeddings Options: Add Cohere Embed Extension](#add-cohere-embed-extension) or [Embeddings Options: Add Titan Embeddings Extension](#add-titan-embeddings-extension) operation. Through this extension, it is possible to tailor the operation to more specific needs. This operation can easily be replaced or combined with the Embeddings (single string) operation inside of the [OpenAI connector](https://marketplace.mendix.com/link/component/220472).
297283

298284
Currently, embeddings are available for the Cohere Embed family and or Titan Embeddings v2.
299285

300-
#### Embeddings (chunk collection) {#embeddings-chunk-collection}
301-
302-
The `Generate Embeddings (Chunk Collection)` activity can be used to generate a collection of embedding vectors for a given collection of text chunks with one of the Cohere Embed models or Titan Embeddings v2.
286+
#### Generate Embeddings (Chunk Collection) {#embeddings-chunk-collection}
303287

304-
The input and output for this service are shown in the table below:
305-
306-
| Input | Output |
307-
| --- | --- |
308-
| `GenAICommons.ChunkCollection (object)`, `GenAICommons.DeployedModel (object)`, `GenAICommons.EmbeddingsOptions (object)` | `GenAICommons.EmbeddingsResponse (object)`|
288+
The `Generate Embeddings (Chunk Collection)` activity can be used to generate a collection of embedding vectors for a given collection of text chunks with one of the Cohere Embed models or Titan Embeddings v2. More information can be found about the operations [here](/appstore/modules/genai/commons/#embeddings-chunk-collection).
309289

310290
For each model family, the request can be associated to an extension of the EmbeddingsOptions object which can be created with either the [Embeddings Options: Add Cohere Embed Extension](#add-cohere-embed-extension) or the [Embeddings Options: Add Titan Embeddings Extension](#add-titan-embeddings-extension) operation. Through this extension, it is possible to tailor the operation to more specific needs. This operation can easily be replaced or combined with the Embeddings (chunk collection) operation inside of the [OpenAI connector](https://marketplace.mendix.com/link/component/220472).
311291

0 commit comments

Comments
 (0)