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
The request object passed to this operation must include a [KnowledgeBaseTool](#knowledge-base-tool) object, which can be added to the request using the [Request: Add Knowledge Base Tool to Collection](#add-knowledge-base-tool) operation.
253
+
The request object passed to this operation must include a KnowledgeBaseTool object, which can be added to the request using the [Request: Add Knowledge Base Tool to Collection](#add-knowledge-base-tool) operation.
254
254
255
255
#### Chatting with History {#retrieve-and-generate-with-history}
256
256
257
257
The `RetrieveAndGenerate` operation only allows a single user message to be part of the request. Unlike the `ChatCompletions` operation, it is not supported to send a history of messages to the model.
258
258
259
-
The history can be enabled using the `SessionId` parameter on the [RetrieveAndGenerateRequest_Extension](#retrieve-and-generate-request-extension) entity. By reusing the same `SessionId` value, the model will run in the context of the session.
259
+
The history can be enabled using the `SessionId` parameter on the RetrieveAndGenerateRequest_Extension entity. By reusing the same `SessionId` value, the model will run in the context of the session.
260
260
261
261
#### Image Generation {#image-generation}
262
262
@@ -322,15 +322,15 @@ The input and output for this service are shown in the table below:
#### Request: Add Knowledge Base Tool to Collection {#add-knowledge-base-tool}
332
332
333
-
Use this microflow to add a new [KnowledgeBaseTool](#knowledge-base-tool) object to your request. This is useful for adding additional parameters when using the [Retrieve And Generate](#retrieve-and-generate) operation.
333
+
Use this microflow to add a new KnowledgeBaseTool object to your request. This is useful for adding additional parameters when using the [Retrieve And Generate](#retrieve-and-generate) operation.
334
334
335
335
This operation corresponds to the **RetrieveAndGenerateRequest_Extension_Create** microflow.
336
336
@@ -340,7 +340,7 @@ This operation corresponds to the **RetrieveAndGenerateRequest_Extension_Create*
340
340
341
341
#### Request: Add Retrieve And Generate Request Extension {#add-rag-extension}
342
342
343
-
Use this microflow to add a new [RetrieveAndGenerateRequest_Extension](#retrieve-and-generate-request-extension) object to your request. This is required in order to use the [Retrieve And Generate](#retrieve-and-generate) operation successfully.
343
+
Use this microflow to add a new RetrieveAndGenerateRequest_Extension object to your request. This is required in order to use the [Retrieve And Generate](#retrieve-and-generate) operation successfully.
344
344
345
345
This operation corresponds to the **Request_AddKnowledgeBaseTool** microflow.
346
346
@@ -356,7 +356,7 @@ This operation corresponds to the **Request_AddKnowledgeBaseTool** microflow.
356
356
This microflow was introduced in Amazon Bedrock Connector version 3.1.0.
357
357
{{% /alert %}}
358
358
359
-
Use this microflow to add a new [TitanImageOptions_Extension](#titan-image-options-extension) object to your GenAICommons.ImageOptions object. This will allow you to configure the **NegativeText** attribute.
359
+
Use this microflow to add a new TitanImageOptions_Extension object to your GenAICommons.ImageOptions object. This will allow you to configure the **NegativeText** attribute.
360
360
361
361
This operation corresponds to the **TitanImageOptions_Extension_Create** microflow.
362
362
@@ -398,7 +398,7 @@ This operation corresponds to the **ImageOptions_SetRandomness** microflow.
Use this microflow to add a new [CohereEmbedOptions_Extension](#cohere-embed-options-extension) object to your `EmbeddingsOptions` object. You can use it to include parameters that are unique to Cohere Embed models.
401
+
Use this microflow to add a new CohereEmbedOptions_Extension object to your `EmbeddingsOptions` object. You can use it to include parameters that are unique to Cohere Embed models.
402
402
403
403
This operation corresponds to the **CohereEmbedOptions_Extension_Create** microflow.
404
404
@@ -408,7 +408,7 @@ This operation corresponds to the **CohereEmbedOptions_Extension_Create** microf
Use this microflow to add a new [TitanEmbeddingsOptions_Extension](#titan-embeddings-options-extension) object to your `EmbeddingsOptions` object. You can use it to include parameters that are unique to Titan Embeddings models.
411
+
Use this microflow to add a new TitanEmbeddingsOptions_Extension object to your `EmbeddingsOptions` object. You can use it to include parameters that are unique to Titan Embeddings models.
412
412
413
413
This operation corresponds to the **TitanEmbeddingsOptions_Extension_Create** microflow.
414
414
@@ -418,7 +418,7 @@ This operation corresponds to the **TitanEmbeddingsOptions_Extension_Create** mi
Use this microflow to add a new [RetrieveRequest_Extension](#retrieve-request-extension) object to your request. This is required in order to use the [Retrieve](#retrieve) activity. It requires `Connection`, and `RetrieveRequest` as input parameters.
421
+
Use this microflow to add a new RetrieveRequest_Extension object to your request. This is required in order to use the [Retrieve](#retrieve) activity. It requires `Connection`, and `RetrieveRequest` as input parameters.
422
422
423
423
To use this activity, you must set up a knowledge base in your Amazon Bedrock Environment. For more information, see [Knowledge Base](#knowledge-base).
424
424
@@ -452,7 +452,7 @@ This operation corresponds to the **Request_CreateResponseFieldRequest** microfl
If the used model supports that response field, it will be returned as a [ChatCompletionsResponse](#chatcompletions-response) object as part of the response.
455
+
If the used model supports that response field, it will be returned as a ChatCompletionsResponse object as part of the response.
456
456
457
457
#### Response: Get Requested Response Fields {#get-response-fields}
458
458
@@ -787,4 +787,4 @@ Possible root causes for this error include the following:
787
787
To solve this issue, verify the following:
788
788
789
789
1. Ensure that you have selected an AWS Region where the targeted model exists. You can see an overview of the models accessible to you in the AWS Management Console, on the [Overview page](https://us-west-2.console.aws.amazon.com/bedrock/home?#/overview) of your Amazon Bedrock environment. Make sure the region specified in the AWS Console matches the region you have configured in Mendix.
790
-
2. Ensure that the model that you have selected is not deprecated and that the *model-id* is currently available in Amazon Bedrock.
790
+
2. Ensure that the model that you have selected is not deprecated and that the *model-id* is currently available in Amazon Bedrock.
0 commit comments