Skip to content

Commit

Permalink
Add metadata and regenerate Readme
Browse files Browse the repository at this point in the history
  • Loading branch information
DennisTraub committed Dec 1, 2023
1 parent d18c246 commit d529ba1
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 4 deletions.
18 changes: 18 additions & 0 deletions .doc_gen/metadata/bedrock-runtime_metadata.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -252,6 +252,23 @@ bedrock-runtime_InvokeStableDiffusionAsync:
services:
bedrock-runtime: {InvokeModel}

bedrock-runtime_InvokeTitanImage:
title: Invoke Amazon Titan on &BR; to generate images
title_abbrev: Image generation with Amazon Titan
synopsis: invoke the Amazon Titan on &BR; to generate images.
category:
languages:
Go:
versions:
- sdk_version: 2
github: gov2/bedrock-runtime
excerpts:
- description: Invoke the Amazon Titan image generation model.
snippet_tags:
- gov2.bedrock-runtime.InvokeTitanImage
services:
bedrock-runtime: {InvokeModel}

bedrock-runtime_InvokeModelWithResponseStream:
title: Invoke Anthropic Claude on &BR; to run an inference with a response stream
title_abbrev: Invoke Anthropic Claude on &BR; and process the response stream
Expand Down Expand Up @@ -293,6 +310,7 @@ bedrock-runtime_Scenario_Invoke_models:
- Generate text with Anthropic Claude.
- Generate text with AI21 Labs Jurassic-2.
- Generate text with Meta Llama 2 Chat.
- Generate an image with the Amazon Titan Image Generator.
category: Scenarios
languages:
PHP:
Expand Down
9 changes: 5 additions & 4 deletions gov2/bedrock-runtime/README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<!--Generated by WRITEME on 2023-11-28 12:40:19.533581 (UTC)-->
<!--Generated by WRITEME on 2023-12-01 17:25:19.122862 (UTC)-->
# Amazon Bedrock Runtime code examples for the SDK for Go V2

## Overview
Expand Down Expand Up @@ -40,10 +40,11 @@ For prerequisites, see the [README](../README.md#Prerequisites) in the `gov2` fo

Code excerpts that show you how to call individual service functions.

* [Invoke AI21 Labs Jurassic-2 on Amazon Bedrock](actions/invoke_model.go#L86) (`InvokeModel`)
* [Image generation with Amazon Titan](actions/invoke_model.go#L178) (`InvokeModel`)
* [Invoke AI21 Labs Jurassic-2 on Amazon Bedrock](actions/invoke_model.go#L78) (`InvokeModel`)
* [Invoke Anthropic Claude on Amazon Bedrock](actions/invoke_model.go#L27) (`InvokeModel`)
* [Invoke Anthropic Claude on Amazon Bedrock and process the response stream](actions/invoke_model_with_response_stream.go#L29) (`InvokeModelWithResponseStream`)
* [Invoke Meta Llama 2 on Amazon Bedrock](actions/invoke_model.go#L138) (`InvokeModel`)
* [Invoke Anthropic Claude on Amazon Bedrock and process the response stream](actions/invoke_model_with_response_stream.go#L30) (`InvokeModelWithResponseStream`)
* [Invoke Meta Llama 2 on Amazon Bedrock](actions/invoke_model.go#L130) (`InvokeModel`)

### Scenarios

Expand Down

0 comments on commit d529ba1

Please sign in to comment.