@meetkai/mka1 0.54.76 → 0.54.79
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bin/mcp-server.js +122 -30
- package/bin/mcp-server.js.map +41 -41
- package/dist/commonjs/funcs/llmFilesDelete.d.ts +1 -1
- package/dist/commonjs/funcs/llmFilesDelete.js +1 -1
- package/dist/commonjs/funcs/llmVectorStoresCancelFileBatch.d.ts +1 -1
- package/dist/commonjs/funcs/llmVectorStoresCancelFileBatch.js +1 -1
- package/dist/commonjs/funcs/llmVectorStoresCreateFile.d.ts +1 -1
- package/dist/commonjs/funcs/llmVectorStoresCreateFile.js +1 -1
- package/dist/commonjs/funcs/llmVectorStoresCreateFileBatch.d.ts +1 -1
- package/dist/commonjs/funcs/llmVectorStoresCreateFileBatch.js +1 -1
- package/dist/commonjs/funcs/llmVectorStoresDeleteFile.d.ts +1 -1
- package/dist/commonjs/funcs/llmVectorStoresDeleteFile.js +1 -1
- package/dist/commonjs/funcs/llmVectorStoresGet.d.ts +1 -1
- package/dist/commonjs/funcs/llmVectorStoresGet.js +1 -1
- package/dist/commonjs/funcs/llmVectorStoresGetFile.d.ts +1 -1
- package/dist/commonjs/funcs/llmVectorStoresGetFile.js +1 -1
- package/dist/commonjs/funcs/llmVectorStoresGetFileBatch.d.ts +1 -1
- package/dist/commonjs/funcs/llmVectorStoresGetFileBatch.js +1 -1
- package/dist/commonjs/funcs/llmVectorStoresGetFileContent.d.ts +1 -1
- package/dist/commonjs/funcs/llmVectorStoresGetFileContent.js +1 -1
- package/dist/commonjs/funcs/llmVectorStoresListFiles.d.ts +1 -1
- package/dist/commonjs/funcs/llmVectorStoresListFiles.js +1 -1
- package/dist/commonjs/funcs/llmVectorStoresListFilesInBatch.d.ts +1 -1
- package/dist/commonjs/funcs/llmVectorStoresListFilesInBatch.js +1 -1
- package/dist/commonjs/funcs/llmVectorStoresSearch.d.ts +1 -1
- package/dist/commonjs/funcs/llmVectorStoresSearch.js +1 -1
- package/dist/commonjs/funcs/llmVectorStoresUpdate.d.ts +1 -1
- package/dist/commonjs/funcs/llmVectorStoresUpdate.js +1 -1
- package/dist/commonjs/funcs/llmVectorStoresUpdateFile.d.ts +1 -1
- package/dist/commonjs/funcs/llmVectorStoresUpdateFile.js +1 -1
- package/dist/commonjs/lib/config.d.ts +3 -3
- package/dist/commonjs/lib/config.js +3 -3
- package/dist/commonjs/mcp-server/mcp-server.js +1 -1
- package/dist/commonjs/mcp-server/server.js +1 -1
- package/dist/commonjs/mcp-server/tools/llmFilesDelete.js +1 -1
- package/dist/commonjs/mcp-server/tools/llmFilesDelete.js.map +1 -1
- package/dist/commonjs/mcp-server/tools/llmVectorStoresCancelFileBatch.js +1 -1
- package/dist/commonjs/mcp-server/tools/llmVectorStoresCancelFileBatch.js.map +1 -1
- package/dist/commonjs/mcp-server/tools/llmVectorStoresCreateFile.js +1 -1
- package/dist/commonjs/mcp-server/tools/llmVectorStoresCreateFile.js.map +1 -1
- package/dist/commonjs/mcp-server/tools/llmVectorStoresCreateFileBatch.js +1 -1
- package/dist/commonjs/mcp-server/tools/llmVectorStoresCreateFileBatch.js.map +1 -1
- package/dist/commonjs/mcp-server/tools/llmVectorStoresDeleteFile.js +1 -1
- package/dist/commonjs/mcp-server/tools/llmVectorStoresDeleteFile.js.map +1 -1
- package/dist/commonjs/mcp-server/tools/llmVectorStoresGet.js +1 -1
- package/dist/commonjs/mcp-server/tools/llmVectorStoresGet.js.map +1 -1
- package/dist/commonjs/mcp-server/tools/llmVectorStoresGetFile.js +1 -1
- package/dist/commonjs/mcp-server/tools/llmVectorStoresGetFile.js.map +1 -1
- package/dist/commonjs/mcp-server/tools/llmVectorStoresGetFileBatch.js +1 -1
- package/dist/commonjs/mcp-server/tools/llmVectorStoresGetFileBatch.js.map +1 -1
- package/dist/commonjs/mcp-server/tools/llmVectorStoresGetFileContent.js +1 -1
- package/dist/commonjs/mcp-server/tools/llmVectorStoresGetFileContent.js.map +1 -1
- package/dist/commonjs/mcp-server/tools/llmVectorStoresListFiles.js +1 -1
- package/dist/commonjs/mcp-server/tools/llmVectorStoresListFiles.js.map +1 -1
- package/dist/commonjs/mcp-server/tools/llmVectorStoresListFilesInBatch.js +1 -1
- package/dist/commonjs/mcp-server/tools/llmVectorStoresListFilesInBatch.js.map +1 -1
- package/dist/commonjs/mcp-server/tools/llmVectorStoresSearch.js +1 -1
- package/dist/commonjs/mcp-server/tools/llmVectorStoresSearch.js.map +1 -1
- package/dist/commonjs/mcp-server/tools/llmVectorStoresUpdate.js +1 -1
- package/dist/commonjs/mcp-server/tools/llmVectorStoresUpdate.js.map +1 -1
- package/dist/commonjs/mcp-server/tools/llmVectorStoresUpdateFile.js +1 -1
- package/dist/commonjs/mcp-server/tools/llmVectorStoresUpdateFile.js.map +1 -1
- package/dist/commonjs/models/components/createvectorstorerequest.d.ts +1 -1
- package/dist/commonjs/models/components/filesearchtooldefinition.d.ts +3 -0
- package/dist/commonjs/models/components/filesearchtooldefinition.d.ts.map +1 -1
- package/dist/commonjs/models/components/filesearchtooldefinition.js.map +1 -1
- package/dist/commonjs/models/components/modifyvectorstorerequest.d.ts +1 -1
- package/dist/commonjs/models/components/openaichatcompletionrequestparams.d.ts +1 -1
- package/dist/commonjs/models/components/responseobject.d.ts +3 -0
- package/dist/commonjs/models/components/responseobject.d.ts.map +1 -1
- package/dist/commonjs/models/components/responseobject.js.map +1 -1
- package/dist/commonjs/models/components/vectorstore.d.ts +3 -3
- package/dist/commonjs/models/operations/getmodel.d.ts +93 -0
- package/dist/commonjs/models/operations/getmodel.d.ts.map +1 -1
- package/dist/commonjs/models/operations/getmodel.js +77 -1
- package/dist/commonjs/models/operations/getmodel.js.map +1 -1
- package/dist/commonjs/models/operations/listmodels.d.ts +93 -0
- package/dist/commonjs/models/operations/listmodels.d.ts.map +1 -1
- package/dist/commonjs/models/operations/listmodels.js +77 -1
- package/dist/commonjs/models/operations/listmodels.js.map +1 -1
- package/dist/commonjs/react-query/llmFilesDelete.d.ts +1 -1
- package/dist/commonjs/react-query/llmFilesDelete.js +1 -1
- package/dist/commonjs/react-query/llmVectorStoresCancelFileBatch.d.ts +1 -1
- package/dist/commonjs/react-query/llmVectorStoresCancelFileBatch.js +1 -1
- package/dist/commonjs/react-query/llmVectorStoresCreateFile.d.ts +1 -1
- package/dist/commonjs/react-query/llmVectorStoresCreateFile.js +1 -1
- package/dist/commonjs/react-query/llmVectorStoresCreateFileBatch.d.ts +1 -1
- package/dist/commonjs/react-query/llmVectorStoresCreateFileBatch.js +1 -1
- package/dist/commonjs/react-query/llmVectorStoresDeleteFile.d.ts +1 -1
- package/dist/commonjs/react-query/llmVectorStoresDeleteFile.js +1 -1
- package/dist/commonjs/react-query/llmVectorStoresGet.d.ts +2 -2
- package/dist/commonjs/react-query/llmVectorStoresGet.js +2 -2
- package/dist/commonjs/react-query/llmVectorStoresGetFile.d.ts +2 -2
- package/dist/commonjs/react-query/llmVectorStoresGetFile.js +2 -2
- package/dist/commonjs/react-query/llmVectorStoresGetFileBatch.d.ts +2 -2
- package/dist/commonjs/react-query/llmVectorStoresGetFileBatch.js +2 -2
- package/dist/commonjs/react-query/llmVectorStoresGetFileContent.d.ts +2 -2
- package/dist/commonjs/react-query/llmVectorStoresGetFileContent.js +2 -2
- package/dist/commonjs/react-query/llmVectorStoresListFiles.d.ts +2 -2
- package/dist/commonjs/react-query/llmVectorStoresListFiles.js +2 -2
- package/dist/commonjs/react-query/llmVectorStoresListFilesInBatch.d.ts +2 -2
- package/dist/commonjs/react-query/llmVectorStoresListFilesInBatch.js +2 -2
- package/dist/commonjs/react-query/llmVectorStoresSearch.d.ts +1 -1
- package/dist/commonjs/react-query/llmVectorStoresSearch.js +1 -1
- package/dist/commonjs/react-query/llmVectorStoresUpdate.d.ts +1 -1
- package/dist/commonjs/react-query/llmVectorStoresUpdate.js +1 -1
- package/dist/commonjs/react-query/llmVectorStoresUpdateFile.d.ts +1 -1
- package/dist/commonjs/react-query/llmVectorStoresUpdateFile.js +1 -1
- package/dist/commonjs/sdk/files.d.ts +1 -1
- package/dist/commonjs/sdk/files.js +1 -1
- package/dist/commonjs/sdk/vectorstores.d.ts +13 -13
- package/dist/commonjs/sdk/vectorstores.js +13 -13
- package/dist/esm/funcs/llmFilesDelete.d.ts +1 -1
- package/dist/esm/funcs/llmFilesDelete.js +1 -1
- package/dist/esm/funcs/llmVectorStoresCancelFileBatch.d.ts +1 -1
- package/dist/esm/funcs/llmVectorStoresCancelFileBatch.js +1 -1
- package/dist/esm/funcs/llmVectorStoresCreateFile.d.ts +1 -1
- package/dist/esm/funcs/llmVectorStoresCreateFile.js +1 -1
- package/dist/esm/funcs/llmVectorStoresCreateFileBatch.d.ts +1 -1
- package/dist/esm/funcs/llmVectorStoresCreateFileBatch.js +1 -1
- package/dist/esm/funcs/llmVectorStoresDeleteFile.d.ts +1 -1
- package/dist/esm/funcs/llmVectorStoresDeleteFile.js +1 -1
- package/dist/esm/funcs/llmVectorStoresGet.d.ts +1 -1
- package/dist/esm/funcs/llmVectorStoresGet.js +1 -1
- package/dist/esm/funcs/llmVectorStoresGetFile.d.ts +1 -1
- package/dist/esm/funcs/llmVectorStoresGetFile.js +1 -1
- package/dist/esm/funcs/llmVectorStoresGetFileBatch.d.ts +1 -1
- package/dist/esm/funcs/llmVectorStoresGetFileBatch.js +1 -1
- package/dist/esm/funcs/llmVectorStoresGetFileContent.d.ts +1 -1
- package/dist/esm/funcs/llmVectorStoresGetFileContent.js +1 -1
- package/dist/esm/funcs/llmVectorStoresListFiles.d.ts +1 -1
- package/dist/esm/funcs/llmVectorStoresListFiles.js +1 -1
- package/dist/esm/funcs/llmVectorStoresListFilesInBatch.d.ts +1 -1
- package/dist/esm/funcs/llmVectorStoresListFilesInBatch.js +1 -1
- package/dist/esm/funcs/llmVectorStoresSearch.d.ts +1 -1
- package/dist/esm/funcs/llmVectorStoresSearch.js +1 -1
- package/dist/esm/funcs/llmVectorStoresUpdate.d.ts +1 -1
- package/dist/esm/funcs/llmVectorStoresUpdate.js +1 -1
- package/dist/esm/funcs/llmVectorStoresUpdateFile.d.ts +1 -1
- package/dist/esm/funcs/llmVectorStoresUpdateFile.js +1 -1
- package/dist/esm/lib/config.d.ts +3 -3
- package/dist/esm/lib/config.js +3 -3
- package/dist/esm/mcp-server/mcp-server.js +1 -1
- package/dist/esm/mcp-server/server.js +1 -1
- package/dist/esm/mcp-server/tools/llmFilesDelete.js +1 -1
- package/dist/esm/mcp-server/tools/llmFilesDelete.js.map +1 -1
- package/dist/esm/mcp-server/tools/llmVectorStoresCancelFileBatch.js +1 -1
- package/dist/esm/mcp-server/tools/llmVectorStoresCancelFileBatch.js.map +1 -1
- package/dist/esm/mcp-server/tools/llmVectorStoresCreateFile.js +1 -1
- package/dist/esm/mcp-server/tools/llmVectorStoresCreateFile.js.map +1 -1
- package/dist/esm/mcp-server/tools/llmVectorStoresCreateFileBatch.js +1 -1
- package/dist/esm/mcp-server/tools/llmVectorStoresCreateFileBatch.js.map +1 -1
- package/dist/esm/mcp-server/tools/llmVectorStoresDeleteFile.js +1 -1
- package/dist/esm/mcp-server/tools/llmVectorStoresDeleteFile.js.map +1 -1
- package/dist/esm/mcp-server/tools/llmVectorStoresGet.js +1 -1
- package/dist/esm/mcp-server/tools/llmVectorStoresGet.js.map +1 -1
- package/dist/esm/mcp-server/tools/llmVectorStoresGetFile.js +1 -1
- package/dist/esm/mcp-server/tools/llmVectorStoresGetFile.js.map +1 -1
- package/dist/esm/mcp-server/tools/llmVectorStoresGetFileBatch.js +1 -1
- package/dist/esm/mcp-server/tools/llmVectorStoresGetFileBatch.js.map +1 -1
- package/dist/esm/mcp-server/tools/llmVectorStoresGetFileContent.js +1 -1
- package/dist/esm/mcp-server/tools/llmVectorStoresGetFileContent.js.map +1 -1
- package/dist/esm/mcp-server/tools/llmVectorStoresListFiles.js +1 -1
- package/dist/esm/mcp-server/tools/llmVectorStoresListFiles.js.map +1 -1
- package/dist/esm/mcp-server/tools/llmVectorStoresListFilesInBatch.js +1 -1
- package/dist/esm/mcp-server/tools/llmVectorStoresListFilesInBatch.js.map +1 -1
- package/dist/esm/mcp-server/tools/llmVectorStoresSearch.js +1 -1
- package/dist/esm/mcp-server/tools/llmVectorStoresSearch.js.map +1 -1
- package/dist/esm/mcp-server/tools/llmVectorStoresUpdate.js +1 -1
- package/dist/esm/mcp-server/tools/llmVectorStoresUpdate.js.map +1 -1
- package/dist/esm/mcp-server/tools/llmVectorStoresUpdateFile.js +1 -1
- package/dist/esm/mcp-server/tools/llmVectorStoresUpdateFile.js.map +1 -1
- package/dist/esm/models/components/createvectorstorerequest.d.ts +1 -1
- package/dist/esm/models/components/filesearchtooldefinition.d.ts +3 -0
- package/dist/esm/models/components/filesearchtooldefinition.d.ts.map +1 -1
- package/dist/esm/models/components/filesearchtooldefinition.js.map +1 -1
- package/dist/esm/models/components/modifyvectorstorerequest.d.ts +1 -1
- package/dist/esm/models/components/openaichatcompletionrequestparams.d.ts +1 -1
- package/dist/esm/models/components/responseobject.d.ts +3 -0
- package/dist/esm/models/components/responseobject.d.ts.map +1 -1
- package/dist/esm/models/components/responseobject.js.map +1 -1
- package/dist/esm/models/components/vectorstore.d.ts +3 -3
- package/dist/esm/models/operations/getmodel.d.ts +93 -0
- package/dist/esm/models/operations/getmodel.d.ts.map +1 -1
- package/dist/esm/models/operations/getmodel.js +70 -0
- package/dist/esm/models/operations/getmodel.js.map +1 -1
- package/dist/esm/models/operations/listmodels.d.ts +93 -0
- package/dist/esm/models/operations/listmodels.d.ts.map +1 -1
- package/dist/esm/models/operations/listmodels.js +70 -0
- package/dist/esm/models/operations/listmodels.js.map +1 -1
- package/dist/esm/react-query/llmFilesDelete.d.ts +1 -1
- package/dist/esm/react-query/llmFilesDelete.js +1 -1
- package/dist/esm/react-query/llmVectorStoresCancelFileBatch.d.ts +1 -1
- package/dist/esm/react-query/llmVectorStoresCancelFileBatch.js +1 -1
- package/dist/esm/react-query/llmVectorStoresCreateFile.d.ts +1 -1
- package/dist/esm/react-query/llmVectorStoresCreateFile.js +1 -1
- package/dist/esm/react-query/llmVectorStoresCreateFileBatch.d.ts +1 -1
- package/dist/esm/react-query/llmVectorStoresCreateFileBatch.js +1 -1
- package/dist/esm/react-query/llmVectorStoresDeleteFile.d.ts +1 -1
- package/dist/esm/react-query/llmVectorStoresDeleteFile.js +1 -1
- package/dist/esm/react-query/llmVectorStoresGet.d.ts +2 -2
- package/dist/esm/react-query/llmVectorStoresGet.js +2 -2
- package/dist/esm/react-query/llmVectorStoresGetFile.d.ts +2 -2
- package/dist/esm/react-query/llmVectorStoresGetFile.js +2 -2
- package/dist/esm/react-query/llmVectorStoresGetFileBatch.d.ts +2 -2
- package/dist/esm/react-query/llmVectorStoresGetFileBatch.js +2 -2
- package/dist/esm/react-query/llmVectorStoresGetFileContent.d.ts +2 -2
- package/dist/esm/react-query/llmVectorStoresGetFileContent.js +2 -2
- package/dist/esm/react-query/llmVectorStoresListFiles.d.ts +2 -2
- package/dist/esm/react-query/llmVectorStoresListFiles.js +2 -2
- package/dist/esm/react-query/llmVectorStoresListFilesInBatch.d.ts +2 -2
- package/dist/esm/react-query/llmVectorStoresListFilesInBatch.js +2 -2
- package/dist/esm/react-query/llmVectorStoresSearch.d.ts +1 -1
- package/dist/esm/react-query/llmVectorStoresSearch.js +1 -1
- package/dist/esm/react-query/llmVectorStoresUpdate.d.ts +1 -1
- package/dist/esm/react-query/llmVectorStoresUpdate.js +1 -1
- package/dist/esm/react-query/llmVectorStoresUpdateFile.d.ts +1 -1
- package/dist/esm/react-query/llmVectorStoresUpdateFile.js +1 -1
- package/dist/esm/sdk/files.d.ts +1 -1
- package/dist/esm/sdk/files.js +1 -1
- package/dist/esm/sdk/vectorstores.d.ts +13 -13
- package/dist/esm/sdk/vectorstores.js +13 -13
- package/jsr.json +1 -1
- package/package.json +1 -1
- package/src/funcs/llmFilesDelete.ts +1 -1
- package/src/funcs/llmVectorStoresCancelFileBatch.ts +1 -1
- package/src/funcs/llmVectorStoresCreateFile.ts +1 -1
- package/src/funcs/llmVectorStoresCreateFileBatch.ts +1 -1
- package/src/funcs/llmVectorStoresDeleteFile.ts +1 -1
- package/src/funcs/llmVectorStoresGet.ts +1 -1
- package/src/funcs/llmVectorStoresGetFile.ts +1 -1
- package/src/funcs/llmVectorStoresGetFileBatch.ts +1 -1
- package/src/funcs/llmVectorStoresGetFileContent.ts +1 -1
- package/src/funcs/llmVectorStoresListFiles.ts +1 -1
- package/src/funcs/llmVectorStoresListFilesInBatch.ts +1 -1
- package/src/funcs/llmVectorStoresSearch.ts +1 -1
- package/src/funcs/llmVectorStoresUpdate.ts +1 -1
- package/src/funcs/llmVectorStoresUpdateFile.ts +1 -1
- package/src/lib/config.ts +3 -3
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +1 -1
- package/src/mcp-server/tools/llmFilesDelete.ts +1 -1
- package/src/mcp-server/tools/llmVectorStoresCancelFileBatch.ts +1 -1
- package/src/mcp-server/tools/llmVectorStoresCreateFile.ts +1 -1
- package/src/mcp-server/tools/llmVectorStoresCreateFileBatch.ts +1 -1
- package/src/mcp-server/tools/llmVectorStoresDeleteFile.ts +1 -1
- package/src/mcp-server/tools/llmVectorStoresGet.ts +1 -1
- package/src/mcp-server/tools/llmVectorStoresGetFile.ts +1 -1
- package/src/mcp-server/tools/llmVectorStoresGetFileBatch.ts +1 -1
- package/src/mcp-server/tools/llmVectorStoresGetFileContent.ts +1 -1
- package/src/mcp-server/tools/llmVectorStoresListFiles.ts +1 -1
- package/src/mcp-server/tools/llmVectorStoresListFilesInBatch.ts +1 -1
- package/src/mcp-server/tools/llmVectorStoresSearch.ts +1 -1
- package/src/mcp-server/tools/llmVectorStoresUpdate.ts +1 -1
- package/src/mcp-server/tools/llmVectorStoresUpdateFile.ts +1 -1
- package/src/models/components/createvectorstorerequest.ts +1 -1
- package/src/models/components/filesearchtooldefinition.ts +3 -0
- package/src/models/components/modifyvectorstorerequest.ts +1 -1
- package/src/models/components/openaichatcompletionrequestparams.ts +1 -1
- package/src/models/components/responseobject.ts +3 -0
- package/src/models/components/vectorstore.ts +3 -3
- package/src/models/operations/getmodel.ts +223 -0
- package/src/models/operations/listmodels.ts +229 -0
- package/src/react-query/llmFilesDelete.ts +1 -1
- package/src/react-query/llmVectorStoresCancelFileBatch.ts +1 -1
- package/src/react-query/llmVectorStoresCreateFile.ts +1 -1
- package/src/react-query/llmVectorStoresCreateFileBatch.ts +1 -1
- package/src/react-query/llmVectorStoresDeleteFile.ts +1 -1
- package/src/react-query/llmVectorStoresGet.ts +2 -2
- package/src/react-query/llmVectorStoresGetFile.ts +2 -2
- package/src/react-query/llmVectorStoresGetFileBatch.ts +2 -2
- package/src/react-query/llmVectorStoresGetFileContent.ts +2 -2
- package/src/react-query/llmVectorStoresListFiles.ts +2 -2
- package/src/react-query/llmVectorStoresListFilesInBatch.ts +2 -2
- package/src/react-query/llmVectorStoresSearch.ts +1 -1
- package/src/react-query/llmVectorStoresUpdate.ts +1 -1
- package/src/react-query/llmVectorStoresUpdateFile.ts +1 -1
- package/src/sdk/files.ts +1 -1
- package/src/sdk/vectorstores.ts +13 -13
|
@@ -20,14 +20,14 @@ export declare class VectorStores extends ClientSDK {
|
|
|
20
20
|
* Retrieve a vector store
|
|
21
21
|
*
|
|
22
22
|
* @remarks
|
|
23
|
-
* Retrieves a vector store by its ID.
|
|
23
|
+
* Retrieves a vector store by its ID. Returns 410 once the vector store has expired.
|
|
24
24
|
*/
|
|
25
25
|
get(request: operations.GetVectorStoreRequest, options?: RequestOptions): Promise<components.VectorStore>;
|
|
26
26
|
/**
|
|
27
27
|
* Modify a vector store
|
|
28
28
|
*
|
|
29
29
|
* @remarks
|
|
30
|
-
* Updates the properties of an existing vector store.
|
|
30
|
+
* Updates the properties of an existing vector store. Returns 410 once the vector store has expired.
|
|
31
31
|
*/
|
|
32
32
|
update(request: operations.ModifyVectorStoreRequest, options?: RequestOptions): Promise<components.VectorStore>;
|
|
33
33
|
/**
|
|
@@ -41,77 +41,77 @@ export declare class VectorStores extends ClientSDK {
|
|
|
41
41
|
* Search a vector store
|
|
42
42
|
*
|
|
43
43
|
* @remarks
|
|
44
|
-
* Performs semantic search within a vector store to find the most relevant document chunks for a query.
|
|
44
|
+
* Performs semantic search within a vector store to find the most relevant document chunks for a query. Returns 410 once the vector store has expired.
|
|
45
45
|
*/
|
|
46
46
|
search(request: operations.SearchVectorStoreRequest, options?: RequestOptions): Promise<components.VectorStoreSearchResults>;
|
|
47
47
|
/**
|
|
48
48
|
* Add a file to a vector store
|
|
49
49
|
*
|
|
50
50
|
* @remarks
|
|
51
|
-
* Adds a file to a vector store for semantic search indexing.
|
|
51
|
+
* Adds a file to a vector store for semantic search indexing. Returns 410 once the vector store has expired.
|
|
52
52
|
*/
|
|
53
53
|
createFile(request: operations.CreateVectorStoreFileRequest, options?: RequestOptions): Promise<components.VectorStoreFile>;
|
|
54
54
|
/**
|
|
55
55
|
* List files in a vector store
|
|
56
56
|
*
|
|
57
57
|
* @remarks
|
|
58
|
-
* Retrieves a paginated list of all files in a specific vector store.
|
|
58
|
+
* Retrieves a paginated list of all files in a specific vector store. Returns 410 once the vector store has expired.
|
|
59
59
|
*/
|
|
60
60
|
listFiles(request: operations.ListVectorStoreFilesRequest, options?: RequestOptions): Promise<components.VectorStoreFileList>;
|
|
61
61
|
/**
|
|
62
62
|
* Retrieve a vector store file
|
|
63
63
|
*
|
|
64
64
|
* @remarks
|
|
65
|
-
* Retrieves detailed information about a specific file within a vector store.
|
|
65
|
+
* Retrieves detailed information about a specific file within a vector store. Returns 410 once the vector store has expired.
|
|
66
66
|
*/
|
|
67
67
|
getFile(request: operations.GetVectorStoreFileRequest, options?: RequestOptions): Promise<components.VectorStoreFile>;
|
|
68
68
|
/**
|
|
69
69
|
* Update file attributes
|
|
70
70
|
*
|
|
71
71
|
* @remarks
|
|
72
|
-
* Updates the metadata attributes attached to a file within a vector store.
|
|
72
|
+
* Updates the metadata attributes attached to a file within a vector store. Returns 410 once the vector store has expired.
|
|
73
73
|
*/
|
|
74
74
|
updateFile(request: operations.UpdateVectorStoreFileAttributesRequest, options?: RequestOptions): Promise<components.VectorStoreFile>;
|
|
75
75
|
/**
|
|
76
76
|
* Remove file from vector store
|
|
77
77
|
*
|
|
78
78
|
* @remarks
|
|
79
|
-
* Removes a file from a vector store and deletes its associated embeddings.
|
|
79
|
+
* Removes a file from a vector store and deletes its associated embeddings. If the file is no longer attached but the vector store still holds embeddings for it (for example, left behind by an earlier file deletion), those embeddings are deleted and the request succeeds, provided the file was deleted or you can read it; otherwise, and when there is nothing to remove, returns 404. Returns 409 if the file keeps being added back to the vector store while it is being removed; retrying completes the removal. Returns 410 once the vector store has expired.
|
|
80
80
|
*/
|
|
81
81
|
deleteFile(request: operations.DeleteVectorStoreFileRequest, options?: RequestOptions): Promise<components.VectorStoreFileDeletionStatus>;
|
|
82
82
|
/**
|
|
83
83
|
* Retrieve parsed file content
|
|
84
84
|
*
|
|
85
85
|
* @remarks
|
|
86
|
-
* Retrieves the complete parsed contents of a file within a vector store.
|
|
86
|
+
* Retrieves the complete parsed contents of a file within a vector store. Returns 410 once the vector store has expired.
|
|
87
87
|
*/
|
|
88
88
|
getFileContent(request: operations.GetVectorStoreFileContentRequest, options?: RequestOptions): Promise<components.VectorStoreFileContent>;
|
|
89
89
|
/**
|
|
90
90
|
* Batch add multiple files to vector store
|
|
91
91
|
*
|
|
92
92
|
* @remarks
|
|
93
|
-
* Adds multiple files to a vector store in a single batch operation.
|
|
93
|
+
* Adds multiple files to a vector store in a single batch operation. Returns 410 once the vector store has expired.
|
|
94
94
|
*/
|
|
95
95
|
createFileBatch(request: operations.CreateVectorStoreFileBatchRequest, options?: RequestOptions): Promise<components.VectorStoreFileBatch>;
|
|
96
96
|
/**
|
|
97
97
|
* Retrieve file batch status
|
|
98
98
|
*
|
|
99
99
|
* @remarks
|
|
100
|
-
* Retrieves the status of a specific file batch operation within a vector store.
|
|
100
|
+
* Retrieves the status of a specific file batch operation within a vector store. Returns 410 once the vector store has expired.
|
|
101
101
|
*/
|
|
102
102
|
getFileBatch(request: operations.GetVectorStoreFileBatchRequest, options?: RequestOptions): Promise<components.VectorStoreFileBatch>;
|
|
103
103
|
/**
|
|
104
104
|
* Cancel batch file processing
|
|
105
105
|
*
|
|
106
106
|
* @remarks
|
|
107
|
-
* Cancels an in-progress file batch operation.
|
|
107
|
+
* Cancels an in-progress file batch operation. Returns 410 once the vector store has expired.
|
|
108
108
|
*/
|
|
109
109
|
cancelFileBatch(request: operations.CancelVectorStoreFileBatchRequest, options?: RequestOptions): Promise<components.VectorStoreFileBatch>;
|
|
110
110
|
/**
|
|
111
111
|
* List files in a batch
|
|
112
112
|
*
|
|
113
113
|
* @remarks
|
|
114
|
-
* Retrieves a paginated list of all files within a specific batch operation.
|
|
114
|
+
* Retrieves a paginated list of all files within a specific batch operation. Returns 410 once the vector store has expired.
|
|
115
115
|
*/
|
|
116
116
|
listFilesInBatch(request: operations.ListVectorStoreFilesInBatchRequest, options?: RequestOptions): Promise<components.VectorStoreFileList>;
|
|
117
117
|
}
|
|
@@ -42,7 +42,7 @@ export class VectorStores extends ClientSDK {
|
|
|
42
42
|
* Retrieve a vector store
|
|
43
43
|
*
|
|
44
44
|
* @remarks
|
|
45
|
-
* Retrieves a vector store by its ID.
|
|
45
|
+
* Retrieves a vector store by its ID. Returns 410 once the vector store has expired.
|
|
46
46
|
*/
|
|
47
47
|
async get(request, options) {
|
|
48
48
|
return unwrapAsync(llmVectorStoresGet(this, request, options));
|
|
@@ -51,7 +51,7 @@ export class VectorStores extends ClientSDK {
|
|
|
51
51
|
* Modify a vector store
|
|
52
52
|
*
|
|
53
53
|
* @remarks
|
|
54
|
-
* Updates the properties of an existing vector store.
|
|
54
|
+
* Updates the properties of an existing vector store. Returns 410 once the vector store has expired.
|
|
55
55
|
*/
|
|
56
56
|
async update(request, options) {
|
|
57
57
|
return unwrapAsync(llmVectorStoresUpdate(this, request, options));
|
|
@@ -69,7 +69,7 @@ export class VectorStores extends ClientSDK {
|
|
|
69
69
|
* Search a vector store
|
|
70
70
|
*
|
|
71
71
|
* @remarks
|
|
72
|
-
* Performs semantic search within a vector store to find the most relevant document chunks for a query.
|
|
72
|
+
* Performs semantic search within a vector store to find the most relevant document chunks for a query. Returns 410 once the vector store has expired.
|
|
73
73
|
*/
|
|
74
74
|
async search(request, options) {
|
|
75
75
|
return unwrapAsync(llmVectorStoresSearch(this, request, options));
|
|
@@ -78,7 +78,7 @@ export class VectorStores extends ClientSDK {
|
|
|
78
78
|
* Add a file to a vector store
|
|
79
79
|
*
|
|
80
80
|
* @remarks
|
|
81
|
-
* Adds a file to a vector store for semantic search indexing.
|
|
81
|
+
* Adds a file to a vector store for semantic search indexing. Returns 410 once the vector store has expired.
|
|
82
82
|
*/
|
|
83
83
|
async createFile(request, options) {
|
|
84
84
|
return unwrapAsync(llmVectorStoresCreateFile(this, request, options));
|
|
@@ -87,7 +87,7 @@ export class VectorStores extends ClientSDK {
|
|
|
87
87
|
* List files in a vector store
|
|
88
88
|
*
|
|
89
89
|
* @remarks
|
|
90
|
-
* Retrieves a paginated list of all files in a specific vector store.
|
|
90
|
+
* Retrieves a paginated list of all files in a specific vector store. Returns 410 once the vector store has expired.
|
|
91
91
|
*/
|
|
92
92
|
async listFiles(request, options) {
|
|
93
93
|
return unwrapAsync(llmVectorStoresListFiles(this, request, options));
|
|
@@ -96,7 +96,7 @@ export class VectorStores extends ClientSDK {
|
|
|
96
96
|
* Retrieve a vector store file
|
|
97
97
|
*
|
|
98
98
|
* @remarks
|
|
99
|
-
* Retrieves detailed information about a specific file within a vector store.
|
|
99
|
+
* Retrieves detailed information about a specific file within a vector store. Returns 410 once the vector store has expired.
|
|
100
100
|
*/
|
|
101
101
|
async getFile(request, options) {
|
|
102
102
|
return unwrapAsync(llmVectorStoresGetFile(this, request, options));
|
|
@@ -105,7 +105,7 @@ export class VectorStores extends ClientSDK {
|
|
|
105
105
|
* Update file attributes
|
|
106
106
|
*
|
|
107
107
|
* @remarks
|
|
108
|
-
* Updates the metadata attributes attached to a file within a vector store.
|
|
108
|
+
* Updates the metadata attributes attached to a file within a vector store. Returns 410 once the vector store has expired.
|
|
109
109
|
*/
|
|
110
110
|
async updateFile(request, options) {
|
|
111
111
|
return unwrapAsync(llmVectorStoresUpdateFile(this, request, options));
|
|
@@ -114,7 +114,7 @@ export class VectorStores extends ClientSDK {
|
|
|
114
114
|
* Remove file from vector store
|
|
115
115
|
*
|
|
116
116
|
* @remarks
|
|
117
|
-
* Removes a file from a vector store and deletes its associated embeddings.
|
|
117
|
+
* Removes a file from a vector store and deletes its associated embeddings. If the file is no longer attached but the vector store still holds embeddings for it (for example, left behind by an earlier file deletion), those embeddings are deleted and the request succeeds, provided the file was deleted or you can read it; otherwise, and when there is nothing to remove, returns 404. Returns 409 if the file keeps being added back to the vector store while it is being removed; retrying completes the removal. Returns 410 once the vector store has expired.
|
|
118
118
|
*/
|
|
119
119
|
async deleteFile(request, options) {
|
|
120
120
|
return unwrapAsync(llmVectorStoresDeleteFile(this, request, options));
|
|
@@ -123,7 +123,7 @@ export class VectorStores extends ClientSDK {
|
|
|
123
123
|
* Retrieve parsed file content
|
|
124
124
|
*
|
|
125
125
|
* @remarks
|
|
126
|
-
* Retrieves the complete parsed contents of a file within a vector store.
|
|
126
|
+
* Retrieves the complete parsed contents of a file within a vector store. Returns 410 once the vector store has expired.
|
|
127
127
|
*/
|
|
128
128
|
async getFileContent(request, options) {
|
|
129
129
|
return unwrapAsync(llmVectorStoresGetFileContent(this, request, options));
|
|
@@ -132,7 +132,7 @@ export class VectorStores extends ClientSDK {
|
|
|
132
132
|
* Batch add multiple files to vector store
|
|
133
133
|
*
|
|
134
134
|
* @remarks
|
|
135
|
-
* Adds multiple files to a vector store in a single batch operation.
|
|
135
|
+
* Adds multiple files to a vector store in a single batch operation. Returns 410 once the vector store has expired.
|
|
136
136
|
*/
|
|
137
137
|
async createFileBatch(request, options) {
|
|
138
138
|
return unwrapAsync(llmVectorStoresCreateFileBatch(this, request, options));
|
|
@@ -141,7 +141,7 @@ export class VectorStores extends ClientSDK {
|
|
|
141
141
|
* Retrieve file batch status
|
|
142
142
|
*
|
|
143
143
|
* @remarks
|
|
144
|
-
* Retrieves the status of a specific file batch operation within a vector store.
|
|
144
|
+
* Retrieves the status of a specific file batch operation within a vector store. Returns 410 once the vector store has expired.
|
|
145
145
|
*/
|
|
146
146
|
async getFileBatch(request, options) {
|
|
147
147
|
return unwrapAsync(llmVectorStoresGetFileBatch(this, request, options));
|
|
@@ -150,7 +150,7 @@ export class VectorStores extends ClientSDK {
|
|
|
150
150
|
* Cancel batch file processing
|
|
151
151
|
*
|
|
152
152
|
* @remarks
|
|
153
|
-
* Cancels an in-progress file batch operation.
|
|
153
|
+
* Cancels an in-progress file batch operation. Returns 410 once the vector store has expired.
|
|
154
154
|
*/
|
|
155
155
|
async cancelFileBatch(request, options) {
|
|
156
156
|
return unwrapAsync(llmVectorStoresCancelFileBatch(this, request, options));
|
|
@@ -159,7 +159,7 @@ export class VectorStores extends ClientSDK {
|
|
|
159
159
|
* List files in a batch
|
|
160
160
|
*
|
|
161
161
|
* @remarks
|
|
162
|
-
* Retrieves a paginated list of all files within a specific batch operation.
|
|
162
|
+
* Retrieves a paginated list of all files within a specific batch operation. Returns 410 once the vector store has expired.
|
|
163
163
|
*/
|
|
164
164
|
async listFilesInBatch(request, options) {
|
|
165
165
|
return unwrapAsync(llmVectorStoresListFilesInBatch(this, request, options));
|
package/jsr.json
CHANGED
package/package.json
CHANGED
|
@@ -30,7 +30,7 @@ import { Result } from "../types/fp.js";
|
|
|
30
30
|
* Delete file
|
|
31
31
|
*
|
|
32
32
|
* @remarks
|
|
33
|
-
* Delete a file from storage.
|
|
33
|
+
* Delete a file from storage. The file is first removed from every vector store it is attached to, embeddings included, so it no longer appears in vector store search or `file_search` results. If that cannot finish, the file is kept and the request fails; retrying completes the deletion. Returns 400 `feature_unavailable` when the file is attached to a vector store while the search service is unavailable, and 409 when the file was added to a vector store during the deletion.
|
|
34
34
|
*
|
|
35
35
|
* If set, this operation will use {@link Security.bearerAuth} from the global security.
|
|
36
36
|
*/
|
|
@@ -30,7 +30,7 @@ import { Result } from "../types/fp.js";
|
|
|
30
30
|
* Cancel batch file processing
|
|
31
31
|
*
|
|
32
32
|
* @remarks
|
|
33
|
-
* Cancels an in-progress file batch operation.
|
|
33
|
+
* Cancels an in-progress file batch operation. Returns 410 once the vector store has expired.
|
|
34
34
|
*
|
|
35
35
|
* If set, this operation will use {@link Security.bearerAuth} from the global security.
|
|
36
36
|
*/
|
|
@@ -30,7 +30,7 @@ import { Result } from "../types/fp.js";
|
|
|
30
30
|
* Add a file to a vector store
|
|
31
31
|
*
|
|
32
32
|
* @remarks
|
|
33
|
-
* Adds a file to a vector store for semantic search indexing.
|
|
33
|
+
* Adds a file to a vector store for semantic search indexing. Returns 410 once the vector store has expired.
|
|
34
34
|
*
|
|
35
35
|
* If set, this operation will use {@link Security.bearerAuth} from the global security.
|
|
36
36
|
*/
|
|
@@ -30,7 +30,7 @@ import { Result } from "../types/fp.js";
|
|
|
30
30
|
* Batch add multiple files to vector store
|
|
31
31
|
*
|
|
32
32
|
* @remarks
|
|
33
|
-
* Adds multiple files to a vector store in a single batch operation.
|
|
33
|
+
* Adds multiple files to a vector store in a single batch operation. Returns 410 once the vector store has expired.
|
|
34
34
|
*
|
|
35
35
|
* If set, this operation will use {@link Security.bearerAuth} from the global security.
|
|
36
36
|
*/
|
|
@@ -30,7 +30,7 @@ import { Result } from "../types/fp.js";
|
|
|
30
30
|
* Remove file from vector store
|
|
31
31
|
*
|
|
32
32
|
* @remarks
|
|
33
|
-
* Removes a file from a vector store and deletes its associated embeddings.
|
|
33
|
+
* Removes a file from a vector store and deletes its associated embeddings. If the file is no longer attached but the vector store still holds embeddings for it (for example, left behind by an earlier file deletion), those embeddings are deleted and the request succeeds, provided the file was deleted or you can read it; otherwise, and when there is nothing to remove, returns 404. Returns 409 if the file keeps being added back to the vector store while it is being removed; retrying completes the removal. Returns 410 once the vector store has expired.
|
|
34
34
|
*
|
|
35
35
|
* If set, this operation will use {@link Security.bearerAuth} from the global security.
|
|
36
36
|
*/
|
|
@@ -30,7 +30,7 @@ import { Result } from "../types/fp.js";
|
|
|
30
30
|
* Retrieve a vector store
|
|
31
31
|
*
|
|
32
32
|
* @remarks
|
|
33
|
-
* Retrieves a vector store by its ID.
|
|
33
|
+
* Retrieves a vector store by its ID. Returns 410 once the vector store has expired.
|
|
34
34
|
*
|
|
35
35
|
* If set, this operation will use {@link Security.bearerAuth} from the global security.
|
|
36
36
|
*/
|
|
@@ -30,7 +30,7 @@ import { Result } from "../types/fp.js";
|
|
|
30
30
|
* Retrieve a vector store file
|
|
31
31
|
*
|
|
32
32
|
* @remarks
|
|
33
|
-
* Retrieves detailed information about a specific file within a vector store.
|
|
33
|
+
* Retrieves detailed information about a specific file within a vector store. Returns 410 once the vector store has expired.
|
|
34
34
|
*
|
|
35
35
|
* If set, this operation will use {@link Security.bearerAuth} from the global security.
|
|
36
36
|
*/
|
|
@@ -30,7 +30,7 @@ import { Result } from "../types/fp.js";
|
|
|
30
30
|
* Retrieve file batch status
|
|
31
31
|
*
|
|
32
32
|
* @remarks
|
|
33
|
-
* Retrieves the status of a specific file batch operation within a vector store.
|
|
33
|
+
* Retrieves the status of a specific file batch operation within a vector store. Returns 410 once the vector store has expired.
|
|
34
34
|
*
|
|
35
35
|
* If set, this operation will use {@link Security.bearerAuth} from the global security.
|
|
36
36
|
*/
|
|
@@ -30,7 +30,7 @@ import { Result } from "../types/fp.js";
|
|
|
30
30
|
* Retrieve parsed file content
|
|
31
31
|
*
|
|
32
32
|
* @remarks
|
|
33
|
-
* Retrieves the complete parsed contents of a file within a vector store.
|
|
33
|
+
* Retrieves the complete parsed contents of a file within a vector store. Returns 410 once the vector store has expired.
|
|
34
34
|
*
|
|
35
35
|
* If set, this operation will use {@link Security.bearerAuth} from the global security.
|
|
36
36
|
*/
|
|
@@ -30,7 +30,7 @@ import { Result } from "../types/fp.js";
|
|
|
30
30
|
* List files in a vector store
|
|
31
31
|
*
|
|
32
32
|
* @remarks
|
|
33
|
-
* Retrieves a paginated list of all files in a specific vector store.
|
|
33
|
+
* Retrieves a paginated list of all files in a specific vector store. Returns 410 once the vector store has expired.
|
|
34
34
|
*
|
|
35
35
|
* If set, this operation will use {@link Security.bearerAuth} from the global security.
|
|
36
36
|
*/
|
|
@@ -30,7 +30,7 @@ import { Result } from "../types/fp.js";
|
|
|
30
30
|
* List files in a batch
|
|
31
31
|
*
|
|
32
32
|
* @remarks
|
|
33
|
-
* Retrieves a paginated list of all files within a specific batch operation.
|
|
33
|
+
* Retrieves a paginated list of all files within a specific batch operation. Returns 410 once the vector store has expired.
|
|
34
34
|
*
|
|
35
35
|
* If set, this operation will use {@link Security.bearerAuth} from the global security.
|
|
36
36
|
*/
|
|
@@ -30,7 +30,7 @@ import { Result } from "../types/fp.js";
|
|
|
30
30
|
* Search a vector store
|
|
31
31
|
*
|
|
32
32
|
* @remarks
|
|
33
|
-
* Performs semantic search within a vector store to find the most relevant document chunks for a query.
|
|
33
|
+
* Performs semantic search within a vector store to find the most relevant document chunks for a query. Returns 410 once the vector store has expired.
|
|
34
34
|
*
|
|
35
35
|
* If set, this operation will use {@link Security.bearerAuth} from the global security.
|
|
36
36
|
*/
|
|
@@ -30,7 +30,7 @@ import { Result } from "../types/fp.js";
|
|
|
30
30
|
* Modify a vector store
|
|
31
31
|
*
|
|
32
32
|
* @remarks
|
|
33
|
-
* Updates the properties of an existing vector store.
|
|
33
|
+
* Updates the properties of an existing vector store. Returns 410 once the vector store has expired.
|
|
34
34
|
*
|
|
35
35
|
* If set, this operation will use {@link Security.bearerAuth} from the global security.
|
|
36
36
|
*/
|
|
@@ -30,7 +30,7 @@ import { Result } from "../types/fp.js";
|
|
|
30
30
|
* Update file attributes
|
|
31
31
|
*
|
|
32
32
|
* @remarks
|
|
33
|
-
* Updates the metadata attributes attached to a file within a vector store.
|
|
33
|
+
* Updates the metadata attributes attached to a file within a vector store. Returns 410 once the vector store has expired.
|
|
34
34
|
*
|
|
35
35
|
* If set, this operation will use {@link Security.bearerAuth} from the global security.
|
|
36
36
|
*/
|
package/src/lib/config.ts
CHANGED
|
@@ -65,7 +65,7 @@ export function serverURLFromOptions(options: SDKOptions): URL | null {
|
|
|
65
65
|
export const SDK_METADATA = {
|
|
66
66
|
language: "typescript",
|
|
67
67
|
openapiDocVersion: "1.1.0",
|
|
68
|
-
sdkVersion: "0.54.
|
|
69
|
-
genVersion: "2.
|
|
70
|
-
userAgent: "speakeasy-sdk/typescript 0.54.
|
|
68
|
+
sdkVersion: "0.54.79",
|
|
69
|
+
genVersion: "2.946.0",
|
|
70
|
+
userAgent: "speakeasy-sdk/typescript 0.54.79 2.946.0 1.1.0 @meetkai/mka1",
|
|
71
71
|
} as const;
|
package/src/mcp-server/server.ts
CHANGED
|
@@ -14,7 +14,7 @@ export const tool$llmFilesDelete: ToolDefinition<typeof args> = {
|
|
|
14
14
|
name: "llm-files-delete",
|
|
15
15
|
description: `Delete file
|
|
16
16
|
|
|
17
|
-
Delete a file from storage.
|
|
17
|
+
Delete a file from storage. The file is first removed from every vector store it is attached to, embeddings included, so it no longer appears in vector store search or \`file_search\` results. If that cannot finish, the file is kept and the request fails; retrying completes the deletion. Returns 400 \`feature_unavailable\` when the file is attached to a vector store while the search service is unavailable, and 409 when the file was added to a vector store during the deletion.`,
|
|
18
18
|
args,
|
|
19
19
|
tool: async (client, args, ctx) => {
|
|
20
20
|
const [result, apiCall] = await llmFilesDelete(
|
|
@@ -15,7 +15,7 @@ export const tool$llmVectorStoresCancelFileBatch: ToolDefinition<typeof args> =
|
|
|
15
15
|
name: "llm-vector-stores-cancel-file-batch",
|
|
16
16
|
description: `Cancel batch file processing
|
|
17
17
|
|
|
18
|
-
Cancels an in-progress file batch operation.`,
|
|
18
|
+
Cancels an in-progress file batch operation. Returns 410 once the vector store has expired.`,
|
|
19
19
|
args,
|
|
20
20
|
tool: async (client, args, ctx) => {
|
|
21
21
|
const [result, apiCall] = await llmVectorStoresCancelFileBatch(
|
|
@@ -14,7 +14,7 @@ export const tool$llmVectorStoresCreateFile: ToolDefinition<typeof args> = {
|
|
|
14
14
|
name: "llm-vector-stores-create-file",
|
|
15
15
|
description: `Add a file to a vector store
|
|
16
16
|
|
|
17
|
-
Adds a file to a vector store for semantic search indexing.`,
|
|
17
|
+
Adds a file to a vector store for semantic search indexing. Returns 410 once the vector store has expired.`,
|
|
18
18
|
args,
|
|
19
19
|
tool: async (client, args, ctx) => {
|
|
20
20
|
const [result, apiCall] = await llmVectorStoresCreateFile(
|
|
@@ -15,7 +15,7 @@ export const tool$llmVectorStoresCreateFileBatch: ToolDefinition<typeof args> =
|
|
|
15
15
|
name: "llm-vector-stores-create-file-batch",
|
|
16
16
|
description: `Batch add multiple files to vector store
|
|
17
17
|
|
|
18
|
-
Adds multiple files to a vector store in a single batch operation.`,
|
|
18
|
+
Adds multiple files to a vector store in a single batch operation. Returns 410 once the vector store has expired.`,
|
|
19
19
|
args,
|
|
20
20
|
tool: async (client, args, ctx) => {
|
|
21
21
|
const [result, apiCall] = await llmVectorStoresCreateFileBatch(
|
|
@@ -14,7 +14,7 @@ export const tool$llmVectorStoresDeleteFile: ToolDefinition<typeof args> = {
|
|
|
14
14
|
name: "llm-vector-stores-delete-file",
|
|
15
15
|
description: `Remove file from vector store
|
|
16
16
|
|
|
17
|
-
Removes a file from a vector store and deletes its associated embeddings.`,
|
|
17
|
+
Removes a file from a vector store and deletes its associated embeddings. If the file is no longer attached but the vector store still holds embeddings for it (for example, left behind by an earlier file deletion), those embeddings are deleted and the request succeeds, provided the file was deleted or you can read it; otherwise, and when there is nothing to remove, returns 404. Returns 409 if the file keeps being added back to the vector store while it is being removed; retrying completes the removal. Returns 410 once the vector store has expired.`,
|
|
18
18
|
args,
|
|
19
19
|
tool: async (client, args, ctx) => {
|
|
20
20
|
const [result, apiCall] = await llmVectorStoresDeleteFile(
|
|
@@ -14,7 +14,7 @@ export const tool$llmVectorStoresGet: ToolDefinition<typeof args> = {
|
|
|
14
14
|
name: "llm-vector-stores-get",
|
|
15
15
|
description: `Retrieve a vector store
|
|
16
16
|
|
|
17
|
-
Retrieves a vector store by its ID.`,
|
|
17
|
+
Retrieves a vector store by its ID. Returns 410 once the vector store has expired.`,
|
|
18
18
|
args,
|
|
19
19
|
tool: async (client, args, ctx) => {
|
|
20
20
|
const [result, apiCall] = await llmVectorStoresGet(
|
|
@@ -14,7 +14,7 @@ export const tool$llmVectorStoresGetFile: ToolDefinition<typeof args> = {
|
|
|
14
14
|
name: "llm-vector-stores-get-file",
|
|
15
15
|
description: `Retrieve a vector store file
|
|
16
16
|
|
|
17
|
-
Retrieves detailed information about a specific file within a vector store.`,
|
|
17
|
+
Retrieves detailed information about a specific file within a vector store. Returns 410 once the vector store has expired.`,
|
|
18
18
|
args,
|
|
19
19
|
tool: async (client, args, ctx) => {
|
|
20
20
|
const [result, apiCall] = await llmVectorStoresGetFile(
|
|
@@ -14,7 +14,7 @@ export const tool$llmVectorStoresGetFileBatch: ToolDefinition<typeof args> = {
|
|
|
14
14
|
name: "llm-vector-stores-get-file-batch",
|
|
15
15
|
description: `Retrieve file batch status
|
|
16
16
|
|
|
17
|
-
Retrieves the status of a specific file batch operation within a vector store.`,
|
|
17
|
+
Retrieves the status of a specific file batch operation within a vector store. Returns 410 once the vector store has expired.`,
|
|
18
18
|
args,
|
|
19
19
|
tool: async (client, args, ctx) => {
|
|
20
20
|
const [result, apiCall] = await llmVectorStoresGetFileBatch(
|
|
@@ -14,7 +14,7 @@ export const tool$llmVectorStoresGetFileContent: ToolDefinition<typeof args> = {
|
|
|
14
14
|
name: "llm-vector-stores-get-file-content",
|
|
15
15
|
description: `Retrieve parsed file content
|
|
16
16
|
|
|
17
|
-
Retrieves the complete parsed contents of a file within a vector store.`,
|
|
17
|
+
Retrieves the complete parsed contents of a file within a vector store. Returns 410 once the vector store has expired.`,
|
|
18
18
|
args,
|
|
19
19
|
tool: async (client, args, ctx) => {
|
|
20
20
|
const [result, apiCall] = await llmVectorStoresGetFileContent(
|
|
@@ -14,7 +14,7 @@ export const tool$llmVectorStoresListFiles: ToolDefinition<typeof args> = {
|
|
|
14
14
|
name: "llm-vector-stores-list-files",
|
|
15
15
|
description: `List files in a vector store
|
|
16
16
|
|
|
17
|
-
Retrieves a paginated list of all files in a specific vector store.`,
|
|
17
|
+
Retrieves a paginated list of all files in a specific vector store. Returns 410 once the vector store has expired.`,
|
|
18
18
|
args,
|
|
19
19
|
tool: async (client, args, ctx) => {
|
|
20
20
|
const [result, apiCall] = await llmVectorStoresListFiles(
|
|
@@ -15,7 +15,7 @@ export const tool$llmVectorStoresListFilesInBatch: ToolDefinition<typeof args> =
|
|
|
15
15
|
name: "llm-vector-stores-list-files-in-batch",
|
|
16
16
|
description: `List files in a batch
|
|
17
17
|
|
|
18
|
-
Retrieves a paginated list of all files within a specific batch operation.`,
|
|
18
|
+
Retrieves a paginated list of all files within a specific batch operation. Returns 410 once the vector store has expired.`,
|
|
19
19
|
args,
|
|
20
20
|
tool: async (client, args, ctx) => {
|
|
21
21
|
const [result, apiCall] = await llmVectorStoresListFilesInBatch(
|
|
@@ -14,7 +14,7 @@ export const tool$llmVectorStoresSearch: ToolDefinition<typeof args> = {
|
|
|
14
14
|
name: "llm-vector-stores-search",
|
|
15
15
|
description: `Search a vector store
|
|
16
16
|
|
|
17
|
-
Performs semantic search within a vector store to find the most relevant document chunks for a query.`,
|
|
17
|
+
Performs semantic search within a vector store to find the most relevant document chunks for a query. Returns 410 once the vector store has expired.`,
|
|
18
18
|
args,
|
|
19
19
|
tool: async (client, args, ctx) => {
|
|
20
20
|
const [result, apiCall] = await llmVectorStoresSearch(
|
|
@@ -14,7 +14,7 @@ export const tool$llmVectorStoresUpdate: ToolDefinition<typeof args> = {
|
|
|
14
14
|
name: "llm-vector-stores-update",
|
|
15
15
|
description: `Modify a vector store
|
|
16
16
|
|
|
17
|
-
Updates the properties of an existing vector store.`,
|
|
17
|
+
Updates the properties of an existing vector store. Returns 410 once the vector store has expired.`,
|
|
18
18
|
args,
|
|
19
19
|
tool: async (client, args, ctx) => {
|
|
20
20
|
const [result, apiCall] = await llmVectorStoresUpdate(
|
|
@@ -14,7 +14,7 @@ export const tool$llmVectorStoresUpdateFile: ToolDefinition<typeof args> = {
|
|
|
14
14
|
name: "llm-vector-stores-update-file",
|
|
15
15
|
description: `Update file attributes
|
|
16
16
|
|
|
17
|
-
Updates the metadata attributes attached to a file within a vector store.`,
|
|
17
|
+
Updates the metadata attributes attached to a file within a vector store. Returns 410 once the vector store has expired.`,
|
|
18
18
|
args,
|
|
19
19
|
tool: async (client, args, ctx) => {
|
|
20
20
|
const [result, apiCall] = await llmVectorStoresUpdateFile(
|
|
@@ -30,7 +30,7 @@ export type ExpiresAfter = {
|
|
|
30
30
|
*/
|
|
31
31
|
anchor: "last_active_at";
|
|
32
32
|
/**
|
|
33
|
-
* The number of days after the anchor time that the vector store will expire.
|
|
33
|
+
* The number of days after the anchor time that the vector store will expire. Must be between 1 and 365.
|
|
34
34
|
*/
|
|
35
35
|
days: number;
|
|
36
36
|
};
|
|
@@ -41,6 +41,9 @@ export type FileSearchToolDefinitionFilters =
|
|
|
41
41
|
*/
|
|
42
42
|
export type FileSearchToolDefinition = {
|
|
43
43
|
type: "file_search";
|
|
44
|
+
/**
|
|
45
|
+
* The vector stores to search. If any of them has expired, the tool call fails with an error naming the expired stores; once an expired store has been deleted (within the hour), it is skipped like a missing one.
|
|
46
|
+
*/
|
|
44
47
|
vectorStoreIds: Array<string>;
|
|
45
48
|
filters?:
|
|
46
49
|
| (ComparisonFilter & { type: "eq" })
|
|
@@ -17,7 +17,7 @@ export type ModifyVectorStoreRequestExpiresAfter = {
|
|
|
17
17
|
*/
|
|
18
18
|
anchor: "last_active_at";
|
|
19
19
|
/**
|
|
20
|
-
* The number of days after the anchor time that the vector store will expire.
|
|
20
|
+
* The number of days after the anchor time that the vector store will expire. Must be between 1 and 365.
|
|
21
21
|
*/
|
|
22
22
|
days: number;
|
|
23
23
|
};
|
|
@@ -173,7 +173,7 @@ export type OpenAIChatCompletionRequestParams = {
|
|
|
173
173
|
*/
|
|
174
174
|
topLogprobs?: number | undefined;
|
|
175
175
|
/**
|
|
176
|
-
* A unique identifier representing your end-user
|
|
176
|
+
* A unique identifier representing your end-user. `/chat/completions` and `/chat/completions/stream` ignore this value and send the authenticated caller's external user id to the model provider instead. A Batch request line sends its own value.
|
|
177
177
|
*/
|
|
178
178
|
user?: string | undefined;
|
|
179
179
|
/**
|
|
@@ -233,6 +233,9 @@ export type ToolsFilters =
|
|
|
233
233
|
*/
|
|
234
234
|
export type ToolsFileSearchToolDefinition = {
|
|
235
235
|
type: "file_search";
|
|
236
|
+
/**
|
|
237
|
+
* The vector stores to search. If any of them has expired, the tool call fails with an error naming the expired stores; once an expired store has been deleted (within the hour), it is skipped like a missing one.
|
|
238
|
+
*/
|
|
236
239
|
vectorStoreIds: Array<string>;
|
|
237
240
|
filters?:
|
|
238
241
|
| (ComparisonFilter & { type: "eq" })
|