interactions:
- request:
    body: '{"messages": [{"role": "system", "content": "You are a helpful assistant."},
      {"role": "user", "content": "Who won the world series in 2020?"}, {"role": "assistant",
      "content": "The Los Angeles Dodgers won the World Series in 2020."}, {"role":
      "user", "content": "Where was it played?"}], "model": "gpt-3.5-turbo", "n":
      2, "top_p": 0.9, "user": "ddtrace-test"}'
    headers:
      accept:
      - application/json
      accept-encoding:
      - gzip, deflate
      connection:
      - keep-alive
      content-length:
      - '359'
      content-type:
      - application/json
      host:
      - api.openai.com
      user-agent:
      - OpenAI/Python 1.0.0-beta.3
      x-stainless-arch:
      - arm64
      x-stainless-lang:
      - python
      x-stainless-os:
      - MacOS
      x-stainless-package-version:
      - 1.0.0-beta.3
      x-stainless-runtime:
      - CPython
      x-stainless-runtime-version:
      - 3.10.5
    method: POST
    uri: https://api.openai.com/v1/chat/completions
  response:
    content: "{\n  \"id\": \"chatcmpl-76n5heroUX66dt3wGtwp0tFFedLLu\",\n  \"object\":
      \"chat.completion\",\n  \"created\": 1681853029,\n  \"model\": \"gpt-3.5-turbo-0301\",\n
      \ \"choices\": [\n    {\n      \"index\": 0,\n      \"message\": {\n        \"role\":
      \"assistant\",\n        \"content\": \"The 2020 World Series was played in Arlington,
      Texas at Globe Life Field.\"\n      },\n      \"finish_reason\": \"stop\"\n
      \   },\n    {\n      \"index\": 1,\n      \"message\": {\n        \"role\":
      \"assistant\",\n        \"content\": \"The 2020 World Series was played at Globe
      Life Field in Arlington, Texas.\"\n      },\n      \"finish_reason\": \"stop\"\n
      \   }\n  ],\n  \"usage\": {\n    \"prompt_tokens\": 57,\n    \"completion_tokens\":
      34,\n    \"total_tokens\": 91\n  }\n}\n"
    headers:
      CF-Cache-Status:
      - DYNAMIC
      CF-RAY:
      - 81ad11e60869188d-EWR
      Cache-Control:
      - no-cache, must-revalidate
      Connection:
      - keep-alive
      Content-Encoding:
      - gzip
      Content-Type:
      - application/json
      Date:
      - Mon, 23 Oct 2023 21:28:28 GMT
      Server:
      - cloudflare
      Transfer-Encoding:
      - chunked
      access-control-allow-origin:
      - '*'
      alt-svc:
      - h3=":443"; ma=86400
      openai-model:
      - gpt-3.5-turbo-0613
      openai-organization:
      - datadog-4
      openai-processing-ms:
      - '277'
      openai-version:
      - '2020-10-01'
      strict-transport-security:
      - max-age=15724800; includeSubDomains
      x-ratelimit-limit-requests:
      - '15000'
      x-ratelimit-limit-tokens:
      - '2000000'
      x-ratelimit-remaining-requests:
      - '14999'
      x-ratelimit-remaining-tokens:
      - '1999929'
      x-ratelimit-reset-requests:
      - 4ms
      x-ratelimit-reset-tokens:
      - 2ms
      x-request-id:
      - 46b50c981146f2f9c612cceb4cc37c8c
    http_version: HTTP/1.1
    status_code: 200
version: 1
