interactions:
- request:
    body: '{"messages": [{"role": "user", "content": "\n    David Nguyen is a sophomore
      majoring in computer science at Stanford University and has a GPA of 3.8.\n    David
      is an active member of the university''s Chess Club and the South Asian Student
      Association.\n    He hopes to pursue a career in software engineering after
      graduating.\n    "}], "model": "gpt-3.5-turbo", "tool_choice": "auto", "tools":
      [{"type": "function", "function": {"name": "extract_student_info", "description":
      "Get the student information from the body of the input text", "parameters":
      {"type": "object", "properties": {"name": {"type": "string", "description":
      "Name of the person"}, "major": {"type": "string", "description": "Major subject."},
      "school": {"type": "string", "description": "The university name."}, "grades":
      {"type": "integer", "description": "GPA of the student."}, "clubs": {"type":
      "array", "description": "School clubs for extracurricular activities. ", "items":
      {"type": "string", "description": "Name of School Club"}}}}}}], "user": "ddtrace-test"}'
    headers:
      accept:
      - application/json
      accept-encoding:
      - gzip, deflate
      connection:
      - keep-alive
      content-length:
      - '1042'
      content-type:
      - application/json
      host:
      - api.openai.com
      user-agent:
      - OpenAI/Python 1.1.1
      x-stainless-arch:
      - arm64
      x-stainless-lang:
      - python
      x-stainless-os:
      - MacOS
      x-stainless-package-version:
      - 1.1.1
      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-835hhNkhB9OBwmSNkrCXncoUudsEU\",\n  \"object\":
      \"chat.completion\",\n  \"created\": 1695747601,\n  \"model\": \"gpt-3.5-turbo-0613\",\n
      \ \"choices\": [\n    {\n      \"index\": 0,\n      \"message\": {\n        \"role\":
      \"assistant\",\n        \"content\": null,\n        \"tool_calls\": [\n          {\n
      \           \"id\": \"call_FJStsEjxdODw9tBmQRRkm6vY\",\n            \"type\":
      \"function\",\n            \"function\": {\n              \"name\": \"extract_student_info\",\n
      \             \"arguments\": \"{\\n  \\\"name\\\": \\\"David Nguyen\\\",\\n
      \ \\\"major\\\": \\\"computer science\\\",\\n  \\\"school\\\": \\\"Stanford
      University\\\",\\n  \\\"grades\\\": 3.8,\\n  \\\"clubs\\\": [\\n    \\\"Chess
      Club\\\",\\n    \\\"South Asian Student Association\\\"\\n  ]\\n}\"\n            }\n
      \         }\n        ]\n      },\n      \"finish_reason\": \"tool_calls\"\n
      \   }\n  ],\n  \"usage\": {\n    \"prompt_tokens\": 157,\n    \"completion_tokens\":
      57,\n    \"total_tokens\": 214\n  }\n}\n"
    headers:
      CF-Cache-Status:
      - DYNAMIC
      CF-RAY:
      - 82378e00d87a0ca9-EWR
      Cache-Control:
      - no-cache, must-revalidate
      Connection:
      - keep-alive
      Content-Encoding:
      - gzip
      Content-Type:
      - application/json
      Date:
      - Thu, 09 Nov 2023 16:50:27 GMT
      Server:
      - cloudflare
      Set-Cookie:
      - __cf_bm=LQw1Ghx4XyatNA5AiWjUKRLsSRglIH93JsauyJjZsK4-1699548627-0-AWlcqINBD/rO6twYdbeI4k5BOoz/4Dh1iwvMGqv0u3InBuc3GezQVWc5H6v9znqGqhmD3z44MY6fzpYZAOAq4l0=;
        path=/; expires=Thu, 09-Nov-23 17:20:27 GMT; domain=.api.openai.com; HttpOnly;
        Secure; SameSite=None
      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:
      - '761'
      openai-version:
      - '2020-10-01'
      strict-transport-security:
      - max-age=15724800; includeSubDomains
      x-ratelimit-limit-requests:
      - '10000'
      x-ratelimit-limit-tokens:
      - '1000000'
      x-ratelimit-remaining-requests:
      - '9999'
      x-ratelimit-remaining-tokens:
      - '999910'
      x-ratelimit-reset-requests:
      - 4ms
      x-ratelimit-reset-tokens:
      - 2ms
      x-request-id:
      - c5223d6f9293e1531ba5b97a472f9d14
    http_version: HTTP/1.1
    status_code: 200
version: 1
