interactions:
- request:
    body: '{"model": "gpt-3.5-turbo-instruct", "prompt": ["You are a helpful assistant.
      Please answer this question: What is machine learning?"], "frequency_penalty":
      0, "logprobs": null, "max_tokens": 256, "n": 1, "presence_penalty": 0, "seed":
      null, "temperature": 0.7, "top_p": 1}'
    headers:
      ? !!python/object/apply:multidict._multidict.istr
      - Accept
      : - application/json
      ? !!python/object/apply:multidict._multidict.istr
      - Accept-Encoding
      : - gzip, deflate, zstd
      ? !!python/object/apply:multidict._multidict.istr
      - Connection
      : - keep-alive
      Content-Length:
      - '272'
      ? !!python/object/apply:multidict._multidict.istr
      - Content-Type
      : - application/json
      ? !!python/object/apply:multidict._multidict.istr
      - User-Agent
      : - OpenAI/Python 1.61.1
      ? !!python/object/apply:multidict._multidict.istr
      - X-Stainless-Arch
      : - arm64
      ? !!python/object/apply:multidict._multidict.istr
      - X-Stainless-Async
      : - 'false'
      ? !!python/object/apply:multidict._multidict.istr
      - X-Stainless-Lang
      : - python
      ? !!python/object/apply:multidict._multidict.istr
      - X-Stainless-OS
      : - MacOS
      ? !!python/object/apply:multidict._multidict.istr
      - X-Stainless-Package-Version
      : - 1.61.1
      ? !!python/object/apply:multidict._multidict.istr
      - X-Stainless-Runtime
      : - CPython
      ? !!python/object/apply:multidict._multidict.istr
      - X-Stainless-Runtime-Version
      : - 3.10.13
      ? !!python/object/apply:multidict._multidict.istr
      - x-stainless-retry-count
      : - '0'
    method: POST
    uri: https://api.openai.com/v1/completions
  response:
    body:
      string: "{\n  \"id\": \"cmpl-C1v8kWqHqErtCSe4Kjw4WHVDTwK4l\",\n  \"object\":
        \"text_completion\",\n  \"created\": 1754574010,\n  \"model\": \"gpt-3.5-turbo-instruct:20230824-v2\",\n
        \ \"choices\": [\n    {\n      \"text\": \"\\n\\nMachine learning is a subset
        of artificial intelligence that involves training a computer system to automatically
        learn and improve from data without being explicitly programmed. It uses algorithms
        to analyze and identify patterns in large datasets, and then uses those patterns
        to make predictions or decisions. It is used in a wide range of applications,
        including image recognition, natural language processing, and predictive modeling.
        \",\n      \"index\": 0,\n      \"logprobs\": null,\n      \"finish_reason\":
        \"stop\"\n    }\n  ],\n  \"usage\": {\n    \"prompt_tokens\": 16,\n    \"completion_tokens\":
        73,\n    \"total_tokens\": 89\n  }\n}\n"
    headers:
      CF-RAY:
      - 96b72f279af04d0d-BOS
      Cache-Control:
      - no-cache, must-revalidate
      Connection:
      - keep-alive
      Content-Encoding:
      - gzip
      Content-Type:
      - application/json
      Date:
      - Thu, 07 Aug 2025 13:40:11 GMT
      Server:
      - cloudflare
      Set-Cookie:
      - __cf_bm=RJY.XFi5Neydo_DDzskP3lTnxYa.mHoSO3UjG8XRNOI-1754574011-1.0.1.1-S12ocbCv.80FmFb_eVvIpx.v.mkHgdkZnALh3oEIEQnWi6jCeNKfHebBc4OrvZspNaZq6Q1RxgWD4.PXuTFLiXncJnVBF_9pOVBOKCzzhxo;
        path=/; expires=Thu, 07-Aug-25 14:10:11 GMT; domain=.api.openai.com; HttpOnly;
        Secure; SameSite=None
      - _cfuvid=Rpr3_nSOhRli23KhBaZbZ2Ng64au5fihq8yZKoQUpFc-1754574011033-0.0.1.1-604800000;
        path=/; domain=.api.openai.com; HttpOnly; Secure; SameSite=None
      Transfer-Encoding:
      - chunked
      X-Content-Type-Options:
      - nosniff
      access-control-allow-origin:
      - '*'
      access-control-expose-headers:
      - X-Request-ID
      alt-svc:
      - h3=":443"; ma=86400
      cf-cache-status:
      - DYNAMIC
      openai-model:
      - gpt-3.5-turbo-instruct:20230824-v2
      openai-organization:
      - datadog-staging
      openai-processing-ms:
      - '1061'
      openai-project:
      - proj_gt6TQZPRbZfoY2J9AQlEJMpd
      openai-version:
      - '2020-10-01'
      strict-transport-security:
      - max-age=31536000; includeSubDomains; preload
      via:
      - envoy-router-56b8ccc9b7-6pcbl
      x-envoy-upstream-service-time:
      - '1127'
      x-ratelimit-limit-requests:
      - '3500'
      x-ratelimit-limit-tokens:
      - '90000'
      x-ratelimit-remaining-requests:
      - '3499'
      x-ratelimit-remaining-tokens:
      - '89979'
      x-ratelimit-reset-requests:
      - 17ms
      x-ratelimit-reset-tokens:
      - 14ms
      x-request-id:
      - req_fe742fc3c1a6437a8d138d0577c486b7
    status:
      code: 200
      message: OK
version: 1
