mirror of
https://github.com/vxcontrol/langchaingo.git
synced 2026-07-21 08:55:25 -04:00
99951bca92
* build: add examples-updater tool and update examples to v0.1.14-pre.1 Add a new tool to automate updating langchaingo version references in example projects and use it to update all examples to v0.1.14-pre.1. The tool also removes temporary replace directives that are no longer needed. - Add update-examples Makefile target that runs the new tool - Create internal/devtools/examples-updater implementation - Update all example go.mod files to reference v0.1.14-pre.1 - Remove replace directives in googleai and vertex examples - Update dependencies in main go.mod/go.sum * httprr: improve header normalization and test container setup Add header normalization to make HTTP recordings more stable: - Add normalizeGoogleAPIClientHeader and normalizeVersionHeader functions - Normalize User-Agent, x-goog-api-client and other version headers - Remove OpenAI-Project header for consistency - Preserve body for both replay lookup and recording - Add comprehensive tests for header normalization Improve testcontainer environment detection: - Better handling of non-standard Docker socket paths - Disable Ryuk reaper by default for resource efficiency - Add verbose logging option via environment variable * httputil: add ApiKeyTransport for query parameter API keys Add a reusable ApiKeyTransport that adds API keys to URL query parameters: - Create ApiKeyTransport implementation in httputil package - Add comprehensive tests for the new transport - Refactor googleai_test.go to use the shared transport - Update chains/llm_test.go to use ApiKeyTransport with proper key scrubbing This improves how API keys are handled with client libraries that don't properly set keys when using custom HTTP clients, particularly useful with httprr for testing Google API integrations. * openai: remove duplicate MaxTokens field assignment Remove redundant assignment where both MaxTokens and MaxCompletionTokens were being set to the same value. MaxCompletionTokens is the preferred field name that reflects OpenAI's API changes, while MaxTokens was previously kept for backward compatibility. * vectorstores/maridadb: add test infrastructure for MariaDB vectorstore Add TestMain function for MariaDB vectorstore tests that ensures the proper test environment is set up using the testctr package. This enables consistent test container setup and teardown for MariaDB integration tests. * all: normalize all httprr recordings for consistency Update test recordings across all packages to use normalized headers: - Standardize User-Agent to 'langchaingo-httprr' - Normalize version information in x-goog-api-client headers - Remove OpenAI-Project headers for consistency - Fix deprecated Anthropic completion API tests - Update HuggingFace test recordings with valid responses These changes make test recordings stable across dependency updates and different environments, preventing test failures from version changes. * devtools: add utility tool for normalizing httprr test recordings Add a command-line tool that standardizes version information in httprr recordings: - Normalizes x-goog-api-client headers to use placeholder versions - Standardizes x-amz-user-agent headers for consistency - Replaces Go version strings with generic placeholders - Supports dry-run mode to preview changes without modifying files - Includes verbose output option for detailed change reporting This tool helps maintain consistent test recordings across different environments and dependency versions, preventing test failures from version changes. * llms/openai: update OpenAI embedding test to use text-embedding-3-small model Update the embedding test to use the current text-embedding-3-small model: - Change model from text-embedding-ada-002 to text-embedding-3-small - Adjust dimensions parameter from 1234 to 256 to match model capabilities - Update test recording with appropriate response data This change ensures tests remain compatible with OpenAI's current embedding models and prevents test failures from API version changes.
940 lines
33 KiB
Plaintext
Generated
940 lines
33 KiB
Plaintext
Generated
httprr trace v1
|
|
830 1568
|
|
POST https://api.openai.com/v1/chat/completions HTTP/1.1
|
|
Host: api.openai.com
|
|
User-Agent: langchaingo-httprr
|
|
Content-Length: 628
|
|
Authorization: Bearer test-api-key
|
|
Content-Type: application/json
|
|
|
|
{"model":"gpt-3.5-turbo","messages":[{"role":"user","content":"Use the following portion of a long document to see if any of the text is relevant to answer the question. \nReturn any relevant text verbatim.\nOne sunny morning, as the golden rays of the sun danced through the treetops, Oliver decided it was time to embark on a grand journey to find new friends who shared his thirst for excitement. With a determined gleam in his eye, he packed a tiny satchel filled with cheese, a sturdy walking stick, and bid farewell to his mouse friends.\nQuestion: What is the name of the lion?\nRelevant text, if any:"}],"temperature":0}HTTP/2.0 200 OK
|
|
Content-Length: 799
|
|
Access-Control-Expose-Headers: X-Request-ID
|
|
Alt-Svc: h3=":443"; ma=86400
|
|
Cf-Cache-Status: DYNAMIC
|
|
Content-Type: application/json
|
|
Date: Mon, 18 Aug 2025 13:34:25 GMT
|
|
Openai-Organization: lcgo-tst
|
|
Openai-Processing-Ms: 173
|
|
Openai-Project: proj_qm9GQ7k7ESiwosypKZaDuaoq
|
|
Openai-Version: 2020-10-01
|
|
Server: cloudflare
|
|
Strict-Transport-Security: max-age=31536000; includeSubDomains; preload
|
|
X-Content-Type-Options: nosniff
|
|
X-Envoy-Upstream-Service-Time: 196
|
|
X-Ratelimit-Limit-Requests: 10000
|
|
X-Ratelimit-Limit-Tokens: 50000000
|
|
X-Ratelimit-Remaining-Requests: 9999
|
|
X-Ratelimit-Remaining-Tokens: 49999862
|
|
X-Ratelimit-Reset-Requests: 6ms
|
|
X-Ratelimit-Reset-Tokens: 0s
|
|
X-Request-Id: req_6c2d38087b52416097c5bf8474b74cd0
|
|
|
|
{
|
|
"id": "chatcmpl-C5uIDBO0AMRTooupYbjZt9KszLFDl",
|
|
"object": "chat.completion",
|
|
"created": 1755524065,
|
|
"model": "gpt-3.5-turbo-0125",
|
|
"choices": [
|
|
{
|
|
"index": 0,
|
|
"message": {
|
|
"role": "assistant",
|
|
"content": "Oliver",
|
|
"refusal": null,
|
|
"annotations": []
|
|
},
|
|
"logprobs": null,
|
|
"finish_reason": "stop"
|
|
}
|
|
],
|
|
"usage": {
|
|
"prompt_tokens": 127,
|
|
"completion_tokens": 2,
|
|
"total_tokens": 129,
|
|
"prompt_tokens_details": {
|
|
"cached_tokens": 0,
|
|
"audio_tokens": 0
|
|
},
|
|
"completion_tokens_details": {
|
|
"reasoning_tokens": 0,
|
|
"audio_tokens": 0,
|
|
"accepted_prediction_tokens": 0,
|
|
"rejected_prediction_tokens": 0
|
|
}
|
|
},
|
|
"service_tier": "default",
|
|
"system_fingerprint": null
|
|
}
|
|
850 1568
|
|
POST https://api.openai.com/v1/chat/completions HTTP/1.1
|
|
Host: api.openai.com
|
|
User-Agent: langchaingo-httprr
|
|
Content-Length: 648
|
|
Authorization: Bearer test-api-key
|
|
Content-Type: application/json
|
|
|
|
{"model":"gpt-3.5-turbo","messages":[{"role":"user","content":"Use the following portion of a long document to see if any of the text is relevant to answer the question. \nReturn any relevant text verbatim.\nOnce upon a time, in a charming little village nestled deep within the enchanted forest, lived a small mouse named Oliver. Oliver was unlike the other mice in the village. While they scurried and chattered happily amongst themselves, Oliver felt a longing for something more, a yearning for adventure and new friendships beyond the familiar mouse tunnels.\nQuestion: What is the name of the lion?\nRelevant text, if any:"}],"temperature":0}HTTP/2.0 200 OK
|
|
Content-Length: 799
|
|
Access-Control-Expose-Headers: X-Request-ID
|
|
Alt-Svc: h3=":443"; ma=86400
|
|
Cf-Cache-Status: DYNAMIC
|
|
Content-Type: application/json
|
|
Date: Mon, 18 Aug 2025 13:34:25 GMT
|
|
Openai-Organization: lcgo-tst
|
|
Openai-Processing-Ms: 220
|
|
Openai-Project: proj_qm9GQ7k7ESiwosypKZaDuaoq
|
|
Openai-Version: 2020-10-01
|
|
Server: cloudflare
|
|
Strict-Transport-Security: max-age=31536000; includeSubDomains; preload
|
|
X-Content-Type-Options: nosniff
|
|
X-Envoy-Upstream-Service-Time: 253
|
|
X-Ratelimit-Limit-Requests: 10000
|
|
X-Ratelimit-Limit-Tokens: 50000000
|
|
X-Ratelimit-Remaining-Requests: 9999
|
|
X-Ratelimit-Remaining-Tokens: 49999856
|
|
X-Ratelimit-Reset-Requests: 6ms
|
|
X-Ratelimit-Reset-Tokens: 0s
|
|
X-Request-Id: req_7c7a5be40b494de5b96976c00d9b5807
|
|
|
|
{
|
|
"id": "chatcmpl-C5uIDiQmF1e8uw7NhA6WruexRa3Zh",
|
|
"object": "chat.completion",
|
|
"created": 1755524065,
|
|
"model": "gpt-3.5-turbo-0125",
|
|
"choices": [
|
|
{
|
|
"index": 0,
|
|
"message": {
|
|
"role": "assistant",
|
|
"content": "Oliver",
|
|
"refusal": null,
|
|
"annotations": []
|
|
},
|
|
"logprobs": null,
|
|
"finish_reason": "stop"
|
|
}
|
|
],
|
|
"usage": {
|
|
"prompt_tokens": 122,
|
|
"completion_tokens": 2,
|
|
"total_tokens": 124,
|
|
"prompt_tokens_details": {
|
|
"cached_tokens": 0,
|
|
"audio_tokens": 0
|
|
},
|
|
"completion_tokens_details": {
|
|
"reasoning_tokens": 0,
|
|
"audio_tokens": 0,
|
|
"accepted_prediction_tokens": 0,
|
|
"rejected_prediction_tokens": 0
|
|
}
|
|
},
|
|
"service_tier": "default",
|
|
"system_fingerprint": null
|
|
}
|
|
765 1565
|
|
POST https://api.openai.com/v1/chat/completions HTTP/1.1
|
|
Host: api.openai.com
|
|
User-Agent: langchaingo-httprr
|
|
Content-Length: 563
|
|
Authorization: Bearer test-api-key
|
|
Content-Type: application/json
|
|
|
|
{"model":"gpt-3.5-turbo","messages":[{"role":"user","content":"Use the following portion of a long document to see if any of the text is relevant to answer the question. \nReturn any relevant text verbatim.\nLeo raised his magnificent head, his golden eyes sparkling with curiosity. \"Greetings, Oliver! I must admit, I've never met a mouse with such courage. I would be honored to accompany you on your noble quest. Together, we shall forge an unbreakable bond of friendship!\"\nQuestion: What is the name of the lion?\nRelevant text, if any:"}],"temperature":0}HTTP/2.0 200 OK
|
|
Content-Length: 796
|
|
Access-Control-Expose-Headers: X-Request-ID
|
|
Alt-Svc: h3=":443"; ma=86400
|
|
Cf-Cache-Status: DYNAMIC
|
|
Content-Type: application/json
|
|
Date: Mon, 18 Aug 2025 13:34:25 GMT
|
|
Openai-Organization: lcgo-tst
|
|
Openai-Processing-Ms: 249
|
|
Openai-Project: proj_qm9GQ7k7ESiwosypKZaDuaoq
|
|
Openai-Version: 2020-10-01
|
|
Server: cloudflare
|
|
Strict-Transport-Security: max-age=31536000; includeSubDomains; preload
|
|
X-Content-Type-Options: nosniff
|
|
X-Envoy-Upstream-Service-Time: 292
|
|
X-Ratelimit-Limit-Requests: 10000
|
|
X-Ratelimit-Limit-Tokens: 50000000
|
|
X-Ratelimit-Remaining-Requests: 9999
|
|
X-Ratelimit-Remaining-Tokens: 49999878
|
|
X-Ratelimit-Reset-Requests: 6ms
|
|
X-Ratelimit-Reset-Tokens: 0s
|
|
X-Request-Id: req_fb6633c7162a4e6cb6dfd7bb8cb5c032
|
|
|
|
{
|
|
"id": "chatcmpl-C5uIDn65EGDMdJ30q6DZV8ypToT6n",
|
|
"object": "chat.completion",
|
|
"created": 1755524065,
|
|
"model": "gpt-3.5-turbo-0125",
|
|
"choices": [
|
|
{
|
|
"index": 0,
|
|
"message": {
|
|
"role": "assistant",
|
|
"content": "Leo",
|
|
"refusal": null,
|
|
"annotations": []
|
|
},
|
|
"logprobs": null,
|
|
"finish_reason": "stop"
|
|
}
|
|
],
|
|
"usage": {
|
|
"prompt_tokens": 111,
|
|
"completion_tokens": 1,
|
|
"total_tokens": 112,
|
|
"prompt_tokens_details": {
|
|
"cached_tokens": 0,
|
|
"audio_tokens": 0
|
|
},
|
|
"completion_tokens_details": {
|
|
"reasoning_tokens": 0,
|
|
"audio_tokens": 0,
|
|
"accepted_prediction_tokens": 0,
|
|
"rejected_prediction_tokens": 0
|
|
}
|
|
},
|
|
"service_tier": "default",
|
|
"system_fingerprint": null
|
|
}
|
|
929 1586
|
|
POST https://api.openai.com/v1/chat/completions HTTP/1.1
|
|
Host: api.openai.com
|
|
User-Agent: langchaingo-httprr
|
|
Content-Length: 727
|
|
Authorization: Bearer test-api-key
|
|
Content-Type: application/json
|
|
|
|
{"model":"gpt-3.5-turbo","messages":[{"role":"user","content":"Use the following portion of a long document to see if any of the text is relevant to answer the question. \nReturn any relevant text verbatim.\nAs Oliver approached the pond, he noticed a majestic lion drinking from the water's edge. The lion, named Leo, had a regal presence and a gentle smile. Oliver's heart fluttered with excitement at the thought of making friends with such a magnificent creature.\n\n\"Hello there, noble lion! My name is Oliver, and I'm on a quest to find new friends. Might you be interested in joining me?\" Oliver squeaked, his voice filled with hope.\nQuestion: What is the name of the lion?\nRelevant text, if any:"}],"temperature":0}HTTP/2.0 200 OK
|
|
Content-Length: 816
|
|
Access-Control-Expose-Headers: X-Request-ID
|
|
Alt-Svc: h3=":443"; ma=86400
|
|
Cf-Cache-Status: DYNAMIC
|
|
Content-Type: application/json
|
|
Date: Mon, 18 Aug 2025 13:34:25 GMT
|
|
Openai-Organization: lcgo-tst
|
|
Openai-Processing-Ms: 223
|
|
Openai-Project: proj_qm9GQ7k7ESiwosypKZaDuaoq
|
|
Openai-Version: 2020-10-01
|
|
Server: cloudflare
|
|
Strict-Transport-Security: max-age=31536000; includeSubDomains; preload
|
|
X-Content-Type-Options: nosniff
|
|
X-Envoy-Upstream-Service-Time: 284
|
|
X-Ratelimit-Limit-Requests: 10000
|
|
X-Ratelimit-Limit-Tokens: 50000000
|
|
X-Ratelimit-Remaining-Requests: 9997
|
|
X-Ratelimit-Remaining-Tokens: 49999189
|
|
X-Ratelimit-Reset-Requests: 12ms
|
|
X-Ratelimit-Reset-Tokens: 0s
|
|
X-Request-Id: req_49859fa3fdcc4b57a4816ad4c766caf3
|
|
|
|
{
|
|
"id": "chatcmpl-C5uIDcd4TE7ClC8iPuLQgRAGDe9LC",
|
|
"object": "chat.completion",
|
|
"created": 1755524065,
|
|
"model": "gpt-3.5-turbo-0125",
|
|
"choices": [
|
|
{
|
|
"index": 0,
|
|
"message": {
|
|
"role": "assistant",
|
|
"content": "The lion's name is Leo.",
|
|
"refusal": null,
|
|
"annotations": []
|
|
},
|
|
"logprobs": null,
|
|
"finish_reason": "stop"
|
|
}
|
|
],
|
|
"usage": {
|
|
"prompt_tokens": 148,
|
|
"completion_tokens": 7,
|
|
"total_tokens": 155,
|
|
"prompt_tokens_details": {
|
|
"cached_tokens": 0,
|
|
"audio_tokens": 0
|
|
},
|
|
"completion_tokens_details": {
|
|
"reasoning_tokens": 0,
|
|
"audio_tokens": 0,
|
|
"accepted_prediction_tokens": 0,
|
|
"rejected_prediction_tokens": 0
|
|
}
|
|
},
|
|
"service_tier": "default",
|
|
"system_fingerprint": null
|
|
}
|
|
827 1679
|
|
POST https://api.openai.com/v1/chat/completions HTTP/1.1
|
|
Host: api.openai.com
|
|
User-Agent: langchaingo-httprr
|
|
Content-Length: 625
|
|
Authorization: Bearer test-api-key
|
|
Content-Type: application/json
|
|
|
|
{"model":"gpt-3.5-turbo","messages":[{"role":"user","content":"Use the following portion of a long document to see if any of the text is relevant to answer the question. \nReturn any relevant text verbatim.\nVenturing deeper into the forest, Oliver's heart raced with anticipation. His tiny paws crunched on fallen leaves as he journeyed through the dense undergrowth, marveling at the vibrant flora and listening to the whimsical songs of birds. It was then that he stumbled upon a clearing where a small pond shimmered under the sunlight.\nQuestion: What is the name of the lion?\nRelevant text, if any:"}],"temperature":0}HTTP/2.0 200 OK
|
|
Content-Length: 910
|
|
Access-Control-Expose-Headers: X-Request-ID
|
|
Alt-Svc: h3=":443"; ma=86400
|
|
Cf-Cache-Status: DYNAMIC
|
|
Content-Type: application/json
|
|
Date: Mon, 18 Aug 2025 13:34:25 GMT
|
|
Openai-Organization: lcgo-tst
|
|
Openai-Processing-Ms: 420
|
|
Openai-Project: proj_qm9GQ7k7ESiwosypKZaDuaoq
|
|
Openai-Version: 2020-10-01
|
|
Server: cloudflare
|
|
Strict-Transport-Security: max-age=31536000; includeSubDomains; preload
|
|
X-Content-Type-Options: nosniff
|
|
X-Envoy-Upstream-Service-Time: 452
|
|
X-Ratelimit-Limit-Requests: 10000
|
|
X-Ratelimit-Limit-Tokens: 50000000
|
|
X-Ratelimit-Remaining-Requests: 9999
|
|
X-Ratelimit-Remaining-Tokens: 49999863
|
|
X-Ratelimit-Reset-Requests: 6ms
|
|
X-Ratelimit-Reset-Tokens: 0s
|
|
X-Request-Id: req_1e8d94513f344728b99375a19d00ff5c
|
|
|
|
{
|
|
"id": "chatcmpl-C5uID1lpl5c8YvFOCPaGl0SA3W3T1",
|
|
"object": "chat.completion",
|
|
"created": 1755524065,
|
|
"model": "gpt-3.5-turbo-0125",
|
|
"choices": [
|
|
{
|
|
"index": 0,
|
|
"message": {
|
|
"role": "assistant",
|
|
"content": "There is no relevant text to answer the question about the name of the lion in the provided portion of the document.",
|
|
"refusal": null,
|
|
"annotations": []
|
|
},
|
|
"logprobs": null,
|
|
"finish_reason": "stop"
|
|
}
|
|
],
|
|
"usage": {
|
|
"prompt_tokens": 122,
|
|
"completion_tokens": 23,
|
|
"total_tokens": 145,
|
|
"prompt_tokens_details": {
|
|
"cached_tokens": 0,
|
|
"audio_tokens": 0
|
|
},
|
|
"completion_tokens_details": {
|
|
"reasoning_tokens": 0,
|
|
"audio_tokens": 0,
|
|
"accepted_prediction_tokens": 0,
|
|
"rejected_prediction_tokens": 0
|
|
}
|
|
},
|
|
"service_tier": "default",
|
|
"system_fingerprint": null
|
|
}
|
|
850 1565
|
|
POST https://api.openai.com/v1/chat/completions HTTP/1.1
|
|
Host: api.openai.com
|
|
User-Agent: langchaingo-httprr
|
|
Content-Length: 648
|
|
Authorization: Bearer test-api-key
|
|
Content-Type: application/json
|
|
|
|
{"model":"gpt-3.5-turbo","messages":[{"role":"user","content":"Use the following portion of a long document to see if any of the text is relevant to answer the question. \nReturn any relevant text verbatim.\n\"Listen, my friends! We must work together, combining our unique strengths and abilities,\" Oliver declared with conviction. \"Leo, with your strength and courage, distract the monster while Freddie and I search for its vulnerable spot. Freddie, your agility and quick reflexes will guide us through the treacherous terrain. Together, we shall triumph!\"\nQuestion: What is the name of the lion?\nRelevant text, if any:"}],"temperature":0}HTTP/2.0 200 OK
|
|
Content-Length: 796
|
|
Access-Control-Expose-Headers: X-Request-ID
|
|
Alt-Svc: h3=":443"; ma=86400
|
|
Cf-Cache-Status: DYNAMIC
|
|
Content-Type: application/json
|
|
Date: Mon, 18 Aug 2025 13:34:27 GMT
|
|
Openai-Organization: lcgo-tst
|
|
Openai-Processing-Ms: 163
|
|
Openai-Project: proj_qm9GQ7k7ESiwosypKZaDuaoq
|
|
Openai-Version: 2020-10-01
|
|
Server: cloudflare
|
|
Strict-Transport-Security: max-age=31536000; includeSubDomains; preload
|
|
X-Content-Type-Options: nosniff
|
|
X-Envoy-Upstream-Service-Time: 188
|
|
X-Ratelimit-Limit-Requests: 10000
|
|
X-Ratelimit-Limit-Tokens: 50000000
|
|
X-Ratelimit-Remaining-Requests: 9999
|
|
X-Ratelimit-Remaining-Tokens: 49999857
|
|
X-Ratelimit-Reset-Requests: 6ms
|
|
X-Ratelimit-Reset-Tokens: 0s
|
|
X-Request-Id: req_0d0a6010636b48e088a1f5d180b1c191
|
|
|
|
{
|
|
"id": "chatcmpl-C5uIFWpSnjvkGPGoGd0xgkYCUmXHV",
|
|
"object": "chat.completion",
|
|
"created": 1755524067,
|
|
"model": "gpt-3.5-turbo-0125",
|
|
"choices": [
|
|
{
|
|
"index": 0,
|
|
"message": {
|
|
"role": "assistant",
|
|
"content": "Leo",
|
|
"refusal": null,
|
|
"annotations": []
|
|
},
|
|
"logprobs": null,
|
|
"finish_reason": "stop"
|
|
}
|
|
],
|
|
"usage": {
|
|
"prompt_tokens": 123,
|
|
"completion_tokens": 1,
|
|
"total_tokens": 124,
|
|
"prompt_tokens_details": {
|
|
"cached_tokens": 0,
|
|
"audio_tokens": 0
|
|
},
|
|
"completion_tokens_details": {
|
|
"reasoning_tokens": 0,
|
|
"audio_tokens": 0,
|
|
"accepted_prediction_tokens": 0,
|
|
"rejected_prediction_tokens": 0
|
|
}
|
|
},
|
|
"service_tier": "default",
|
|
"system_fingerprint": null
|
|
}
|
|
797 1565
|
|
POST https://api.openai.com/v1/chat/completions HTTP/1.1
|
|
Host: api.openai.com
|
|
User-Agent: langchaingo-httprr
|
|
Content-Length: 595
|
|
Authorization: Bearer test-api-key
|
|
Content-Type: application/json
|
|
|
|
{"model":"gpt-3.5-turbo","messages":[{"role":"user","content":"Use the following portion of a long document to see if any of the text is relevant to answer the question. \nReturn any relevant text verbatim.\nWith Leo by his side, Oliver's adventure took on a new dimension. The unlikely duo traversed verdant meadows, climbed towering trees, and braved treacherous rivers. Along their journey, they encountered a whimsical frog named Freddie, who was a skilled hopper and an expert in finding hidden treasures.\nQuestion: What is the name of the lion?\nRelevant text, if any:"}],"temperature":0}HTTP/2.0 200 OK
|
|
Content-Length: 796
|
|
Access-Control-Expose-Headers: X-Request-ID
|
|
Alt-Svc: h3=":443"; ma=86400
|
|
Cf-Cache-Status: DYNAMIC
|
|
Content-Type: application/json
|
|
Date: Mon, 18 Aug 2025 13:34:27 GMT
|
|
Openai-Organization: lcgo-tst
|
|
Openai-Processing-Ms: 172
|
|
Openai-Project: proj_qm9GQ7k7ESiwosypKZaDuaoq
|
|
Openai-Version: 2020-10-01
|
|
Server: cloudflare
|
|
Strict-Transport-Security: max-age=31536000; includeSubDomains; preload
|
|
X-Content-Type-Options: nosniff
|
|
X-Envoy-Upstream-Service-Time: 194
|
|
X-Ratelimit-Limit-Requests: 10000
|
|
X-Ratelimit-Limit-Tokens: 50000000
|
|
X-Ratelimit-Remaining-Requests: 9999
|
|
X-Ratelimit-Remaining-Tokens: 49999870
|
|
X-Ratelimit-Reset-Requests: 6ms
|
|
X-Ratelimit-Reset-Tokens: 0s
|
|
X-Request-Id: req_e5ac97d221f64110a30bff615a1fa43a
|
|
|
|
{
|
|
"id": "chatcmpl-C5uIF4tXMe07Up8XbnjisbGwyh9gF",
|
|
"object": "chat.completion",
|
|
"created": 1755524067,
|
|
"model": "gpt-3.5-turbo-0125",
|
|
"choices": [
|
|
{
|
|
"index": 0,
|
|
"message": {
|
|
"role": "assistant",
|
|
"content": "Leo",
|
|
"refusal": null,
|
|
"annotations": []
|
|
},
|
|
"logprobs": null,
|
|
"finish_reason": "stop"
|
|
}
|
|
],
|
|
"usage": {
|
|
"prompt_tokens": 118,
|
|
"completion_tokens": 1,
|
|
"total_tokens": 119,
|
|
"prompt_tokens_details": {
|
|
"cached_tokens": 0,
|
|
"audio_tokens": 0
|
|
},
|
|
"completion_tokens_details": {
|
|
"reasoning_tokens": 0,
|
|
"audio_tokens": 0,
|
|
"accepted_prediction_tokens": 0,
|
|
"rejected_prediction_tokens": 0
|
|
}
|
|
},
|
|
"service_tier": "default",
|
|
"system_fingerprint": null
|
|
}
|
|
1010 1565
|
|
POST https://api.openai.com/v1/chat/completions HTTP/1.1
|
|
Host: api.openai.com
|
|
User-Agent: langchaingo-httprr
|
|
Content-Length: 808
|
|
Authorization: Bearer test-api-key
|
|
Content-Type: application/json
|
|
|
|
{"model":"gpt-3.5-turbo","messages":[{"role":"user","content":"Use the following portion of a long document to see if any of the text is relevant to answer the question. \nReturn any relevant text verbatim.\nFreddie, with his emerald-green skin and mischievous grin, eagerly joined their quest. \"Ribbit! Oliver, my dear fellow, it seems that fate has brought us together. Allow me to lend my amphibious skills to our merry group. Together, we shall make quite the team!\"\n\nWith Oliver, Leo, and Freddie united, their bond grew stronger with each passing day. They shared laughter, sang songs, and told tales around the campfire. Oliver had finally found the true meaning of friendship, and his heart was filled with joy.\nQuestion: What is the name of the lion?\nRelevant text, if any:"}],"temperature":0}HTTP/2.0 200 OK
|
|
Content-Length: 796
|
|
Access-Control-Expose-Headers: X-Request-ID
|
|
Alt-Svc: h3=":443"; ma=86400
|
|
Cf-Cache-Status: DYNAMIC
|
|
Content-Type: application/json
|
|
Date: Mon, 18 Aug 2025 13:34:27 GMT
|
|
Openai-Organization: lcgo-tst
|
|
Openai-Processing-Ms: 237
|
|
Openai-Project: proj_qm9GQ7k7ESiwosypKZaDuaoq
|
|
Openai-Version: 2020-10-01
|
|
Server: cloudflare
|
|
Strict-Transport-Security: max-age=31536000; includeSubDomains; preload
|
|
X-Content-Type-Options: nosniff
|
|
X-Envoy-Upstream-Service-Time: 268
|
|
X-Ratelimit-Limit-Requests: 10000
|
|
X-Ratelimit-Limit-Tokens: 50000000
|
|
X-Ratelimit-Remaining-Requests: 9999
|
|
X-Ratelimit-Remaining-Tokens: 49999817
|
|
X-Ratelimit-Reset-Requests: 6ms
|
|
X-Ratelimit-Reset-Tokens: 0s
|
|
X-Request-Id: req_d5323c74c09046e1900246e6787beeeb
|
|
|
|
{
|
|
"id": "chatcmpl-C5uIFvVZqgVf0ZvhAXPlymsuJPWih",
|
|
"object": "chat.completion",
|
|
"created": 1755524067,
|
|
"model": "gpt-3.5-turbo-0125",
|
|
"choices": [
|
|
{
|
|
"index": 0,
|
|
"message": {
|
|
"role": "assistant",
|
|
"content": "Leo",
|
|
"refusal": null,
|
|
"annotations": []
|
|
},
|
|
"logprobs": null,
|
|
"finish_reason": "stop"
|
|
}
|
|
],
|
|
"usage": {
|
|
"prompt_tokens": 166,
|
|
"completion_tokens": 1,
|
|
"total_tokens": 167,
|
|
"prompt_tokens_details": {
|
|
"cached_tokens": 0,
|
|
"audio_tokens": 0
|
|
},
|
|
"completion_tokens_details": {
|
|
"reasoning_tokens": 0,
|
|
"audio_tokens": 0,
|
|
"accepted_prediction_tokens": 0,
|
|
"rejected_prediction_tokens": 0
|
|
}
|
|
},
|
|
"service_tier": "default",
|
|
"system_fingerprint": null
|
|
}
|
|
984 1565
|
|
POST https://api.openai.com/v1/chat/completions HTTP/1.1
|
|
Host: api.openai.com
|
|
User-Agent: langchaingo-httprr
|
|
Content-Length: 782
|
|
Authorization: Bearer test-api-key
|
|
Content-Type: application/json
|
|
|
|
{"model":"gpt-3.5-turbo","messages":[{"role":"user","content":"Use the following portion of a long document to see if any of the text is relevant to answer the question. \nReturn any relevant text verbatim.\nAnd so, the courageous trio battled the lava monster. Leo roared, drawing the monster's attention, while Freddie and Oliver scurried through the maze of fiery rocks, narrowly dodging molten lava. Finally, they discovered the creature's weak spot—a tiny gem embedded in its chest.\n\nWith their combined efforts, they struck the vulnerable spot, causing the monster to crumble and dissolve into a cascade of ash. The forest rejoiced, as the once-threatening presence was banished forever.\nQuestion: What is the name of the lion?\nRelevant text, if any:"}],"temperature":0}HTTP/2.0 200 OK
|
|
Content-Length: 796
|
|
Access-Control-Expose-Headers: X-Request-ID
|
|
Alt-Svc: h3=":443"; ma=86400
|
|
Cf-Cache-Status: DYNAMIC
|
|
Content-Type: application/json
|
|
Date: Mon, 18 Aug 2025 13:34:27 GMT
|
|
Openai-Organization: lcgo-tst
|
|
Openai-Processing-Ms: 145
|
|
Openai-Project: proj_qm9GQ7k7ESiwosypKZaDuaoq
|
|
Openai-Version: 2020-10-01
|
|
Server: cloudflare
|
|
Strict-Transport-Security: max-age=31536000; includeSubDomains; preload
|
|
X-Content-Type-Options: nosniff
|
|
X-Envoy-Upstream-Service-Time: 228
|
|
X-Ratelimit-Limit-Requests: 10000
|
|
X-Ratelimit-Limit-Tokens: 50000000
|
|
X-Ratelimit-Remaining-Requests: 9999
|
|
X-Ratelimit-Remaining-Tokens: 49999824
|
|
X-Ratelimit-Reset-Requests: 6ms
|
|
X-Ratelimit-Reset-Tokens: 0s
|
|
X-Request-Id: req_37c69ccf1a4044dba24cac24858de819
|
|
|
|
{
|
|
"id": "chatcmpl-C5uIFERcDL7Tub3mOTpFKpwlliw2G",
|
|
"object": "chat.completion",
|
|
"created": 1755524067,
|
|
"model": "gpt-3.5-turbo-0125",
|
|
"choices": [
|
|
{
|
|
"index": 0,
|
|
"message": {
|
|
"role": "assistant",
|
|
"content": "Leo",
|
|
"refusal": null,
|
|
"annotations": []
|
|
},
|
|
"logprobs": null,
|
|
"finish_reason": "stop"
|
|
}
|
|
],
|
|
"usage": {
|
|
"prompt_tokens": 153,
|
|
"completion_tokens": 1,
|
|
"total_tokens": 154,
|
|
"prompt_tokens_details": {
|
|
"cached_tokens": 0,
|
|
"audio_tokens": 0
|
|
},
|
|
"completion_tokens_details": {
|
|
"reasoning_tokens": 0,
|
|
"audio_tokens": 0,
|
|
"accepted_prediction_tokens": 0,
|
|
"rejected_prediction_tokens": 0
|
|
}
|
|
},
|
|
"service_tier": "default",
|
|
"system_fingerprint": null
|
|
}
|
|
974 1633
|
|
POST https://api.openai.com/v1/chat/completions HTTP/1.1
|
|
Host: api.openai.com
|
|
User-Agent: langchaingo-httprr
|
|
Content-Length: 772
|
|
Authorization: Bearer test-api-key
|
|
Content-Type: application/json
|
|
|
|
{"model":"gpt-3.5-turbo","messages":[{"role":"user","content":"Use the following portion of a long document to see if any of the text is relevant to answer the question. \nReturn any relevant text verbatim.\nBut their adventure was far from over. As they ventured deeper into the forest, they stumbled upon a towering volcano, spewing molten lava into the sky. From the fiery depths emerged a fearsome lava monster, its fiery eyes glaring with malevolence.\n\nOliver, Leo, and Freddie stood face to face with the menacing creature, their hearts pounding with a mixture of fear and determination. Oliver's quick wit came to the forefront, and he hatched a plan to defeat the lava monster.\nQuestion: What is the name of the lion?\nRelevant text, if any:"}],"temperature":0}HTTP/2.0 200 OK
|
|
Content-Length: 864
|
|
Access-Control-Expose-Headers: X-Request-ID
|
|
Alt-Svc: h3=":443"; ma=86400
|
|
Cf-Cache-Status: DYNAMIC
|
|
Content-Type: application/json
|
|
Date: Mon, 18 Aug 2025 13:34:27 GMT
|
|
Openai-Organization: lcgo-tst
|
|
Openai-Processing-Ms: 369
|
|
Openai-Project: proj_qm9GQ7k7ESiwosypKZaDuaoq
|
|
Openai-Version: 2020-10-01
|
|
Server: cloudflare
|
|
Strict-Transport-Security: max-age=31536000; includeSubDomains; preload
|
|
X-Content-Type-Options: nosniff
|
|
X-Envoy-Upstream-Service-Time: 394
|
|
X-Ratelimit-Limit-Requests: 10000
|
|
X-Ratelimit-Limit-Tokens: 50000000
|
|
X-Ratelimit-Remaining-Requests: 9999
|
|
X-Ratelimit-Remaining-Tokens: 49999827
|
|
X-Ratelimit-Reset-Requests: 6ms
|
|
X-Ratelimit-Reset-Tokens: 0s
|
|
X-Request-Id: req_f0b6f9554d084a79a8bf43aa74b97926
|
|
|
|
{
|
|
"id": "chatcmpl-C5uIFNggnH6LDuw2tOegWwOll98sj",
|
|
"object": "chat.completion",
|
|
"created": 1755524067,
|
|
"model": "gpt-3.5-turbo-0125",
|
|
"choices": [
|
|
{
|
|
"index": 0,
|
|
"message": {
|
|
"role": "assistant",
|
|
"content": "Oliver, Leo, and Freddie stood face to face with the menacing creature",
|
|
"refusal": null,
|
|
"annotations": []
|
|
},
|
|
"logprobs": null,
|
|
"finish_reason": "stop"
|
|
}
|
|
],
|
|
"usage": {
|
|
"prompt_tokens": 154,
|
|
"completion_tokens": 15,
|
|
"total_tokens": 169,
|
|
"prompt_tokens_details": {
|
|
"cached_tokens": 0,
|
|
"audio_tokens": 0
|
|
},
|
|
"completion_tokens_details": {
|
|
"reasoning_tokens": 0,
|
|
"audio_tokens": 0,
|
|
"accepted_prediction_tokens": 0,
|
|
"rejected_prediction_tokens": 0
|
|
}
|
|
},
|
|
"service_tier": "default",
|
|
"system_fingerprint": null
|
|
}
|
|
757 1568
|
|
POST https://api.openai.com/v1/chat/completions HTTP/1.1
|
|
Host: api.openai.com
|
|
User-Agent: langchaingo-httprr
|
|
Content-Length: 555
|
|
Authorization: Bearer test-api-key
|
|
Content-Type: application/json
|
|
|
|
{"model":"gpt-3.5-turbo","messages":[{"role":"user","content":"Use the following portion of a long document to see if any of the text is relevant to answer the question. \nReturn any relevant text verbatim.\nAs Oliver, Leo, and Freddie emerged victorious, the animals of the enchanted forest gathered to celebrate their bravery. The mouse who had set out on a journey to find new friends had not only discovered the true meaning of friendship but had also become a hero.\nQuestion: What is the name of the lion?\nRelevant text, if any:"}],"temperature":0}HTTP/2.0 200 OK
|
|
Content-Length: 799
|
|
Access-Control-Expose-Headers: X-Request-ID
|
|
Alt-Svc: h3=":443"; ma=86400
|
|
Cf-Cache-Status: DYNAMIC
|
|
Content-Type: application/json
|
|
Date: Mon, 18 Aug 2025 13:34:28 GMT
|
|
Openai-Organization: lcgo-tst
|
|
Openai-Processing-Ms: 150
|
|
Openai-Project: proj_qm9GQ7k7ESiwosypKZaDuaoq
|
|
Openai-Version: 2020-10-01
|
|
Server: cloudflare
|
|
Strict-Transport-Security: max-age=31536000; includeSubDomains; preload
|
|
X-Content-Type-Options: nosniff
|
|
X-Envoy-Upstream-Service-Time: 172
|
|
X-Ratelimit-Limit-Requests: 10000
|
|
X-Ratelimit-Limit-Tokens: 50000000
|
|
X-Ratelimit-Remaining-Requests: 9999
|
|
X-Ratelimit-Remaining-Tokens: 49999880
|
|
X-Ratelimit-Reset-Requests: 6ms
|
|
X-Ratelimit-Reset-Tokens: 0s
|
|
X-Request-Id: req_8ea087274bf84054ab12b4c4ee3cd147
|
|
|
|
{
|
|
"id": "chatcmpl-C5uIGbCBjvdxWDqLMN7X37LYDeR9r",
|
|
"object": "chat.completion",
|
|
"created": 1755524068,
|
|
"model": "gpt-3.5-turbo-0125",
|
|
"choices": [
|
|
{
|
|
"index": 0,
|
|
"message": {
|
|
"role": "assistant",
|
|
"content": "Oliver",
|
|
"refusal": null,
|
|
"annotations": []
|
|
},
|
|
"logprobs": null,
|
|
"finish_reason": "stop"
|
|
}
|
|
],
|
|
"usage": {
|
|
"prompt_tokens": 105,
|
|
"completion_tokens": 2,
|
|
"total_tokens": 107,
|
|
"prompt_tokens_details": {
|
|
"cached_tokens": 0,
|
|
"audio_tokens": 0
|
|
},
|
|
"completion_tokens_details": {
|
|
"reasoning_tokens": 0,
|
|
"audio_tokens": 0,
|
|
"accepted_prediction_tokens": 0,
|
|
"rejected_prediction_tokens": 0
|
|
}
|
|
},
|
|
"service_tier": "default",
|
|
"system_fingerprint": null
|
|
}
|
|
845 1565
|
|
POST https://api.openai.com/v1/chat/completions HTTP/1.1
|
|
Host: api.openai.com
|
|
User-Agent: langchaingo-httprr
|
|
Content-Length: 643
|
|
Authorization: Bearer test-api-key
|
|
Content-Type: application/json
|
|
|
|
{"model":"gpt-3.5-turbo","messages":[{"role":"user","content":"Use the following portion of a long document to see if any of the text is relevant to answer the question. \nReturn any relevant text verbatim.\nFrom that day forward, Oliver, Leo, and Freddie became inseparable companions, sharing their tales of triumph and inspiring others with their courage and kindness. Their adventures continued, and their friendships blossomed, reminding everyone in the enchanted forest that no matter how small or different you may be, true friendship knows no bounds.\nQuestion: What is the name of the lion?\nRelevant text, if any:"}],"temperature":0}HTTP/2.0 200 OK
|
|
Content-Length: 796
|
|
Access-Control-Expose-Headers: X-Request-ID
|
|
Alt-Svc: h3=":443"; ma=86400
|
|
Cf-Cache-Status: DYNAMIC
|
|
Content-Type: application/json
|
|
Date: Mon, 18 Aug 2025 13:34:28 GMT
|
|
Openai-Organization: lcgo-tst
|
|
Openai-Processing-Ms: 224
|
|
Openai-Project: proj_qm9GQ7k7ESiwosypKZaDuaoq
|
|
Openai-Version: 2020-10-01
|
|
Server: cloudflare
|
|
Strict-Transport-Security: max-age=31536000; includeSubDomains; preload
|
|
X-Content-Type-Options: nosniff
|
|
X-Envoy-Upstream-Service-Time: 276
|
|
X-Ratelimit-Limit-Requests: 10000
|
|
X-Ratelimit-Limit-Tokens: 50000000
|
|
X-Ratelimit-Remaining-Requests: 9999
|
|
X-Ratelimit-Remaining-Tokens: 49999859
|
|
X-Ratelimit-Reset-Requests: 6ms
|
|
X-Ratelimit-Reset-Tokens: 0s
|
|
X-Request-Id: req_a7ad1c89e6204726b24ab5db073991c5
|
|
|
|
{
|
|
"id": "chatcmpl-C5uIGm8khHQON3QiIQytT2KGTxJWs",
|
|
"object": "chat.completion",
|
|
"created": 1755524068,
|
|
"model": "gpt-3.5-turbo-0125",
|
|
"choices": [
|
|
{
|
|
"index": 0,
|
|
"message": {
|
|
"role": "assistant",
|
|
"content": "Leo",
|
|
"refusal": null,
|
|
"annotations": []
|
|
},
|
|
"logprobs": null,
|
|
"finish_reason": "stop"
|
|
}
|
|
],
|
|
"usage": {
|
|
"prompt_tokens": 117,
|
|
"completion_tokens": 1,
|
|
"total_tokens": 118,
|
|
"prompt_tokens_details": {
|
|
"cached_tokens": 0,
|
|
"audio_tokens": 0
|
|
},
|
|
"completion_tokens_details": {
|
|
"reasoning_tokens": 0,
|
|
"audio_tokens": 0,
|
|
"accepted_prediction_tokens": 0,
|
|
"rejected_prediction_tokens": 0
|
|
}
|
|
},
|
|
"service_tier": "default",
|
|
"system_fingerprint": null
|
|
}
|
|
693 1566
|
|
POST https://api.openai.com/v1/chat/completions HTTP/1.1
|
|
Host: api.openai.com
|
|
User-Agent: langchaingo-httprr
|
|
Content-Length: 491
|
|
Authorization: Bearer test-api-key
|
|
Content-Type: application/json
|
|
|
|
{"model":"gpt-3.5-turbo","messages":[{"role":"user","content":"Use the following portion of a long document to see if any of the text is relevant to answer the question. \nReturn any relevant text verbatim.\nAnd so, Oliver's story, filled with magic, friendship, and bravery, spread far and wide, becoming a timeless legend, whispered by generations of forest dwellers, enchanting both young and old alike.\nQuestion: What is the name of the lion?\nRelevant text, if any:"}],"temperature":0}HTTP/2.0 200 OK
|
|
Content-Length: 797
|
|
Access-Control-Expose-Headers: X-Request-ID
|
|
Alt-Svc: h3=":443"; ma=86400
|
|
Cf-Cache-Status: DYNAMIC
|
|
Content-Type: application/json
|
|
Date: Mon, 18 Aug 2025 13:34:28 GMT
|
|
Openai-Organization: lcgo-tst
|
|
Openai-Processing-Ms: 309
|
|
Openai-Project: proj_qm9GQ7k7ESiwosypKZaDuaoq
|
|
Openai-Version: 2020-10-01
|
|
Server: cloudflare
|
|
Strict-Transport-Security: max-age=31536000; includeSubDomains; preload
|
|
X-Content-Type-Options: nosniff
|
|
X-Envoy-Upstream-Service-Time: 396
|
|
X-Ratelimit-Limit-Requests: 10000
|
|
X-Ratelimit-Limit-Tokens: 50000000
|
|
X-Ratelimit-Remaining-Requests: 9999
|
|
X-Ratelimit-Remaining-Tokens: 49999897
|
|
X-Ratelimit-Reset-Requests: 6ms
|
|
X-Ratelimit-Reset-Tokens: 0s
|
|
X-Request-Id: req_e306ee89cd2448bb82ae85e5b6757347
|
|
|
|
{
|
|
"id": "chatcmpl-C5uIGi2Es22reL3xlW00Y92Lcc9Om",
|
|
"object": "chat.completion",
|
|
"created": 1755524068,
|
|
"model": "gpt-3.5-turbo-0125",
|
|
"choices": [
|
|
{
|
|
"index": 0,
|
|
"message": {
|
|
"role": "assistant",
|
|
"content": "Oliver",
|
|
"refusal": null,
|
|
"annotations": []
|
|
},
|
|
"logprobs": null,
|
|
"finish_reason": "stop"
|
|
}
|
|
],
|
|
"usage": {
|
|
"prompt_tokens": 96,
|
|
"completion_tokens": 2,
|
|
"total_tokens": 98,
|
|
"prompt_tokens_details": {
|
|
"cached_tokens": 0,
|
|
"audio_tokens": 0
|
|
},
|
|
"completion_tokens_details": {
|
|
"reasoning_tokens": 0,
|
|
"audio_tokens": 0,
|
|
"accepted_prediction_tokens": 0,
|
|
"rejected_prediction_tokens": 0
|
|
}
|
|
},
|
|
"service_tier": "default",
|
|
"system_fingerprint": null
|
|
}
|
|
853 1565
|
|
POST https://api.openai.com/v1/chat/completions HTTP/1.1
|
|
Host: api.openai.com
|
|
User-Agent: langchaingo-httprr
|
|
Content-Length: 651
|
|
Authorization: Bearer test-api-key
|
|
Content-Type: application/json
|
|
|
|
{"model":"gpt-3.5-turbo","messages":[{"role":"user","content":"Given the following extracted parts of a long document and a question, create a final answer. \nIf you don't know the answer, just say that you don't know. Don't try to make up an answer.\n\nQUESTION: What is the name of the lion?\n=========\nOliver\n\nOliver\n\nThere is no relevant text to answer the question about the name of the lion in the provided portion of the document.\n\nThe lion's name is Leo.\n\nLeo\n\nLeo\n\nLeo\n\nOliver, Leo, and Freddie stood face to face with the menacing creature\n\nLeo\n\nLeo\n\nOliver\n\nLeo\n\nOliver\n=========\nFINAL ANSWER:"}],"temperature":0}HTTP/2.0 200 OK
|
|
Content-Length: 796
|
|
Access-Control-Expose-Headers: X-Request-ID
|
|
Alt-Svc: h3=":443"; ma=86400
|
|
Cf-Cache-Status: DYNAMIC
|
|
Content-Type: application/json
|
|
Date: Mon, 18 Aug 2025 13:34:30 GMT
|
|
Openai-Organization: lcgo-tst
|
|
Openai-Processing-Ms: 231
|
|
Openai-Project: proj_qm9GQ7k7ESiwosypKZaDuaoq
|
|
Openai-Version: 2020-10-01
|
|
Server: cloudflare
|
|
Strict-Transport-Security: max-age=31536000; includeSubDomains; preload
|
|
X-Content-Type-Options: nosniff
|
|
X-Envoy-Upstream-Service-Time: 263
|
|
X-Ratelimit-Limit-Requests: 10000
|
|
X-Ratelimit-Limit-Tokens: 50000000
|
|
X-Ratelimit-Remaining-Requests: 9999
|
|
X-Ratelimit-Remaining-Tokens: 49999862
|
|
X-Ratelimit-Reset-Requests: 6ms
|
|
X-Ratelimit-Reset-Tokens: 0s
|
|
X-Request-Id: req_959a42f5dabe40ca8c2b704b09a5bfd7
|
|
|
|
{
|
|
"id": "chatcmpl-C5uIHNCwLk0jIp7t82b3jVGvi6sT3",
|
|
"object": "chat.completion",
|
|
"created": 1755524069,
|
|
"model": "gpt-3.5-turbo-0125",
|
|
"choices": [
|
|
{
|
|
"index": 0,
|
|
"message": {
|
|
"role": "assistant",
|
|
"content": "Leo",
|
|
"refusal": null,
|
|
"annotations": []
|
|
},
|
|
"logprobs": null,
|
|
"finish_reason": "stop"
|
|
}
|
|
],
|
|
"usage": {
|
|
"prompt_tokens": 137,
|
|
"completion_tokens": 1,
|
|
"total_tokens": 138,
|
|
"prompt_tokens_details": {
|
|
"cached_tokens": 0,
|
|
"audio_tokens": 0
|
|
},
|
|
"completion_tokens_details": {
|
|
"reasoning_tokens": 0,
|
|
"audio_tokens": 0,
|
|
"accepted_prediction_tokens": 0,
|
|
"rejected_prediction_tokens": 0
|
|
}
|
|
},
|
|
"service_tier": "default",
|
|
"system_fingerprint": null
|
|
}
|