Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -160,5 +160,6 @@ model UpdateCodeInterpreterToolResourceOptions {
model UpdateFileSearchToolResourceOptions {
/** A list of vector store IDs to override the current list of the assistant. */
@maxItems(1)
@encodedName("application/json", "vector_store_ids")
Comment thread
mssfang marked this conversation as resolved.
vectorStoreIds?: string[];
}
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@ op createVectorStoreFile(

/** A File ID that the vector store should use. Useful for tools like `file_search` that can access files. */
@encodedName("application/json", "file_id")
@body
fileId: string,
): VectorStoreFile;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1941,14 +1941,22 @@
"type": "string"
},
{
"name": "file_id",
"name": "body",
"in": "body",
"description": "A File ID that the vector store should use. Useful for tools like `file_search` that can access files.",
"required": true,
"schema": {
"type": "string"
},
"x-ms-client-name": "fileId"
"type": "object",
"properties": {
"file_id": {
"type": "string",
"description": "A File ID that the vector store should use. Useful for tools like `file_search` that can access files.",
"x-ms-client-name": "fileId"
}
},
"required": [
"file_id"
]
}
}
],
"responses": {
Expand Down Expand Up @@ -4590,13 +4598,14 @@
"type": "object",
"description": "Request object to update `file_search` tool resources.",
"properties": {
"vectorStoreIds": {
"vector_store_ids": {
"type": "array",
"description": "A list of vector store IDs to override the current list of the assistant.",
"maxItems": 1,
"items": {
"type": "string"
}
},
"x-ms-client-name": "vectorStoreIds"
}
}
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1228,12 +1228,17 @@ paths:
schema:
$ref: '#/components/schemas/VectorStoreFile'
requestBody:
description: A File ID that the vector store should use. Useful for tools like `file_search` that can access files.
required: true
content:
application/json:
schema:
type: string
type: object
properties:
file_id:
type: string
description: A File ID that the vector store should use. Useful for tools like `file_search` that can access files.
required:
- file_id
/vector_stores/{vectorStoreId}/files/{fileId}:
get:
operationId: getVectorStoreFile
Expand Down Expand Up @@ -3844,7 +3849,7 @@ components:
UpdateFileSearchToolResourceOptions:
type: object
properties:
vectorStoreIds:
vector_store_ids:
type: array
items:
type: string
Expand Down