Skip to content

Commit 304a839

Browse files
updates
1 parent a0909a0 commit 304a839

File tree

1 file changed

+14
-5
lines changed

1 file changed

+14
-5
lines changed

openapi.yaml

Lines changed: 14 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4896,13 +4896,13 @@ paths:
48964896
main();
48974897
response: |
48984898
event: thread.run.created
4899-
data: {"id":"run_123","object":"thread.run","created_at":1710348075,"assistant_id":"asst_123","thread_id":"thread_123","status":"queued","started_at":null,"expires_at":1710348675,"cancelled_at":null,"failed_at":null,"completed_at":null,"required_action":null,"last_error":null,"model":"gpt-4-turbo","instructions":null,"tools":[],"metadata":{},"usage":null}
4899+
data: {"id":"run_123","object":"thread.run","created_at":1710348075,"assistant_id":"asst_123","thread_id":"thread_123","status":"queued","started_at":null,"expires_at":1710348675,"cancelled_at":null,"failed_at":null,"completed_at":null,"required_action":null,"last_error":null,"model":"gpt-4-turbo","instructions":null,"tools":[],"metadata":{},"temperature":1.0,"top_p":1.0,"max_completion_tokens":null,"max_prompt_tokens":null,"truncation_strategy":{"type":"auto","last_messages":null},"incomplete_details":null,"usage":null,"response_format":"auto","tool_choice":"auto"}}
49004900
49014901
event: thread.run.queued
4902-
data: {"id":"run_123","object":"thread.run","created_at":1710348075,"assistant_id":"asst_123","thread_id":"thread_123","status":"queued","started_at":null,"expires_at":1710348675,"cancelled_at":null,"failed_at":null,"completed_at":null,"required_action":null,"last_error":null,"model":"gpt-4-turbo","instructions":null,"tools":[],"metadata":{},"usage":null}
4902+
data: {"id":"run_123","object":"thread.run","created_at":1710348075,"assistant_id":"asst_123","thread_id":"thread_123","status":"queued","started_at":null,"expires_at":1710348675,"cancelled_at":null,"failed_at":null,"completed_at":null,"required_action":null,"last_error":null,"model":"gpt-4-turbo","instructions":null,"tools":[],"metadata":{},"temperature":1.0,"top_p":1.0,"max_completion_tokens":null,"max_prompt_tokens":null,"truncation_strategy":{"type":"auto","last_messages":null},"incomplete_details":null,"usage":null,"response_format":"auto","tool_choice":"auto"}}
49034903
49044904
event: thread.run.in_progress
4905-
data: {"id":"run_123","object":"thread.run","created_at":1710348075,"assistant_id":"asst_123","thread_id":"thread_123","status":"in_progress","started_at":1710348075,"expires_at":1710348675,"cancelled_at":null,"failed_at":null,"completed_at":null,"required_action":null,"last_error":null,"model":"gpt-4-turbo","instructions":null,"tools":[],"metadata":{},"usage":null}
4905+
data: {"id":"run_123","object":"thread.run","created_at":1710348075,"assistant_id":"asst_123","thread_id":"thread_123","status":"in_progress","started_at":1710348075,"expires_at":1710348675,"cancelled_at":null,"failed_at":null,"completed_at":null,"required_action":null,"last_error":null,"model":"gpt-4-turbo","instructions":null,"tools":[],"metadata":{},"temperature":1.0,"top_p":1.0,"max_completion_tokens":null,"max_prompt_tokens":null,"truncation_strategy":{"type":"auto","last_messages":null},"incomplete_details":null,"usage":null,"response_format":"auto","tool_choice":"auto"}}
49064906
49074907
event: thread.run.step.created
49084908
data: {"id":"step_001","object":"thread.run.step","created_at":1710348076,"run_id":"run_123","assistant_id":"asst_123","thread_id":"thread_123","type":"message_creation","status":"in_progress","cancelled_at":null,"completed_at":null,"expires_at":1710348675,"failed_at":null,"last_error":null,"step_details":{"type":"message_creation","message_creation":{"message_id":"msg_001"}},"usage":null}
@@ -4934,7 +4934,7 @@ paths:
49344934
data: {"id":"step_001","object":"thread.run.step","created_at":1710348076,"run_id":"run_123","assistant_id":"asst_123","thread_id":"thread_123","type":"message_creation","status":"completed","cancelled_at":null,"completed_at":1710348077,"expires_at":1710348675,"failed_at":null,"last_error":null,"step_details":{"type":"message_creation","message_creation":{"message_id":"msg_001"}},"usage":{"prompt_tokens":20,"completion_tokens":11,"total_tokens":31}}
49354935
49364936
event: thread.run.completed
4937-
data: {"id":"run_123","object":"thread.run","created_at":1710348075,"assistant_id":"asst_123","thread_id":"thread_123","status":"completed","started_at":1710348075,"expires_at":null,"cancelled_at":null,"failed_at":null,"completed_at":1710348077,"required_action":null,"last_error":null,"model":"gpt-4-turbo","instructions":null,"tools":[],"metadata":{},"usage":{"prompt_tokens":20,"completion_tokens":11,"total_tokens":31}}
4937+
data: {"id":"run_123","object":"thread.run","created_at":1710348075,"assistant_id":"asst_123","thread_id":"thread_123","status":"completed","started_at":1710348075,"expires_at":null,"cancelled_at":null,"failed_at":null,"completed_at":1710348077,"required_action":null,"last_error":null,"model":"gpt-4-turbo","instructions":null,"tools":[],"metadata":{},"temperature":1.0,"top_p":1.0,"max_completion_tokens":null,"max_prompt_tokens":null,"truncation_strategy":{"type":"auto","last_messages":null},"incomplete_details":null,"usage":{"prompt_tokens":20,"completion_tokens":11,"total_tokens":31},"response_format":"auto","tool_choice":"auto"}}
49384938
49394939
event: done
49404940
data: [DONE]
@@ -5420,7 +5420,7 @@ paths:
54205420
data: {"id":"step_002","object":"thread.run.step","created_at":1710352476,"run_id":"run_123","assistant_id":"asst_123","thread_id":"thread_123","type":"message_creation","status":"completed","cancelled_at":null,"completed_at":1710352477,"expires_at":1710353047,"failed_at":null,"last_error":null,"step_details":{"type":"message_creation","message_creation":{"message_id":"msg_002"}},"usage":{"prompt_tokens":329,"completion_tokens":18,"total_tokens":347}}
54215421
54225422
event: thread.run.completed
5423-
data: {"id":"run_123","object":"thread.run","created_at":1710352447,"assistant_id":"asst_123","thread_id":"thread_123","status":"completed","started_at":1710352475,"expires_at":null,"cancelled_at":null,"failed_at":null,"completed_at":1710352477,"required_action":null,"last_error":null,"model":"gpt-4-turbo","instructions":null,"tools":[{"type":"function","function":{"name":"get_current_weather","description":"Get the current weather in a given location","parameters":{"type":"object","properties":{"location":{"type":"string","description":"The city and state, e.g. San Francisco, CA"},"unit":{"type":"string","enum":["celsius","fahrenheit"]}},"required":["location"]}}}],"metadata":{},"usage":{"prompt_tokens":620,"completion_tokens":42,"total_tokens":662}}
5423+
data: {"id":"run_123","object":"thread.run","created_at":1710352447,"assistant_id":"asst_123","thread_id":"thread_123","status":"completed","started_at":1710352475,"expires_at":null,"cancelled_at":null,"failed_at":null,"completed_at":1710352477,"required_action":null,"last_error":null,"model":"gpt-4-turbo","instructions":null,"tools":[{"type":"function","function":{"name":"get_current_weather","description":"Get the current weather in a given location","parameters":{"type":"object","properties":{"location":{"type":"string","description":"The city and state, e.g. San Francisco, CA"},"unit":{"type":"string","enum":["celsius","fahrenheit"]}},"required":["location"]}}}],"metadata":{},"temperature":1.0,"top_p":1.0,"max_completion_tokens":null,"max_prompt_tokens":null,"truncation_strategy":{"type":"auto","last_messages":null},"incomplete_details":null,"usage":{"prompt_tokens":20,"completion_tokens":11,"total_tokens":31},"response_format":"auto","tool_choice":"auto"}}
54245424
54255425
event: done
54265426
data: [DONE]
@@ -5788,6 +5788,7 @@ paths:
57885788
curl https://api.openai.com/v1/vector_stores \
57895789
-H "Authorization: Bearer $OPENAI_API_KEY" \
57905790
-H "Content-Type: application/json" \
5791+
-H "OpenAI-Beta: assistants=v2"
57915792
python: |
57925793
from openai import OpenAI
57935794
client = OpenAI()
@@ -5870,6 +5871,7 @@ paths:
58705871
curl https://api.openai.com/v1/vector_stores \
58715872
-H "Authorization: Bearer $OPENAI_API_KEY" \
58725873
-H "Content-Type: application/json" \
5874+
-H "OpenAI-Beta: assistants=v2"
58735875
-d '{
58745876
"name": "Support FAQ"
58755877
}'
@@ -5940,6 +5942,7 @@ paths:
59405942
curl https://api.openai.com/v1/vector_stores/vs_abc123 \
59415943
-H "Authorization: Bearer $OPENAI_API_KEY" \
59425944
-H "Content-Type: application/json" \
5945+
-H "OpenAI-Beta: assistants=v2"
59435946
python: |
59445947
from openai import OpenAI
59455948
client = OpenAI()
@@ -6002,6 +6005,7 @@ paths:
60026005
curl https://api.openai.com/v1/vector_stores/vs_abc123 \
60036006
-H "Authorization: Bearer $OPENAI_API_KEY" \
60046007
-H "Content-Type: application/json" \
6008+
-H "OpenAI-Beta: assistants=v2"
60056009
-d '{
60066010
"name": "Support FAQ"
60076011
}'
@@ -6075,6 +6079,7 @@ paths:
60756079
curl https://api.openai.com/v1/vector_stores/vs_abc123 \
60766080
-H "Authorization: Bearer $OPENAI_API_KEY" \
60776081
-H "Content-Type: application/json" \
6082+
-H "OpenAI-Beta: assistants=v2" \
60786083
-X DELETE
60796084
python: |
60806085
from openai import OpenAI
@@ -6164,6 +6169,7 @@ paths:
61646169
curl https://api.openai.com/v1/vector_stores/vs_abc123/files \
61656170
-H "Authorization: Bearer $OPENAI_API_KEY" \
61666171
-H "Content-Type: application/json" \
6172+
-H "OpenAI-Beta: assistants=v2"
61676173
python: |
61686174
from openai import OpenAI
61696175
client = OpenAI()
@@ -6318,6 +6324,7 @@ paths:
63186324
curl https://api.openai.com/v1/vector_stores/vs_abc123/files/file-abc123 \
63196325
-H "Authorization: Bearer $OPENAI_API_KEY" \
63206326
-H "Content-Type: application/json" \
6327+
-H "OpenAI-Beta: assistants=v2"
63216328
python: |
63226329
from openai import OpenAI
63236330
client = OpenAI()
@@ -6536,6 +6543,7 @@ paths:
65366543
curl https://api.openai.com/v1/vector_stores/vs_abc123/files_batches/vsfb_abc123 \
65376544
-H "Authorization: Bearer $OPENAI_API_KEY" \
65386545
-H "Content-Type: application/json" \
6546+
-H "OpenAI-Beta: assistants=v2"
65396547
python: |
65406548
from openai import OpenAI
65416549
client = OpenAI()
@@ -6710,6 +6718,7 @@ paths:
67106718
curl https://api.openai.com/v1/vector_stores/vs_abc123/files_batches/vsfb_abc123/files \
67116719
-H "Authorization: Bearer $OPENAI_API_KEY" \
67126720
-H "Content-Type: application/json" \
6721+
-H "OpenAI-Beta: assistants=v2"
67136722
python: |
67146723
from openai import OpenAI
67156724
client = OpenAI()

0 commit comments

Comments
 (0)