--- http_interactions: - request: method: post uri: https://bedrock-runtime.us-east-1.amazonaws.com/model/anthropic.claude-v1/invoke body: encoding: UTF-8 string: '{"prompt":"\n\nHuman: Give me a short list of steps for creating a Ruby gem\n\nAssistant:","max_tokens_to_sample":300,"temperature":0.5,"top_k":250,"top_p":1,"stop_sequences":["\\n\\nHuman"],"anthropic_version":"bedrock-2023-05-31"}' 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: - '232' response: status: code: 200 message: OK headers: Date: - Wed, 06 Dec 2023 05:48:55 GMT Content-Type: - application/json Content-Length: - '1036' Connection: - keep-alive X-Amzn-Requestid: - c76610df-1538-4a15-af71-934e2e9db5da X-Amzn-Bedrock-Invocation-Latency: - '8165' X-Amzn-Bedrock-Output-Token-Count: - '265' X-Amzn-Bedrock-Input-Token-Count: - '21' body: encoding: UTF-8 string: '{"completion":" Here are the basic steps to create a Ruby gem:\n\n1. Choose a gem name. Make sure it''s not already taken on RubyGems.org.\n\n2. Create a directory with the gem name.\n\n3. Initialize the gem with `bundle gem `. This will create the necessary folder structure and files.\n\n4. Edit the .gemspec file with details about your gem like summary, description, authors, etc. \n\n5. Write your code! Add files like lib/gem_name.rb, bin/gem_name, etc.\n\n6. Update the README.md with instructions and documentation for your gem.\n\n7. Commit to git and push to GitHub.\n\n8. Build the gem with `gem build .gemspec`\n\n9. Push the gem to RubyGems with `gem push -.gem`\n\n10. Update your gem with `gem update ` and release new versions with `gem push .gem`\n\n11. Profit! Your gem is now available for anyone to use in their Ruby projects.\n\nThat covers the basic steps. Let me know if you have any other questions!","stop_reason":"stop_sequence","stop":"\n\nHuman:"}' recorded_at: Wed, 06 Dec 2023 05:48:55 GMT recorded_with: VCR 6.2.0