Sha256: 0935ddea47b6bdd411d3ec847e955fb5a566fff5178d30e542ebd6b5ba785ef6
Contents?: true
Size: 1.91 KB
Versions: 6
Compression:
Stored size: 1.91 KB
Contents
--- http_interactions: - request: method: post uri: https://bedrock-runtime.us-east-1.amazonaws.com/model/cohere.command-text-v14/invoke body: encoding: UTF-8 string: '{"prompt":"Give me a short list of steps for creating a Ruby gem:","max_tokens":100,"temperature":0.8}' headers: Accept-Encoding: - '' Content-Type: - application/json Accept: - "*/*" User-Agent: - aws-sdk-ruby3/3.189.0 ua/2.0 api/bedrock_runtime#1.4.0 os/macos#22 md/arm64 lang/ruby#3.2.2 md/3.2.2 cfg/retry-mode#legacy Host: - bedrock-runtime.us-east-1.amazonaws.com Content-Length: - '102' response: status: code: 200 message: OK headers: Date: - Wed, 06 Dec 2023 05:50:32 GMT Content-Type: - application/json Content-Length: - '642' Connection: - keep-alive X-Amzn-Requestid: - 49ddaedb-a4c9-450f-9d08-1d49f90bdda2 X-Amzn-Bedrock-Invocation-Latency: - '23863' X-Amzn-Bedrock-Output-Token-Count: - '100' X-Amzn-Bedrock-Input-Token-Count: - '13' body: encoding: UTF-8 string: '{"generations":[{"finish_reason":"MAX_TOKENS","id":"394b2121-acb5-4259-b6a9-9a1e968c1d25","text":" To create a Ruby gem, you''ll need to create a new Ruby project and add the necessary files. Here are the steps you can follow:\n\n1. Create a new directory for your gem: Use the terminal to create a new directory for your gem. This can be done using the command `mkdir my_gem`.\n\n2. Initialize the new project with a Gemfile: Create a new Gemfile in the directory and add the necessary dependencies. You can use the command `gem"}],"id":"49ddaedb-a4c9-450f-9d08-1d49f90bdda2","prompt":"Give me a short list of steps for creating a Ruby gem:"}' recorded_at: Wed, 06 Dec 2023 05:50:32 GMT recorded_with: VCR 6.2.0
Version data entries
6 entries across 6 versions & 1 rubygems