|
| 1 | +interactions: |
| 2 | +- request: |
| 3 | + body: '{"model":"gpt-3.5-turbo","temperature":0,"messages":[{"role":"system","content":"You |
| 4 | + are a helpful assistant"},{"role":"user","content":"What is the weather in Tokyo?"},{"role":"assistant","content":"","tool_calls":[{"id":"call_Y4wWHJPgTLFLGgIbilc3EqH4","type":"function","function":{"name":"0","arguments":"{\"location\":\"Tokyo\"}"}}]},{"role":"tool","tool_call_id":"call_Y4wWHJPgTLFLGgIbilc3EqH4","content":"\"It |
| 5 | + is nice and sunny in Tokyo.\""}],"tools":[{"type":"function","function":{"name":"0","description":"Get |
| 6 | + the weather in a given location","parameters":{"type":"object","properties":{"location":{"type":"string"}},"required":["location"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}}}],"tool_choice":"auto","stream":true}' |
| 7 | + headers: |
| 8 | + ? !!python/object/apply:multidict._multidict.istr |
| 9 | + - Accept |
| 10 | + : - '*/*' |
| 11 | + ? !!python/object/apply:multidict._multidict.istr |
| 12 | + - Accept-Encoding |
| 13 | + : - gzip, deflate |
| 14 | + ? !!python/object/apply:multidict._multidict.istr |
| 15 | + - Accept-Language |
| 16 | + : - '*' |
| 17 | + ? !!python/object/apply:multidict._multidict.istr |
| 18 | + - Connection |
| 19 | + : - keep-alive |
| 20 | + Content-Length: |
| 21 | + - '770' |
| 22 | + ? !!python/object/apply:multidict._multidict.istr |
| 23 | + - Content-Type |
| 24 | + : - application/json |
| 25 | + ? !!python/object/apply:multidict._multidict.istr |
| 26 | + - User-Agent |
| 27 | + : - node |
| 28 | + ? !!python/object/apply:multidict._multidict.istr |
| 29 | + - sec-fetch-mode |
| 30 | + : - cors |
| 31 | + method: POST |
| 32 | + uri: https://api.openai.com/v1/chat/completions |
| 33 | + response: |
| 34 | + body: |
| 35 | + string: 'data: {"id":"chatcmpl-Bo9sGILXyfGpa8VDADlC9eDdx4eYG","object":"chat.completion.chunk","created":1751294056,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"role":"assistant","content":"","refusal":null},"logprobs":null,"finish_reason":null}]} |
| 36 | +
|
| 37 | +
|
| 38 | + data: {"id":"chatcmpl-Bo9sGILXyfGpa8VDADlC9eDdx4eYG","object":"chat.completion.chunk","created":1751294056,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"The"},"logprobs":null,"finish_reason":null}]} |
| 39 | +
|
| 40 | +
|
| 41 | + data: {"id":"chatcmpl-Bo9sGILXyfGpa8VDADlC9eDdx4eYG","object":"chat.completion.chunk","created":1751294056,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" |
| 42 | + weather"},"logprobs":null,"finish_reason":null}]} |
| 43 | +
|
| 44 | +
|
| 45 | + data: {"id":"chatcmpl-Bo9sGILXyfGpa8VDADlC9eDdx4eYG","object":"chat.completion.chunk","created":1751294056,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" |
| 46 | + in"},"logprobs":null,"finish_reason":null}]} |
| 47 | +
|
| 48 | +
|
| 49 | + data: {"id":"chatcmpl-Bo9sGILXyfGpa8VDADlC9eDdx4eYG","object":"chat.completion.chunk","created":1751294056,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" |
| 50 | + Tokyo"},"logprobs":null,"finish_reason":null}]} |
| 51 | +
|
| 52 | +
|
| 53 | + data: {"id":"chatcmpl-Bo9sGILXyfGpa8VDADlC9eDdx4eYG","object":"chat.completion.chunk","created":1751294056,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" |
| 54 | + is"},"logprobs":null,"finish_reason":null}]} |
| 55 | +
|
| 56 | +
|
| 57 | + data: {"id":"chatcmpl-Bo9sGILXyfGpa8VDADlC9eDdx4eYG","object":"chat.completion.chunk","created":1751294056,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" |
| 58 | + nice"},"logprobs":null,"finish_reason":null}]} |
| 59 | +
|
| 60 | +
|
| 61 | + data: {"id":"chatcmpl-Bo9sGILXyfGpa8VDADlC9eDdx4eYG","object":"chat.completion.chunk","created":1751294056,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" |
| 62 | + and"},"logprobs":null,"finish_reason":null}]} |
| 63 | +
|
| 64 | +
|
| 65 | + data: {"id":"chatcmpl-Bo9sGILXyfGpa8VDADlC9eDdx4eYG","object":"chat.completion.chunk","created":1751294056,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" |
| 66 | + sunny"},"logprobs":null,"finish_reason":null}]} |
| 67 | +
|
| 68 | +
|
| 69 | + data: {"id":"chatcmpl-Bo9sGILXyfGpa8VDADlC9eDdx4eYG","object":"chat.completion.chunk","created":1751294056,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"."},"logprobs":null,"finish_reason":null}]} |
| 70 | +
|
| 71 | +
|
| 72 | + data: {"id":"chatcmpl-Bo9sGILXyfGpa8VDADlC9eDdx4eYG","object":"chat.completion.chunk","created":1751294056,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{},"logprobs":null,"finish_reason":"stop"}]} |
| 73 | +
|
| 74 | +
|
| 75 | + data: [DONE] |
| 76 | +
|
| 77 | +
|
| 78 | + ' |
| 79 | + headers: |
| 80 | + CF-RAY: |
| 81 | + - 957e622c5d523919-IAD |
| 82 | + Connection: |
| 83 | + - keep-alive |
| 84 | + Content-Type: |
| 85 | + - text/event-stream; charset=utf-8 |
| 86 | + Date: |
| 87 | + - Mon, 30 Jun 2025 14:34:16 GMT |
| 88 | + Server: |
| 89 | + - cloudflare |
| 90 | + Set-Cookie: |
| 91 | + - __cf_bm=Cc2.h6DVXsW1s.vDtCUhH6pEtQr.NrmMAkU7Ixr.D.Q-1751294056-1.0.1.1-rDKkRgDp6_X2iOBhjjpdMssiirMZvVT_rarqyOJn_yojv4ksfEvMdF0NRMhSdk6XIh.1Qw3UpzkJyo5AsjV08Mlm.KcnnJ6V6iTEqZ2_c.E; |
| 92 | + path=/; expires=Mon, 30-Jun-25 15:04:16 GMT; domain=.api.openai.com; HttpOnly; |
| 93 | + Secure; SameSite=None |
| 94 | + - _cfuvid=O2NIyIUhDlC9Viv1_qHf_j.A46SR.suveTGKwRGVa_s-1751294056674-0.0.1.1-604800000; |
| 95 | + path=/; domain=.api.openai.com; HttpOnly; Secure; SameSite=None |
| 96 | + Transfer-Encoding: |
| 97 | + - chunked |
| 98 | + X-Content-Type-Options: |
| 99 | + - nosniff |
| 100 | + access-control-expose-headers: |
| 101 | + - X-Request-ID |
| 102 | + alt-svc: |
| 103 | + - h3=":443"; ma=86400 |
| 104 | + cf-cache-status: |
| 105 | + - DYNAMIC |
| 106 | + openai-organization: |
| 107 | + - datadog-staging |
| 108 | + openai-processing-ms: |
| 109 | + - '224' |
| 110 | + openai-version: |
| 111 | + - '2020-10-01' |
| 112 | + strict-transport-security: |
| 113 | + - max-age=31536000; includeSubDomains; preload |
| 114 | + x-envoy-upstream-service-time: |
| 115 | + - '233' |
| 116 | + x-ratelimit-limit-requests: |
| 117 | + - '10000' |
| 118 | + x-ratelimit-limit-tokens: |
| 119 | + - '50000000' |
| 120 | + x-ratelimit-remaining-requests: |
| 121 | + - '9999' |
| 122 | + x-ratelimit-remaining-tokens: |
| 123 | + - '49999972' |
| 124 | + x-ratelimit-reset-requests: |
| 125 | + - 6ms |
| 126 | + x-ratelimit-reset-tokens: |
| 127 | + - 0s |
| 128 | + x-request-id: |
| 129 | + - req_d280cae15f50d6cc65280a737660d0c5 |
| 130 | + status: |
| 131 | + code: 200 |
| 132 | + message: OK |
| 133 | +version: 1 |
0 commit comments