amazon-bedrock-go-sdk-examples icon indicating copy to clipboard operation
amazon-bedrock-go-sdk-examples copied to clipboard

AWS Go SDK examples for Amazon Bedrock

AWS Go SDK examples for Amazon Bedrock

Amazon Bedrock is a fully managed service that makes base models from Amazon and third-party model providers accessible through an API.

Examples include:

  • Basic example to invoke Bedrock API and list Foundation Models (FMs)
  • Simple chatbot example with Claude
  • Handle streaming output from LLMs
  • Streaming chatbot example
  • Generate content with Claude
  • Extract info from text with Claude
  • Cohere example for text generation
  • Stable Diffusion XL example for image generation with a prompt
  • Convert text into Vector (embedding) with Amazon Titan

Security

See CONTRIBUTING for more information.

License

This library is licensed under the MIT-0 License. See the LICENSE file.