Skip to content

Commit 30afbd5

Browse files
author
FalkWolsky
committed
Updating OpenAI v2.3 API Spec
1 parent 0a4314e commit 30afbd5

File tree

1 file changed

+15
-33
lines changed

1 file changed

+15
-33
lines changed

server/node-service/src/plugins/openAi/openAI_v2.3.0.json

Lines changed: 15 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -5689,8 +5689,7 @@
56895689
"description": "An alternative to sampling with temperature, called nucleus sampling, where the model considers the results of the tokens with top_p probability mass. So 0.1 means only the tokens comprising the top 10% probability mass are considered.\n\nWe generally recommend altering this or temperature but not both.\n"
56905690
},
56915691
"response_format": {
5692-
"$ref": "#/components/schemas/AssistantsApiResponseFormatOption",
5693-
"nullable": true
5692+
"$ref": "#/components/schemas/AssistantsApiResponseFormatOption"
56945693
}
56955694
},
56965695
"required": [
@@ -6282,11 +6281,9 @@
62826281
]
62836282
},
62846283
"session": {
6285-
"type": "object",
62866284
"$ref": "#/components/schemas/AuditLogActorSession"
62876285
},
62886286
"api_key": {
6289-
"type": "object",
62906287
"$ref": "#/components/schemas/AuditLogActorApiKey"
62916288
}
62926289
}
@@ -7778,8 +7775,7 @@
77787775
"description": "An alternative to sampling with temperature, called nucleus sampling, where the model considers the results of the tokens with top_p probability mass. So 0.1 means only the tokens comprising the top 10% probability mass are considered.\n\nWe generally recommend altering this or temperature but not both.\n"
77797776
},
77807777
"response_format": {
7781-
"$ref": "#/components/schemas/AssistantsApiResponseFormatOption",
7782-
"nullable": true
7778+
"$ref": "#/components/schemas/AssistantsApiResponseFormatOption"
77837779
}
77847780
},
77857781
"required": [
@@ -9981,19 +9977,16 @@
99819977
"minimum": 256
99829978
},
99839979
"truncation_strategy": {
9984-
"$ref": "#/components/schemas/TruncationObject",
9985-
"nullable": true
9980+
"$ref": "#/components/schemas/TruncationObject"
99869981
},
99879982
"tool_choice": {
9988-
"$ref": "#/components/schemas/AssistantsApiToolChoiceOption",
9989-
"nullable": true
9983+
"$ref": "#/components/schemas/AssistantsApiToolChoiceOption"
99909984
},
99919985
"parallel_tool_calls": {
99929986
"$ref": "#/components/schemas/ParallelToolCalls"
99939987
},
99949988
"response_format": {
9995-
"$ref": "#/components/schemas/AssistantsApiResponseFormatOption",
9996-
"nullable": true
9989+
"$ref": "#/components/schemas/AssistantsApiResponseFormatOption"
99979990
}
99989991
},
99999992
"required": [
@@ -10073,8 +10066,7 @@
1007310066
"type": "string"
1007410067
},
1007510068
"thread": {
10076-
"$ref": "#/components/schemas/CreateThreadRequest",
10077-
"description": "If no thread is provided, an empty thread will be created."
10069+
"$ref": "#/components/schemas/CreateThreadRequest"
1007810070
},
1007910071
"model": {
1008010072
"description": "The ID of the [Model](/docs/api-reference/models) to be used to execute this run. If a value is provided here, it will override the model associated with the assistant. If not, the model associated with the assistant will be used.",
@@ -10216,19 +10208,16 @@
1021610208
"minimum": 256
1021710209
},
1021810210
"truncation_strategy": {
10219-
"$ref": "#/components/schemas/TruncationObject",
10220-
"nullable": true
10211+
"$ref": "#/components/schemas/TruncationObject"
1022110212
},
1022210213
"tool_choice": {
10223-
"$ref": "#/components/schemas/AssistantsApiToolChoiceOption",
10224-
"nullable": true
10214+
"$ref": "#/components/schemas/AssistantsApiToolChoiceOption"
1022510215
},
1022610216
"parallel_tool_calls": {
1022710217
"$ref": "#/components/schemas/ParallelToolCalls"
1022810218
},
1022910219
"response_format": {
10230-
"$ref": "#/components/schemas/AssistantsApiResponseFormatOption",
10231-
"nullable": true
10220+
"$ref": "#/components/schemas/AssistantsApiResponseFormatOption"
1023210221
}
1023310222
},
1023410223
"required": [
@@ -13062,8 +13051,7 @@
1306213051
"description": "An alternative to sampling with temperature, called nucleus sampling, where the model considers the results of the tokens with top_p probability mass. So 0.1 means only the tokens comprising the top 10% probability mass are considered.\n\nWe generally recommend altering this or temperature but not both.\n"
1306313052
},
1306413053
"response_format": {
13065-
"$ref": "#/components/schemas/AssistantsApiResponseFormatOption",
13066-
"nullable": true
13054+
"$ref": "#/components/schemas/AssistantsApiResponseFormatOption"
1306713055
}
1306813056
}
1306913057
},
@@ -16152,19 +16140,16 @@
1615216140
"minimum": 256
1615316141
},
1615416142
"truncation_strategy": {
16155-
"$ref": "#/components/schemas/TruncationObject",
16156-
"nullable": true
16143+
"$ref": "#/components/schemas/TruncationObject"
1615716144
},
1615816145
"tool_choice": {
16159-
"$ref": "#/components/schemas/AssistantsApiToolChoiceOption",
16160-
"nullable": true
16146+
"$ref": "#/components/schemas/AssistantsApiToolChoiceOption"
1616116147
},
1616216148
"parallel_tool_calls": {
1616316149
"$ref": "#/components/schemas/ParallelToolCalls"
1616416150
},
1616516151
"response_format": {
16166-
"$ref": "#/components/schemas/AssistantsApiResponseFormatOption",
16167-
"nullable": true
16152+
"$ref": "#/components/schemas/AssistantsApiResponseFormatOption"
1616816153
}
1616916154
},
1617016155
"required": [
@@ -17725,8 +17710,7 @@
1772517710
"nullable": true
1772617711
},
1772717712
"expires_after": {
17728-
"$ref": "#/components/schemas/VectorStoreExpirationAfter",
17729-
"nullable": true
17713+
"$ref": "#/components/schemas/VectorStoreExpirationAfter"
1773017714
},
1773117715
"metadata": {
1773217716
"description": "Set of 16 key-value pairs that can be attached to an object. This can be useful for storing additional information about the object in a structured format. Keys can be a maximum of 64 characters long and values can be a maximum of 512 characters long.\n",
@@ -17783,9 +17767,7 @@
1778317767
]
1778417768
},
1778517769
"file": {
17786-
"$ref": "#/components/schemas/OpenAIFile",
17787-
"nullable": true,
17788-
"description": "The ready File object after the Upload is completed."
17770+
"$ref": "#/components/schemas/OpenAIFile"
1778917771
}
1779017772
},
1779117773
"required": [

0 commit comments

Comments
 (0)