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 FAQ responses with Amazon Bedrock Converse API

This example pipeline demonstrates how to generate a prompt and subsequent FAQ response using the Converse API.

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.

Fetch neighboring countries using Tool Calling Snaps

This pipeline demonstrates how to generate a function, invoke the tool, and retrieve results to identify India's neighboring countries.

Generate PDF statistics summary with Amazon Bedrock

This example pipeline demonstrates how to generate a summary of a PDF file using Amazon Bedrock Multimodal Content Generator Snap.