feat(responses)!: Add web_search_2025_08_26 to the WebSearchToolTypes (#4103)

# What does this PR do?
Resolves #4102 

1. Added `web_search_2025_08_26` to the `WebSearchToolTypes` list and
the `OpenAIResponseInputToolWebSearch.type` Literal union
2. No changes needed to tool execution logic - all `web_search` types
map to the same underlying tool
3. Backward compatibility is maintained - existing `web_search`,
`web_search_preview`, and `web_search_preview_2025_03_11` types continue
to work
4. Added an integration test case using {"type":
"web_search_2025_08_26"} to verify it works correctly
5. Updated `docs/docs/providers/openai_responses_limitations.mdx` to
reflect that `web_search_2025_08_26` is now supported.
6. Removed incorrect references to `MOD1/MOD2/MOD3` (which don't exist
in the codebase)


<!-- If resolving an issue, uncomment and update the line below -->
<!-- Closes #[issue-number] -->

## Test Plan
<!-- Describe the tests you ran to verify your changes with result
summaries. *Provide clear instructions so the plan can be easily
re-executed.* -->

---------

Signed-off-by: Aakanksha Duggal <aduggal@redhat.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
This commit is contained in:
Aakanksha Duggal 2025-11-07 13:01:12 -05:00 committed by GitHub
parent f49cb0b717
commit b83184f7ef
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
312 changed files with 38381 additions and 20382 deletions

View file

@ -26,7 +26,7 @@
"finish_reason": "stop",
"index": 0,
"logprobs": null,
"text": "I can\u2019t help with this. Is there something else you need?"
"text": "Michael Jordan was born in the year of "
}
],
"created": 0,
@ -34,9 +34,9 @@
"object": "text_completion",
"system_fingerprint": "fp_ollama",
"usage": {
"completion_tokens": 15,
"completion_tokens": 11,
"prompt_tokens": 48,
"total_tokens": 63,
"total_tokens": 59,
"completion_tokens_details": null,
"prompt_tokens_details": null
}

View file

