Skip to content

Commit bb3f920

Browse files
authored
Update amazon-bedrock.md - added reference to GenAI commons ChatCompletion
1 parent bc45c92 commit bb3f920

1 file changed

Lines changed: 2 additions & 26 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: 2 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ You can follow a similar approach to implement any of the other operations in **
105105

106106
### Chatting with Large Language Models using the ChatCompletions Operation
107107

108-
A common use case of the Amazon Bedrock Connector is the development of chatbots and chat solutions. The **ChatCompletions (without history / with history)** operations offer an easy way to connect to most of the text-generation models available on Amazon Bedrock. The ChatCompletions operations are built on top of Bedrock's Converse API, allowing you to talk to different models without the need of a model-specific implementation.
108+
A common use case of the Amazon Bedrock Connector is the development of chatbots and chat solutions. The **ChatCompletions (without history / with history)** operations offer an easy way to connect to most of the text-generation models available on Amazon Bedrock. The ChatCompletions operations are built on top of Bedrock's Converse API, allowing you to talk to different models without the need of a model-specific implementation. For more information on the ChatCompletion operations, check out the [GenAI documentation](/appstore/modules/genai/commons/#chat-completions).
109109

110110
For an overview of supported models and model-specific capabilities and limitations, see [Amazon Bedrock Converse API](https://docs.aws.amazon.com/bedrock/latest/userguide/conversation-inference.html#conversation-inference-supported-models-features) in the AWS documentation.
111111

@@ -208,33 +208,9 @@ For additional information about available operations, refer to the sections bel
208208

209209
### GenAICommons-Based Operations
210210

211-
#### ChatCompletions (Without History) {#chat-completions-without-history}
212-
213-
The `ChatCompletions (without history)` activity can be used for any conversations with a variety of supported LLMs. There is no option to keep the conversation history in mind.
214-
215-
This operation leverages the Amazon Bedrock Converse API. For a full overview of supported models and model capabilities, please refer to the [AWS Documentation](https://docs.aws.amazon.com/bedrock/latest/userguide/conversation-inference.html#conversation-inference-supported-models-features).
216-
217-
The input and output for this service are shown in the table below:
218-
219-
| Input | Output |
220-
| --- | --- |
221-
| `UserPrompt (string)`, `GenAICommons.DeployedModel (object)`, `GenAICommons.Request (object)`, `FileCollection (object)`| `GenAICommons.Response (object)`|
222-
223-
`GenAICommons.Request` and `FileCollection` can be empty, in which case they are not sent to the Bedrock API.
224-
225211
#### ChatCompletions (With History) {#chat-completions-with-history}
226212

227-
The `ChatCompletions (with history)` activity can be used for any conversations with a variety of supported LLMs. It is possible for it to keep the conversation history in mind.
228-
229-
This operation leverages the Amazon Bedrock Converse API. For a full overview of supported models and model capabilities, please refer to the [AWS Documentation](https://docs.aws.amazon.com/bedrock/latest/userguide/conversation-inference.html#conversation-inference-supported-models-features).
230-
231-
The input and output for this service are shown in the table below:
232-
233-
| Input | Output |
234-
| --- | --- |
235-
| `GenAICommons.Request (object)`, `GenAICommons.DeployedModel (object)`| `GenAICommons.Response (object)`|
236-
237-
In order to pass a conversation history to the flow, the list of previous messages must be associated to the input request.
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).
238214

239215
Some capabilities of the chat completions operations are currently only available for specific models:
240216

0 commit comments

Comments
 (0)