Sha256: a70b8917ac99a3a9e7354ebf9ad0d5c4ab6317b9855cf27b08537a7c7d80c76b

Contents?: true

Size: 1.33 KB

Versions: 6

Compression:

Stored size: 1.33 KB

Contents

---
http_interactions:
- request:
    method: post
    uri: https://bedrock-runtime.us-east-1.amazonaws.com/model/unkown-model/invoke
    body:
      encoding: UTF-8
      string: '{"prompt":"Hello World","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:
      - '165'
  response:
    status:
      code: 404
      message: Not Found
    headers:
      Date:
      - Mon, 04 Dec 2023 16:19:38 GMT
      Content-Type:
      - application/json
      Content-Length:
      - '88'
      Connection:
      - keep-alive
      X-Amzn-Requestid:
      - b47ea7b0-16b6-480e-a002-c3768b46407a
      X-Amzn-Errortype:
      - ResourceNotFoundException:http://internal.amazon.com/coral/com.amazon.bedrock/
    body:
      encoding: UTF-8
      string: '{"message":"Could not resolve the foundation model from the provided
        model identifier."}'
  recorded_at: Mon, 04 Dec 2023 16:19:38 GMT
recorded_with: VCR 6.2.0

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
ruby-amazon-bedrock-0.2.4 spec/cassettes/models/errors/not_found.yml
ruby-amazon-bedrock-0.2.3 spec/cassettes/models/errors/not_found.yml
ruby-amazon-bedrock-0.2.2 spec/cassettes/models/errors/not_found.yml
ruby-amazon-bedrock-0.2.1 spec/cassettes/models/errors/not_found.yml
ruby-amazon-bedrock-0.2.0 spec/cassettes/models/errors/not_found.yml
ruby-amazon-bedrock-0.1.1 spec/cassettes/models/errors/not_found.yml