Amazon Bedrock LLM Snap Pack Examples

Example Snaps used

Retrieve data from Knowledge base

This example pipeline demonstrates a simulation of a RAG (Retrieval-Augmented Genration) pipeline.

Retrieve data and generate a response

This example pipeline demonstrates how to how to retrieve data and generate a resposne.

Generate vector embeddings

This example pipeline demonstrates how to generate vector embeddings for sample data.

Generate chat response with Amazon Titan

This example pipeline demonstrates how to generate a prompt and subsequent chat response using Amazon Titan.

Generate chat response with Anthropic Claude

This example pipeline demonstrates how to generate a prompt and subsequent chat response using Anthropic Claude on AWS Chat Completions.

Generate message response with Anthropic Claude

This example pipeline demonstrates how to generate a prompt and subsequent message response using Anthropic Claude on AWS Messages.

Invoke agent to generate a response

This example pipeline demonstrates how to send a prompt and invoke the agent to generate a response.