Skip to content

Commit c2b6e5c

Browse files
Update appsync-events-bedrock-cdk/README.md
Co-authored-by: Marco <marco.jahn@gmail.com>
1 parent 521039c commit c2b6e5c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

appsync-events-bedrock-cdk/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Important: this application uses various AWS services and there are costs associ
2222
2. The client chooses a namespace or a channel (or a segment) and subscribes to it. [Additional info the documentation](https://docs.aws.amazon.com/appsync/latest/eventapi/event-api-websocket-protocol.html);
2323
3. The client performs a request towards the Amazon API Gateway that exposes a `/chat` route passing the `userId` and `prompt` parameters. The `userId` will be used as a segment for the channel. The prompt will be used for GenAI completions on Bedrock;
2424
4. The triggered Lambda function receives payload;
25-
5. The Lambda proceeds to invoke a Bedrock model using the streaming API;
25+
5. The Lambda function proceeds to invoke a Bedrock model using the streaming API;
2626
6. The Lambda will receive the completion `chunks` as soon as they are available;
2727
7. For each completion chunk, the Lambda will publish them through the [Publish HTTP API on AppSync Events](https://docs.aws.amazon.com/appsync/latest/eventapi/publish-http.html);
2828
8. The Client is now able to retrieve the completion chunks from AppSync Events;

0 commit comments

Comments
 (0)