Skip to content

Commit

Permalink
docs: Update function name from AWSBedrockCohereStream to AWSBedrockL…
Browse files Browse the repository at this point in the history
…lama2Stream 🌱 (#924)
  • Loading branch information
agustints authored Jan 31, 2024
1 parent 0d4411d commit 3152643
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/pages/docs/api-reference/aws-bedrock-stream.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -183,4 +183,4 @@ export async function POST(req: Request) {
}
```
In this example, the `AWSBedrockCohereStream` function transforms the text generation stream from the Bedrock into a ReadableStream of parsed result. This allows clients to consume AI outputs in real-time as they're generated, instead of waiting for the complete response.
In this example, the `AWSBedrockLlama2Stream` function transforms the text generation stream from the Bedrock into a ReadableStream of parsed result. This allows clients to consume AI outputs in real-time as they're generated, instead of waiting for the complete response.

0 comments on commit 3152643

Please sign in to comment.