@ -62,7 +62,7 @@
"function_call": null,
"tool_calls": [
{
"id": "call_zoyyoizq",
"id": "call_c75aa0nl",
"function": {
"arguments": "{\"location\":\"San Francisco, CA\"}",
"name": "get_weather"

View file

@ -53,17 +53,27 @@
"id": "rec-12b4c92fd0d8",
"choices": [
{
"finish_reason": "stop",
"finish_reason": "tool_calls",
"index": 0,
"logprobs": null,
"message": {
"content": "{\"name\",\"process_data\",\"parameters\":{\"data\":{\"values\":[1,2,3,4,5]}}}\"",
"content": "",
"refusal": null,
"role": "assistant",
"annotations": null,
"audio": null,
"function_call": null,
"tool_calls": null
"tool_calls": [
{
"id": "call_z19o22kj",
"function": {
"arguments": "{\"data\":\"[1, 2, 3, 4, 5]\"}",
"name": "process_data"
},
"type": "function",
"index": 0
}
]
}
}
],
@ -73,9 +83,9 @@
"service_tier": null,
"system_fingerprint": "fp_ollama",
"usage": {
"completion_tokens": 25,
"completion_tokens": 30,
"prompt_tokens": 176,
"total_tokens": 201,
"total_tokens": 206,
"completion_tokens_details": null,
"prompt_tokens_details": null
}

View file

@ -80,27 +80,17 @@
"id": "rec-12ea4e4a2705",
"choices": [
{
"finish_reason": "tool_calls",
"finish_reason": "stop",
"index": 0,
"logprobs": null,
"message": {
"content": "",
"content": "{\"name\":\"complex\", \"parameters\": {\"data':[1, \"hello\", 3.14, true]\"}}",
"refusal": null,
"role": "assistant",
"annotations": null,
"audio": null,
"function_call": null,
"tool_calls": [
{
"id": "call_j48tlieh",
"function": {
"arguments": "{\"x\":\"1\"}",
"name": "simple"
},
"type": "function",
"index": 0
}
]
"tool_calls": null
}
}
],
@ -110,9 +100,9 @@
"service_tier": null,
"system_fingerprint": "fp_ollama",
"usage": {
"completion_tokens": 16,
"completion_tokens": 25,
"prompt_tokens": 246,
"total_tokens": 262,
"total_tokens": 271,
"completion_tokens_details": null,
"prompt_tokens_details": null
}

View file

@ -56,7 +56,7 @@
"function_call": null,
"tool_calls": [
{
"id": "call_rieoy1xi",
"id": "call_qlhx3lnz",
"function": {
"arguments": "{\"location\":\"Tokyo\"}",
"name": "get_weather"

View file

@ -45,110 +45,6 @@
"usage": null
}
},
{
"__type__": "openai.types.chat.chat_completion_chunk.ChatCompletionChunk",
"__data__": {
"id": "rec-36968c3ac66b",
"choices": [
{
"delta": {
"content": " Latin",
"function_call": null,
"refusal": null,
"role": "assistant",
"tool_calls": null
},
"finish_reason": null,
"index": 0,
"logprobs": null
}
],
"created": 0,
"model": "llama3.2:3b-instruct-fp16",
"object": "chat.completion.chunk",
"service_tier": null,
"system_fingerprint": "fp_ollama",
"usage": null
}
},
{
"__type__": "openai.types.chat.chat_completion_chunk.ChatCompletionChunk",
"__data__": {
"id": "rec-36968c3ac66b",
"choices": [
{
"delta": {
"content": " word",
"function_call": null,
"refusal": null,
"role": "assistant",
"tool_calls": null
},
"finish_reason": null,
"index": 0,
"logprobs": null
}
],
"created": 0,
"model": "llama3.2:3b-instruct-fp16",
"object": "chat.completion.chunk",
"service_tier": null,
"system_fingerprint": "fp_ollama",
"usage": null
}
},
{
"__type__": "openai.types.chat.chat_completion_chunk.ChatCompletionChunk",
"__data__": {
"id": "rec-36968c3ac66b",
"choices": [
{
"delta": {
"content": " for",
"function_call": null,
"refusal": null,
"role": "assistant",
"tool_calls": null
},
"finish_reason": null,
"index": 0,
"logprobs": null
}
],
"created": 0,
"model": "llama3.2:3b-instruct-fp16",
"object": "chat.completion.chunk",
"service_tier": null,
"system_fingerprint": "fp_ollama",
"usage": null
}
},
{
"__type__": "openai.types.chat.chat_completion_chunk.ChatCompletionChunk",
"__data__": {
"id": "rec-36968c3ac66b",
"choices": [
{
"delta": {
"content": " the",
"function_call": null,
"refusal": null,
"role": "assistant",
"tool_calls": null
},
"finish_reason": null,
"index": 0,
"logprobs": null
}
],
"created": 0,
"model": "llama3.2:3b-instruct-fp16",
"object": "chat.completion.chunk",
"service_tier": null,
"system_fingerprint": "fp_ollama",
"usage": null
}
},
{
"__type__": "openai.types.chat.chat_completion_chunk.ChatCompletionChunk",
"__data__": {
@ -201,6 +97,84 @@
"usage": null
}
},
{
"__type__": "openai.types.chat.chat_completion_chunk.ChatCompletionChunk",
"__data__": {
"id": "rec-36968c3ac66b",
"choices": [
{
"delta": {
"content": " referred",
"function_call": null,
"refusal": null,
"role": "assistant",
"tool_calls": null
},
"finish_reason": null,
"index": 0,
"logprobs": null
}
],
"created": 0,
"model": "llama3.2:3b-instruct-fp16",
"object": "chat.completion.chunk",
"service_tier": null,
"system_fingerprint": "fp_ollama",
"usage": null
}
},
{
"__type__": "openai.types.chat.chat_completion_chunk.ChatCompletionChunk",
"__data__": {
"id": "rec-36968c3ac66b",
"choices": [
{
"delta": {
"content": " to",
"function_call": null,
"refusal": null,
"role": "assistant",
"tool_calls": null
},
"finish_reason": null,
"index": 0,
"logprobs": null
}
],
"created": 0,
"model": "llama3.2:3b-instruct-fp16",
"object": "chat.completion.chunk",
"service_tier": null,
"system_fingerprint": "fp_ollama",
"usage": null
}
},
{
"__type__": "openai.types.chat.chat_completion_chunk.ChatCompletionChunk",
"__data__": {
"id": "rec-36968c3ac66b",
"choices": [
{
"delta": {
"content": " as",
"function_call": null,
"refusal": null,
"role": "assistant",
"tool_calls": null
},
"finish_reason": null,
"index": 0,
"logprobs": null
}
],
"created": 0,
"model": "llama3.2:3b-instruct-fp16",
"object": "chat.completion.chunk",
"service_tier": null,
"system_fingerprint": "fp_ollama",
"usage": null
}
},
{
"__type__": "openai.types.chat.chat_completion_chunk.ChatCompletionChunk",
"__data__": {
@ -227,6 +201,58 @@
"usage": null
}
},
{
"__type__": "openai.types.chat.chat_completion_chunk.ChatCompletionChunk",
"__data__": {
"id": "rec-36968c3ac66b",
"choices": [
{
"delta": {
"content": " in",
"function_call": null,
"refusal": null,
"role": "assistant",
"tool_calls": null
},
"finish_reason": null,
"index": 0,
"logprobs": null
}
],
"created": 0,
"model": "llama3.2:3b-instruct-fp16",
"object": "chat.completion.chunk",
"service_tier": null,
"system_fingerprint": "fp_ollama",
"usage": null
}
},
{
"__type__": "openai.types.chat.chat_completion_chunk.ChatCompletionChunk",
"__data__": {
"id": "rec-36968c3ac66b",
"choices": [
{
"delta": {
"content": " Latin",
"function_call": null,
"refusal": null,
"role": "assistant",
"tool_calls": null
},
"finish_reason": null,
"index": 0,
"logprobs": null
}
],
"created": 0,
"model": "llama3.2:3b-instruct-fp16",
"object": "chat.completion.chunk",
"service_tier": null,
"system_fingerprint": "fp_ollama",
"usage": null
}
},
{
"__type__": "openai.types.chat.chat_completion_chunk.ChatCompletionChunk",
"__data__": {

View file

@ -43,21 +43,11 @@
"choices": [
{
"delta": {
"content": "",
"content": "{\"name\":\"get_time\",\"parameters>{\"timezone\":\"UTC\"}}",
"function_call": null,
"refusal": null,
"role": "assistant",
"tool_calls": [
{
"index": 0,
"id": "call_qzymxmvz",
"function": {
"arguments": "{\"timezone\":\"UTC\"}",
"name": "get_time"
},
"type": "function"
}
]
"tool_calls": null
},
"finish_reason": null,
"index": 0,
@ -85,7 +75,7 @@
"role": "assistant",
"tool_calls": null
},
"finish_reason": "tool_calls",
"finish_reason": "stop",
"index": 0,
"logprobs": null
}

View file

@ -175,6 +175,58 @@
"usage": null
}
},
{
"__type__": "openai.types.chat.chat_completion_chunk.ChatCompletionChunk",
"__data__": {
"id": "rec-3d2d95c9e7f6",
"choices": [
{
"delta": {
"content": " of",
"function_call": null,
"refusal": null,
"role": "assistant",
"tool_calls": null
},
"finish_reason": null,
"index": 0,
"logprobs": null
}
],
"created": 0,
"model": "llama3.2:3b-instruct-fp16",
"object": "chat.completion.chunk",
"service_tier": null,
"system_fingerprint": "fp_ollama",
"usage": null
}
},
{
"__type__": "openai.types.chat.chat_completion_chunk.ChatCompletionChunk",
"__data__": {
"id": "rec-3d2d95c9e7f6",
"choices": [
{
"delta": {
"content": " America",
"function_call": null,
"refusal": null,
"role": "assistant",
"tool_calls": null
},
"finish_reason": null,
"index": 0,
"logprobs": null
}
],
"created": 0,
"model": "llama3.2:3b-instruct-fp16",
"object": "chat.completion.chunk",
"service_tier": null,
"system_fingerprint": "fp_ollama",
"usage": null
}
},
{
"__type__": "openai.types.chat.chat_completion_chunk.ChatCompletionChunk",
"__data__": {

View file

@ -130,7 +130,7 @@
"choices": [
{
"delta": {
"content": " \"",
"content": " the",
"function_call": null,
"refusal": null,
"role": "assistant",
@ -156,33 +156,7 @@
"choices": [
{
"delta": {
"content": "sun",
"function_call": null,
"refusal": null,
"role": "assistant",
"tool_calls": null
},
"finish_reason": null,
"index": 0,
"logprobs": null
}
],
"created": 0,
"model": "llama3.2:3b-instruct-fp16",
"object": "chat.completion.chunk",
"service_tier": null,
"system_fingerprint": "fp_ollama",
"usage": null
}
},
{
"__type__": "openai.types.chat.chat_completion_chunk.ChatCompletionChunk",
"__data__": {
"id": "rec-42ad86f93eda",
"choices": [
{
"delta": {
"content": "\"",
"content": " Sun",
"function_call": null,
"refusal": null,
"role": "assistant",
@ -234,7 +208,7 @@
"choices": [
{
"delta": {
"content": " Sol",
"content": " \"",
"function_call": null,
"refusal": null,
"role": "assistant",
@ -260,7 +234,33 @@
"choices": [
{
"delta": {
"content": ".",
"content": "Sol",
"function_call": null,
"refusal": null,
"role": "assistant",
"tool_calls": null
},
"finish_reason": null,
"index": 0,
"logprobs": null
}
],
"created": 0,
"model": "llama3.2:3b-instruct-fp16",
"object": "chat.completion.chunk",
"service_tier": null,
"system_fingerprint": "fp_ollama",
"usage": null
}
},
{
"__type__": "openai.types.chat.chat_completion_chunk.ChatCompletionChunk",
"__data__": {
"id": "rec-42ad86f93eda",
"choices": [
{
"delta": {
"content": ".\"",
"function_call": null,
"refusal": null,
"role": "assistant",

View file

@ -61,7 +61,7 @@
"index": 0,
"logprobs": null,
"message": {
"content": "{\"first_name\": \"Michael\", \"last_name\": \"Jordan\", \"year_of_birth\": 1963}\n\n ",
"content": "{ \"first_name\": \"Michael\", \"last_name\": \"Jordan\" , \"year_of_birth\": 1963}\n\n \t\t\t\t\t\t \t\t\t\t",
"refusal": null,
"role": "assistant",
"annotations": null,
@ -77,9 +77,9 @@
"service_tier": null,
"system_fingerprint": "fp_ollama",
"usage": {
"completion_tokens": 27,
"completion_tokens": 31,
"prompt_tokens": 73,
"total_tokens": 100,
"total_tokens": 104,
"completion_tokens_details": null,
"prompt_tokens_details": null
}

View file

@ -54,7 +54,7 @@
"function_call": null,
"tool_calls": [
{
"id": "call_r7gqihbc",
"id": "call_bz0jjaa7",
"function": {
"arguments": "{\"city\":\"Tokyo\"}",
"name": "get_weather"
@ -72,9 +72,9 @@
"service_tier": null,
"system_fingerprint": "fp_ollama",
"usage": {
"completion_tokens": 15,
"completion_tokens": 14,
"prompt_tokens": 177,
"total_tokens": 192,
"total_tokens": 191,
"completion_tokens_details": null,
"prompt_tokens_details": null
}

View file

@ -54,7 +54,7 @@
"function_call": null,
"tool_calls": [
{
"id": "call_g2dzmn39",
"id": "call_4yf859if",
"function": {
"arguments": "{\"city\":\"Tokyo\"}",
"name": "get_weather"
@ -72,9 +72,9 @@
"service_tier": null,
"system_fingerprint": "fp_ollama",
"usage": {
"completion_tokens": 18,
"completion_tokens": 14,
"prompt_tokens": 177,
"total_tokens": 195,
"total_tokens": 191,
"completion_tokens_details": null,
"prompt_tokens_details": null
}

View file

@ -51,7 +51,7 @@
"tool_calls": [
{
"index": 0,
"id": "call_squhnj1u",
"id": "call_kzri9mtm",
"function": {
"arguments": "{\"city\":\"Tokyo\"}",
"name": "get_weather"

View file

@ -62,7 +62,7 @@
"finish_reason": null,
"index": 0,
"logprobs": null,
"text": "This"
"text": "My"
}
],
"created": 0,
@ -91,6 +91,120 @@
"usage": null
}
},
{
"__type__": "openai.types.completion.Completion",
"__data__": {
"id": "rec-8567635651a5",
"choices": [
{
"finish_reason": null,
"index": 0,
"logprobs": null,
"text": " is"
}
],
"created": 0,
"model": "llama3.2:3b-instruct-fp16",
"object": "text_completion",
"system_fingerprint": "fp_ollama",
"usage": null
}
},
{
"__type__": "openai.types.completion.Completion",
"__data__": {
"id": "rec-8567635651a5",
"choices": [
{
"finish_reason": null,
"index": 0,
"logprobs": null,
"text": " \""
}
],
"created": 0,
"model": "llama3.2:3b-instruct-fp16",
"object": "text_completion",
"system_fingerprint": "fp_ollama",
"usage": null
}
},
{
"__type__": "openai.types.completion.Completion",
"__data__": {
"id": "rec-8567635651a5",
"choices": [
{
"finish_reason": null,
"index": 0,
"logprobs": null,
"text": "blue"
}
],
"created": 0,
"model": "llama3.2:3b-instruct-fp16",
"object": "text_completion",
"system_fingerprint": "fp_ollama",
"usage": null
}
},
{
"__type__": "openai.types.completion.Completion",
"__data__": {
"id": "rec-8567635651a5",
"choices": [
{
"finish_reason": null,
"index": 0,
"logprobs": null,
"text": "\""
}
],
"created": 0,
"model": "llama3.2:3b-instruct-fp16",
"object": "text_completion",
"system_fingerprint": "fp_ollama",
"usage": null
}
},
{
"__type__": "openai.types.completion.Completion",
"__data__": {
"id": "rec-8567635651a5",
"choices": [
{
"finish_reason": null,
"index": 0,
"logprobs": null,
"text": " because"
}
],
"created": 0,
"model": "llama3.2:3b-instruct-fp16",
"object": "text_completion",
"system_fingerprint": "fp_ollama",
"usage": null
}
},
{
"__type__": "openai.types.completion.Completion",
"__data__": {
"id": "rec-8567635651a5",
"choices": [
{
"finish_reason": null,
"index": 0,
"logprobs": null,
"text": " it"
}
],
"created": 0,
"model": "llama3.2:3b-instruct-fp16",
"object": "text_completion",
"system_fingerprint": "fp_ollama",
"usage": null
}
},
{
"__type__": "openai.types.completion.Completion",
"__data__": {
@ -119,7 +233,7 @@
"finish_reason": null,
"index": 0,
"logprobs": null,
"text": " the"
"text": " a"
}
],
"created": 0,
@ -138,7 +252,7 @@
"finish_reason": null,
"index": 0,
"logprobs": null,
"text": " traditional"
"text": " common"
}
],
"created": 0,
@ -157,7 +271,7 @@
"finish_reason": null,
"index": 0,
"logprobs": null,
"text": " English"
"text": " nursery"
}
],
"created": 0,
@ -195,7 +309,7 @@
"finish_reason": null,
"index": 0,
"logprobs": null,
"text": " that"
"text": ":"
}
],
"created": 0,
@ -214,140 +328,7 @@
"finish_reason": null,
"index": 0,
"logprobs": null,
"text": " has"
}
],
"created": 0,
"model": "llama3.2:3b-instruct-fp16",
"object": "text_completion",
"system_fingerprint": "fp_ollama",
"usage": null
}
},
{
"__type__": "openai.types.completion.Completion",
"__data__": {
"id": "rec-8567635651a5",
"choices": [
{
"finish_reason": null,
"index": 0,
"logprobs": null,
"text": " been"
}
],
"created": 0,
"model": "llama3.2:3b-instruct-fp16",
"object": "text_completion",
"system_fingerprint": "fp_ollama",
"usage": null
}
},
{
"__type__": "openai.types.completion.Completion",
"__data__": {
"id": "rec-8567635651a5",
"choices": [
{
"finish_reason": null,
"index": 0,
"logprobs": null,
"text": " passed"
}
],
"created": 0,
"model": "llama3.2:3b-instruct-fp16",
"object": "text_completion",
"system_fingerprint": "fp_ollama",
"usage": null
}
},
{
"__type__": "openai.types.completion.Completion",
"__data__": {
"id": "rec-8567635651a5",
"choices": [
{
"finish_reason": null,
"index": 0,
"logprobs": null,
"text": " down"
}
],
"created": 0,
"model": "llama3.2:3b-instruct-fp16",
"object": "text_completion",
"system_fingerprint": "fp_ollama",
"usage": null
}
},
{
"__type__": "openai.types.completion.Completion",
"__data__": {
"id": "rec-8567635651a5",
"choices": [
{
"finish_reason": null,
"index": 0,
"logprobs": null,
"text": " for"
}
],
"created": 0,
"model": "llama3.2:3b-instruct-fp16",
"object": "text_completion",
"system_fingerprint": "fp_ollama",
"usage": null
}
},
{
"__type__": "openai.types.completion.Completion",
"__data__": {
"id": "rec-8567635651a5",
"choices": [
{
"finish_reason": null,
"index": 0,
"logprobs": null,
"text": " generations"
}
],
"created": 0,
"model": "llama3.2:3b-instruct-fp16",
"object": "text_completion",
"system_fingerprint": "fp_ollama",
"usage": null
}
},
{
"__type__": "openai.types.completion.Completion",
"__data__": {
"id": "rec-8567635651a5",
"choices": [
{
"finish_reason": null,
"index": 0,
"logprobs": null,
"text": ":\n\n"
}
],
"created": 0,
"model": "llama3.2:3b-instruct-fp16",
"object": "text_completion",
"system_fingerprint": "fp_ollama",
"usage": null
}
},
{
"__type__": "openai.types.completion.Completion",
"__data__": {
"id": "rec-8567635651a5",
"choices": [
{
"finish_reason": null,
"index": 0,
"logprobs": null,
"text": "\""
"text": " \""
}
],
"created": 0,
@ -442,7 +423,7 @@
"finish_reason": null,
"index": 0,
"logprobs": null,
"text": ",\n"
"text": ","
}
],
"created": 0,
@ -461,7 +442,7 @@
"finish_reason": null,
"index": 0,
"logprobs": null,
"text": "V"
"text": " V"
}
],
"created": 0,
@ -556,7 +537,7 @@
"finish_reason": null,
"index": 0,
"logprobs": null,
"text": ",\n"
"text": "\"."
}
],
"created": 0,
@ -575,7 +556,26 @@
"finish_reason": null,
"index": 0,
"logprobs": null,
"text": "Sugar"
"text": " This"
}
],
"created": 0,
"model": "llama3.2:3b-instruct-fp16",
"object": "text_completion",
"system_fingerprint": "fp_ollama",
"usage": null
}
},
{
"__type__": "openai.types.completion.Completion",
"__data__": {
"id": "rec-8567635651a5",
"choices": [
{
"finish_reason": null,
"index": 0,
"logprobs": null,
"text": " rhyme"
}
],
"created": 0,
@ -613,7 +613,7 @@
"finish_reason": null,
"index": 0,
"logprobs": null,
"text": " sweet"
"text": " often"
}
],
"created": 0,
@ -632,254 +632,7 @@
"finish_reason": null,
"index": 0,
"logprobs": null,
"text": ",\n"
}
],
"created": 0,
"model": "llama3.2:3b-instruct-fp16",
"object": "text_completion",
"system_fingerprint": "fp_ollama",
"usage": null
}
},
{
"__type__": "openai.types.completion.Completion",
"__data__": {
"id": "rec-8567635651a5",
"choices": [
{
"finish_reason": null,
"index": 0,
"logprobs": null,
"text": "And"
}
],
"created": 0,
"model": "llama3.2:3b-instruct-fp16",
"object": "text_completion",
"system_fingerprint": "fp_ollama",
"usage": null
}
},
{
"__type__": "openai.types.completion.Completion",
"__data__": {
"id": "rec-8567635651a5",
"choices": [
{
"finish_reason": null,
"index": 0,
"logprobs": null,
"text": " so"
}
],
"created": 0,
"model": "llama3.2:3b-instruct-fp16",
"object": "text_completion",
"system_fingerprint": "fp_ollama",
"usage": null
}
},
{
"__type__": "openai.types.completion.Completion",
"__data__": {
"id": "rec-8567635651a5",
"choices": [
{
"finish_reason": null,
"index": 0,
"logprobs": null,
"text": " are"
}
],
"created": 0,
"model": "llama3.2:3b-instruct-fp16",
"object": "text_completion",
"system_fingerprint": "fp_ollama",
"usage": null
}
},
{
"__type__": "openai.types.completion.Completion",
"__data__": {
"id": "rec-8567635651a5",
"choices": [
{
"finish_reason": null,
"index": 0,
"logprobs": null,
"text": " you"
}
],
"created": 0,
"model": "llama3.2:3b-instruct-fp16",
"object": "text_completion",
"system_fingerprint": "fp_ollama",
"usage": null
}
},
{
"__type__": "openai.types.completion.Completion",
"__data__": {
"id": "rec-8567635651a5",
"choices": [
{
"finish_reason": null,
"index": 0,
"logprobs": null,
"text": ".\"\n\n"
}
],
"created": 0,
"model": "llama3.2:3b-instruct-fp16",
"object": "text_completion",
"system_fingerprint": "fp_ollama",
"usage": null
}
},
{
"__type__": "openai.types.completion.Completion",
"__data__": {
"id": "rec-8567635651a5",
"choices": [
{
"finish_reason": null,
"index": 0,
"logprobs": null,
"text": "The"
}
],
"created": 0,
"model": "llama3.2:3b-instruct-fp16",
"object": "text_completion",
"system_fingerprint": "fp_ollama",
"usage": null
}
},
{
"__type__": "openai.types.completion.Completion",
"__data__": {
"id": "rec-8567635651a5",
"choices": [
{
"finish_reason": null,
"index": 0,
"logprobs": null,
"text": " answer"
}
],
"created": 0,
"model": "llama3.2:3b-instruct-fp16",
"object": "text_completion",
"system_fingerprint": "fp_ollama",
"usage": null
}
},
{
"__type__": "openai.types.completion.Completion",
"__data__": {
"id": "rec-8567635651a5",
"choices": [
{
"finish_reason": null,
"index": 0,
"logprobs": null,
"text": " \""
}
],
"created": 0,
"model": "llama3.2:3b-instruct-fp16",
"object": "text_completion",
"system_fingerprint": "fp_ollama",
"usage": null
}
},
{
"__type__": "openai.types.completion.Completion",
"__data__": {
"id": "rec-8567635651a5",
"choices": [
{
"finish_reason": null,
"index": 0,
"logprobs": null,
"text": "blue"
}
],
"created": 0,
"model": "llama3.2:3b-instruct-fp16",
"object": "text_completion",
"system_fingerprint": "fp_ollama",
"usage": null
}
},
{
"__type__": "openai.types.completion.Completion",
"__data__": {
"id": "rec-8567635651a5",
"choices": [
{
"finish_reason": null,
"index": 0,
"logprobs": null,
"text": "\""
}
],
"created": 0,
"model": "llama3.2:3b-instruct-fp16",
"object": "text_completion",
"system_fingerprint": "fp_ollama",
"usage": null
}
},
{
"__type__": "openai.types.completion.Completion",
"__data__": {
"id": "rec-8567635651a5",
"choices": [
{
"finish_reason": null,
"index": 0,
"logprobs": null,
"text": " is"
}
],
"created": 0,
"model": "llama3.2:3b-instruct-fp16",
"object": "text_completion",
"system_fingerprint": "fp_ollama",
"usage": null
}
},
{
"__type__": "openai.types.completion.Completion",
"__data__": {
"id": "rec-8567635651a5",
"choices": [
{
"finish_reason": null,
"index": 0,
"logprobs": null,
"text": " a"
}
],
"created": 0,
"model": "llama3.2:3b-instruct-fp16",
"object": "text_completion",
"system_fingerprint": "fp_ollama",
"usage": null
}
},
{
"__type__": "openai.types.completion.Completion",
"__data__": {
"id": "rec-8567635651a5",
"choices": [
{
"finish_reason": null,
"index": 0,
"logprobs": null,
"text": " nod"
"text": " used"
}
],
"created": 0,
@ -917,7 +670,7 @@
"finish_reason": null,
"index": 0,
"logprobs": null,
"text": " the"
"text": " express"
}
],
"created": 0,
@ -936,7 +689,7 @@
"finish_reason": null,
"index": 0,
"logprobs": null,
"text": " classic"
"text": " admiration"
}
],
"created": 0,
@ -955,7 +708,254 @@
"finish_reason": null,
"index": 0,
"logprobs": null,
"text": " completion"
"text": " or"
}
],
"created": 0,
"model": "llama3.2:3b-instruct-fp16",
"object": "text_completion",
"system_fingerprint": "fp_ollama",
"usage": null
}
},
{
"__type__": "openai.types.completion.Completion",
"__data__": {
"id": "rec-8567635651a5",
"choices": [
{
"finish_reason": null,
"index": 0,
"logprobs": null,
"text": " love"
}
],
"created": 0,
"model": "llama3.2:3b-instruct-fp16",
"object": "text_completion",
"system_fingerprint": "fp_ollama",
"usage": null
}
},
{
"__type__": "openai.types.completion.Completion",
"__data__": {
"id": "rec-8567635651a5",
"choices": [
{
"finish_reason": null,
"index": 0,
"logprobs": null,
"text": " for"
}
],
"created": 0,
"model": "llama3.2:3b-instruct-fp16",
"object": "text_completion",
"system_fingerprint": "fp_ollama",
"usage": null
}
},
{
"__type__": "openai.types.completion.Completion",
"__data__": {
"id": "rec-8567635651a5",
"choices": [
{
"finish_reason": null,
"index": 0,
"logprobs": null,
"text": " someone"
}
],
"created": 0,
"model": "llama3.2:3b-instruct-fp16",
"object": "text_completion",
"system_fingerprint": "fp_ollama",
"usage": null
}
},
{
"__type__": "openai.types.completion.Completion",
"__data__": {
"id": "rec-8567635651a5",
"choices": [
{
"finish_reason": null,
"index": 0,
"logprobs": null,
"text": ","
}
],
"created": 0,
"model": "llama3.2:3b-instruct-fp16",
"object": "text_completion",
"system_fingerprint": "fp_ollama",
"usage": null
}
},
{
"__type__": "openai.types.completion.Completion",
"__data__": {
"id": "rec-8567635651a5",
"choices": [
{
"finish_reason": null,
"index": 0,
"logprobs": null,
"text": " and"
}
],
"created": 0,
"model": "llama3.2:3b-instruct-fp16",
"object": "text_completion",
"system_fingerprint": "fp_ollama",
"usage": null
}
},
{
"__type__": "openai.types.completion.Completion",
"__data__": {
"id": "rec-8567635651a5",
"choices": [
{
"finish_reason": null,
"index": 0,
"logprobs": null,
"text": " has"
}
],
"created": 0,
"model": "llama3.2:3b-instruct-fp16",
"object": "text_completion",
"system_fingerprint": "fp_ollama",
"usage": null
}
},
{
"__type__": "openai.types.completion.Completion",
"__data__": {
"id": "rec-8567635651a5",
"choices": [
{
"finish_reason": null,
"index": 0,
"logprobs": null,
"text": " become"
}
],
"created": 0,
"model": "llama3.2:3b-instruct-fp16",
"object": "text_completion",
"system_fingerprint": "fp_ollama",
"usage": null
}
},
{
"__type__": "openai.types.completion.Completion",
"__data__": {
"id": "rec-8567635651a5",
"choices": [
{
"finish_reason": null,
"index": 0,
"logprobs": null,
"text": " a"
}
],
"created": 0,
"model": "llama3.2:3b-instruct-fp16",
"object": "text_completion",
"system_fingerprint": "fp_ollama",
"usage": null
}
},
{
"__type__": "openai.types.completion.Completion",
"__data__": {
"id": "rec-8567635651a5",
"choices": [
{
"finish_reason": null,
"index": 0,
"logprobs": null,
"text": " well"
}
],
"created": 0,
"model": "llama3.2:3b-instruct-fp16",
"object": "text_completion",
"system_fingerprint": "fp_ollama",
"usage": null
}
},
{
"__type__": "openai.types.completion.Completion",
"__data__": {
"id": "rec-8567635651a5",
"choices": [
{
"finish_reason": null,
"index": 0,
"logprobs": null,
"text": "-known"
}
],
"created": 0,
"model": "llama3.2:3b-instruct-fp16",
"object": "text_completion",
"system_fingerprint": "fp_ollama",
"usage": null
}
},
{
"__type__": "openai.types.completion.Completion",
"__data__": {
"id": "rec-8567635651a5",
"choices": [
{
"finish_reason": null,
"index": 0,
"logprobs": null,
"text": " and"
}
],
"created": 0,
"model": "llama3.2:3b-instruct-fp16",
"object": "text_completion",
"system_fingerprint": "fp_ollama",
"usage": null
}
},
{
"__type__": "openai.types.completion.Completion",
"__data__": {
"id": "rec-8567635651a5",
"choices": [
{
"finish_reason": null,
"index": 0,
"logprobs": null,
"text": " iconic"
}
],
"created": 0,
"model": "llama3.2:3b-instruct-fp16",
"object": "text_completion",
"system_fingerprint": "fp_ollama",
"usage": null
}
},
{
"__type__": "openai.types.completion.Completion",
"__data__": {
"id": "rec-8567635651a5",
"choices": [
{
"finish_reason": null,
"index": 0,
"logprobs": null,
"text": " phrase"
}
],
"created": 0,

View file

@ -56,7 +56,7 @@
"function_call": null,
"tool_calls": [
{
"id": "call_krsvxkn4",
"id": "call_psji79pf",
"function": {
"arguments": "{\"location\":\"San Francisco\"}",
"name": "get_weather"

View file

@ -75,17 +75,27 @@
"id": "rec-95be86b56c9f",
"choices": [
{
"finish_reason": "stop",
"finish_reason": "tool_calls",
"index": 0,
"logprobs": null,
"message": {
"content": "{\"name\": \"book_flight\",\"parameters\": {\"date\": \"2023-01-01\", \"from\": \"SFO\", \"to\": \"JFK\", \"flight\": \"\", \"passenger\": '{\"age\": 30, \"name\": \"John Doe\"}'}}",
"content": "",
"refusal": null,
"role": "assistant",
"annotations": null,
"audio": null,
"function_call": null,
"tool_calls": null
"tool_calls": [
{
"id": "call_m5909pw6",
"function": {
"arguments": "{\"flight\":\"{\\\"date\\\": \\\"2024-01-01\\\", \\\"from\\\": \\\"SFO\\\", \\\"to\\\": \\\"JFK\\\"}\",\"passenger\":\"{\\\"age\\\": 30, \\\"name\\\": \\\"John Doe\\\"}\"}",
"name": "book_flight"
},
"type": "function",
"index": 0
}
]
}
}
],
@ -95,9 +105,9 @@
"service_tier": null,
"system_fingerprint": "fp_ollama",
"usage": {
"completion_tokens": 57,
"completion_tokens": 59,
"prompt_tokens": 227,
"total_tokens": 284,
"total_tokens": 286,
"completion_tokens_details": null,
"prompt_tokens_details": null
}

View file

@ -48,7 +48,7 @@
"function_call": null,
"tool_calls": [
{
"id": "call_g43itfw8",
"id": "call_y0mg2q7o",
"function": {
"arguments": "{}",
"name": "no_args_tool"
@ -66,9 +66,9 @@
"service_tier": null,
"system_fingerprint": "fp_ollama",
"usage": {
"completion_tokens": 13,
"completion_tokens": 14,
"prompt_tokens": 148,
"total_tokens": 161,
"total_tokens": 162,
"completion_tokens_details": null,
"prompt_tokens_details": null
}

View file

@ -28,7 +28,7 @@
"index": 0,
"logprobs": null,
"message": {
"content": "Humans do not live on any other planet besides Earth. Our home planet is where we live, breathe, and inhabit our daily lives. We have no established habitats or living arrangements on other planets in our solar system at this time. However, there are ongoing efforts to explore and potentially settle other planets, such as Mars, with the goal of expanding human presence beyond Earth.",
"content": "Humans live on Earth. It is the only known planet in the universe that supports life and has conditions suitable for human habitation.",
"refusal": null,
"role": "assistant",
"annotations": null,
@ -44,9 +44,9 @@
"service_tier": null,
"system_fingerprint": "fp_ollama",
"usage": {
"completion_tokens": 75,
"completion_tokens": 27,
"prompt_tokens": 32,
"total_tokens": 107,
"total_tokens": 59,
"completion_tokens_details": null,
"prompt_tokens_details": null
}

View file

@ -28,7 +28,7 @@
"index": 0,
"logprobs": null,
"message": {
"content": "Humans do not live on any of the planets in our solar system. However, we do inhabit a terrestrial paradise called Earth. It's the third planet from the Sun and has the right conditions to support human life: atmosphere, liquid water, and a stable climate. All the other planets in our solar system have extreme environments that are not suitable for human habitation.",
"content": "Humans live on Earth.",
"refusal": null,
"role": "assistant",
"annotations": null,
@ -44,9 +44,9 @@
"service_tier": null,
"system_fingerprint": "fp_ollama",
"usage": {
"completion_tokens": 74,
"completion_tokens": 6,
"prompt_tokens": 32,
"total_tokens": 106,
"total_tokens": 38,
"completion_tokens_details": null,
"prompt_tokens_details": null
}

View file

@ -28,7 +28,7 @@
"index": 0,
"logprobs": null,
"message": {
"content": "Saturn is the planet known for its magnificent ring system, making it the correct answer. The ring system of Saturn is composed of seven main gaps and numerous smaller ringlets, making it one of the most distinct features in our solar system.",
"content": "The Saturn is the planet in our solar system that has prominent, icy ring system.",
"refusal": null,
"role": "assistant",
"annotations": null,
@ -44,9 +44,9 @@
"service_tier": null,
"system_fingerprint": "fp_ollama",
"usage": {
"completion_tokens": 49,
"completion_tokens": 18,
"prompt_tokens": 39,
"total_tokens": 88,
"total_tokens": 57,
"completion_tokens_details": null,
"prompt_tokens_details": null
}

View file

@ -59,7 +59,7 @@
"tool_calls": [
{
"index": 0,
"id": "call_w99kkuk4",
"id": "call_lzagyd98",
"function": {
"arguments": "{\"location\":\"San Francisco, CA\"}",
"name": "get_weather"

View file

@ -32,7 +32,7 @@
"index": 0,
"logprobs": null,
"message": {
"content": "I'd be happy to provide you with the latest weather information for San Francisco, CA.\n\nCurrently, it's a beautiful day in San Francisco with mostly sunny skies and mild temperatures. The current temperature is around 58\u00b0F (14\u00b0C) making it a perfect day for outdoor activities.\n\nHowever, I must note that San Francisco is known for its unpredictable weather due to its coastal location and proximity to the Pacific Ocean. There's a possibility of scattered clouds and light drizzle later in the day, but overall, it should remain quite pleasant.\n\nHere are the current conditions:\n\n- Temperature: 58\u00b0F (14\u00b0C)\n- Humidity: 60%\n- Wind: Gusty NW winds at 10 mph\n- Precipitation chance: 20% (light drizzle late afternoon)\n\nPlease keep in mind that weather forecasts can change rapidly, and I recommend checking the latest updates for the most accurate information.",
"content": "As your weather assistant today, I've got the latest forecast for you.\n\nSan Francisco, California currently has a partially cloudy sky with a mix of sun and clouds. The temperature is mild, around 68 degrees Fahrenheit (20 degrees Celsius) with a gentle breeze blowing at about 5 miles per hour from the northwest.\n\nHowever, please note that San Francisco's weather is notoriously unpredictable due to its proximity to the Pacific Ocean, so conditions can change rapidly throughout the day.\n\nHere's what you might expect later today:\n\n* High pressure will prevail in the Bay Area, leading to mostly sunny skies with a few puffy clouds by mid-afternoon.\n* Overnight lows are expected to dip to around 55 degrees Fahrenheit (13 degrees Celsius), with a slight chance of scattered showers returning tomorrow morning.\n\nIf you're planning on visiting San Francisco or have outdoor plans today, I recommend checking the forecast again before heading out and packing accordingly!\n\nWould you like more detailed forecasts for specific times, days, or areas in San Francisco?",
"refusal": null,
"role": "assistant",
"annotations": null,
@ -48,9 +48,9 @@
"service_tier": null,
"system_fingerprint": "fp_ollama",
"usage": {
"completion_tokens": 184,
"completion_tokens": 204,
"prompt_tokens": 45,
"total_tokens": 229,
"total_tokens": 249,
"completion_tokens_details": null,
"prompt_tokens_details": null
}

View file

@ -28,7 +28,7 @@
"index": 0,
"logprobs": null,
"message": {
"content": "The planet with rings that starts with the letter \"S\" is Saturn.",
"content": "Saturn's rings are the most prominent ring system in our solar system.",
"refusal": null,
"role": "assistant",
"annotations": null,

View file

@ -51,7 +51,7 @@
"tool_calls": [
{
"index": 0,
"id": "call_pgmo85z0",
"id": "call_jjkbpjn3",
"function": {
"arguments": "{\"city\":\"Tokyo\"}",
"name": "get_weather"

View file

@ -22,7 +22,7 @@
"finish_reason": "stop",
"index": 0,
"logprobs": null,
"text": "Blue.\n\nMy answer is \"blue\" because it is a traditional completion of the phrase, creating a rhyming couplet with \"red\". This is based on a common English nursery rhyme and is often referenced or parodied in popular culture."
"text": "Blue.\n\nThe complete sentence would be \"Roses are red, violets are blue.\" This is a traditional English nursery rhyme that has been passed down for generations, often associated with romantic gestures and declarations of love. The rhyme's final line \"violets are blue\" has become a common expression to accompany sweet nothings or a declaration of affection."
}
],
"created": 0,
@ -30,9 +30,9 @@
"object": "text_completion",
"system_fingerprint": "fp_ollama",
"usage": {
"completion_tokens": 50,
"completion_tokens": 73,
"prompt_tokens": 50,
"total_tokens": 100,
"total_tokens": 123,
"completion_tokens_details": null,
"prompt_tokens_details": null
}