Sha256: aa95bb6e36e985dd9a23b960a75decbf1a98d1419bb0978c4f01690de66b5bdc
Contents?: true
Size: 1.86 KB
Versions: 6
Compression:
Stored size: 1.86 KB
Contents
--- http_interactions: - request: method: post uri: https://bedrock-runtime.us-east-1.amazonaws.com/model/amazon.titan-text-lite-v1/invoke body: encoding: UTF-8 string: '{"inputText":"Give me a short list of steps for creating a Ruby gem","textGenerationConfig":{"maxTokenCount":4096,"stopSequences":[],"temperature":0,"topP":1}}' 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: - '159' response: status: code: 200 message: OK headers: Date: - Wed, 06 Dec 2023 05:48:33 GMT Content-Type: - application/json Content-Length: - '540' Connection: - keep-alive X-Amzn-Requestid: - 0b0079d1-8c05-407a-a46b-bb871d9e87b8 X-Amzn-Bedrock-Invocation-Latency: - '4366' X-Amzn-Bedrock-Output-Token-Count: - '116' X-Amzn-Bedrock-Input-Token-Count: - '12' body: encoding: UTF-8 string: '{"inputTextTokenCount":12,"results":[{"tokenCount":116,"outputText":"\nHere are the steps for creating a Ruby gem:\n1. Create a directory for your gem.\n2. Create a file named \"Gemfile\" in the directory.\n3. Add the path to the directory containing your gem''s code in the \"Gemfile\".\n4. Run the command \"bundle install\" in the directory.\n5. Add the \"gem\" command to your \".bashrc\" file if you want to use it from the command line.\n6. Run the command \"gem install [gem-name]\" to install the gem.","completionReason":"FINISH"}]}' recorded_at: Wed, 06 Dec 2023 05:48:33 GMT recorded_with: VCR 6.2.0
Version data entries
6 entries across 6 versions & 1 rubygems