@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
|
@@ -39,17 +39,69 @@ export const ListModelsModelType$inboundSchema = z.nativeEnum(ListModelsModelTyp
|
|
|
39
39
|
/** @internal */
|
|
40
40
|
export const ListModelsModelType$outboundSchema = ListModelsModelType$inboundSchema;
|
|
41
41
|
/** @internal */
|
|
42
|
+
export const ListModelsMaxImageResolution$inboundSchema = z.object({
|
|
43
|
+
width: z.number().int(),
|
|
44
|
+
height: z.number().int(),
|
|
45
|
+
});
|
|
46
|
+
/** @internal */
|
|
47
|
+
export const ListModelsMaxImageResolution$outboundSchema = z.object({
|
|
48
|
+
width: z.number().int(),
|
|
49
|
+
height: z.number().int(),
|
|
50
|
+
});
|
|
51
|
+
export function listModelsMaxImageResolutionToJSON(listModelsMaxImageResolution) {
|
|
52
|
+
return JSON.stringify(ListModelsMaxImageResolution$outboundSchema.parse(listModelsMaxImageResolution));
|
|
53
|
+
}
|
|
54
|
+
export function listModelsMaxImageResolutionFromJSON(jsonString) {
|
|
55
|
+
return safeParse(jsonString, (x) => ListModelsMaxImageResolution$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ListModelsMaxImageResolution' from JSON`);
|
|
56
|
+
}
|
|
57
|
+
/** @internal */
|
|
58
|
+
export const ListModelsMinImageResolution$inboundSchema = z.object({
|
|
59
|
+
width: z.number().int(),
|
|
60
|
+
height: z.number().int(),
|
|
61
|
+
});
|
|
62
|
+
/** @internal */
|
|
63
|
+
export const ListModelsMinImageResolution$outboundSchema = z.object({
|
|
64
|
+
width: z.number().int(),
|
|
65
|
+
height: z.number().int(),
|
|
66
|
+
});
|
|
67
|
+
export function listModelsMinImageResolutionToJSON(listModelsMinImageResolution) {
|
|
68
|
+
return JSON.stringify(ListModelsMinImageResolution$outboundSchema.parse(listModelsMinImageResolution));
|
|
69
|
+
}
|
|
70
|
+
export function listModelsMinImageResolutionFromJSON(jsonString) {
|
|
71
|
+
return safeParse(jsonString, (x) => ListModelsMinImageResolution$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ListModelsMinImageResolution' from JSON`);
|
|
72
|
+
}
|
|
73
|
+
/** @internal */
|
|
74
|
+
export const ListModelsEmbeddingDimensionRange$inboundSchema = z.object({
|
|
75
|
+
min: z.number().int(),
|
|
76
|
+
max: z.number().int(),
|
|
77
|
+
default: z.number().int(),
|
|
78
|
+
});
|
|
79
|
+
/** @internal */
|
|
80
|
+
export const ListModelsEmbeddingDimensionRange$outboundSchema = z.object({
|
|
81
|
+
min: z.number().int(),
|
|
82
|
+
max: z.number().int(),
|
|
83
|
+
default: z.number().int(),
|
|
84
|
+
});
|
|
85
|
+
export function listModelsEmbeddingDimensionRangeToJSON(listModelsEmbeddingDimensionRange) {
|
|
86
|
+
return JSON.stringify(ListModelsEmbeddingDimensionRange$outboundSchema.parse(listModelsEmbeddingDimensionRange));
|
|
87
|
+
}
|
|
88
|
+
export function listModelsEmbeddingDimensionRangeFromJSON(jsonString) {
|
|
89
|
+
return safeParse(jsonString, (x) => ListModelsEmbeddingDimensionRange$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ListModelsEmbeddingDimensionRange' from JSON`);
|
|
90
|
+
}
|
|
91
|
+
/** @internal */
|
|
42
92
|
export const ListModelsCapabilities$inboundSchema = z.object({
|
|
43
93
|
supports_temperature: z.boolean(),
|
|
44
94
|
supports_top_p: z.boolean(),
|
|
45
95
|
supports_reasoning: z.boolean(),
|
|
46
96
|
supports_reasoning_effort: z.boolean(),
|
|
97
|
+
supports_structured_outputs: z.nullable(z.boolean()),
|
|
47
98
|
}).transform((v) => {
|
|
48
99
|
return remap$(v, {
|
|
49
100
|
"supports_temperature": "supportsTemperature",
|
|
50
101
|
"supports_top_p": "supportsTopP",
|
|
51
102
|
"supports_reasoning": "supportsReasoning",
|
|
52
103
|
"supports_reasoning_effort": "supportsReasoningEffort",
|
|
104
|
+
"supports_structured_outputs": "supportsStructuredOutputs",
|
|
53
105
|
});
|
|
54
106
|
});
|
|
55
107
|
/** @internal */
|
|
@@ -58,12 +110,14 @@ export const ListModelsCapabilities$outboundSchema = z.object({
|
|
|
58
110
|
supportsTopP: z.boolean(),
|
|
59
111
|
supportsReasoning: z.boolean(),
|
|
60
112
|
supportsReasoningEffort: z.boolean(),
|
|
113
|
+
supportsStructuredOutputs: z.nullable(z.boolean()),
|
|
61
114
|
}).transform((v) => {
|
|
62
115
|
return remap$(v, {
|
|
63
116
|
supportsTemperature: "supports_temperature",
|
|
64
117
|
supportsTopP: "supports_top_p",
|
|
65
118
|
supportsReasoning: "supports_reasoning",
|
|
66
119
|
supportsReasoningEffort: "supports_reasoning_effort",
|
|
120
|
+
supportsStructuredOutputs: "supports_structured_outputs",
|
|
67
121
|
});
|
|
68
122
|
});
|
|
69
123
|
export function listModelsCapabilitiesToJSON(listModelsCapabilities) {
|
|
@@ -81,6 +135,10 @@ export const ListModelsData$inboundSchema = z.object({
|
|
|
81
135
|
model_type: ListModelsModelType$inboundSchema,
|
|
82
136
|
input_modalities: z.array(z.string()),
|
|
83
137
|
output_modalities: z.array(z.string()),
|
|
138
|
+
context_window: z.nullable(z.number().int()),
|
|
139
|
+
max_image_resolution: z.nullable(z.lazy(() => ListModelsMaxImageResolution$inboundSchema)),
|
|
140
|
+
min_image_resolution: z.nullable(z.lazy(() => ListModelsMinImageResolution$inboundSchema)),
|
|
141
|
+
embedding_dimension_range: z.nullable(z.lazy(() => ListModelsEmbeddingDimensionRange$inboundSchema)),
|
|
84
142
|
parameter_count: z.nullable(z.number().int()),
|
|
85
143
|
active_parameter_count: z.nullable(z.number().int()),
|
|
86
144
|
release_date: z.nullable(z.string().transform(v => new RFCDate(v))),
|
|
@@ -91,6 +149,10 @@ export const ListModelsData$inboundSchema = z.object({
|
|
|
91
149
|
"model_type": "modelType",
|
|
92
150
|
"input_modalities": "inputModalities",
|
|
93
151
|
"output_modalities": "outputModalities",
|
|
152
|
+
"context_window": "contextWindow",
|
|
153
|
+
"max_image_resolution": "maxImageResolution",
|
|
154
|
+
"min_image_resolution": "minImageResolution",
|
|
155
|
+
"embedding_dimension_range": "embeddingDimensionRange",
|
|
94
156
|
"parameter_count": "parameterCount",
|
|
95
157
|
"active_parameter_count": "activeParameterCount",
|
|
96
158
|
"release_date": "releaseDate",
|
|
@@ -105,6 +167,10 @@ export const ListModelsData$outboundSchema = z.object({
|
|
|
105
167
|
modelType: ListModelsModelType$outboundSchema,
|
|
106
168
|
inputModalities: z.array(z.string()),
|
|
107
169
|
outputModalities: z.array(z.string()),
|
|
170
|
+
contextWindow: z.nullable(z.number().int()),
|
|
171
|
+
maxImageResolution: z.nullable(z.lazy(() => ListModelsMaxImageResolution$outboundSchema)),
|
|
172
|
+
minImageResolution: z.nullable(z.lazy(() => ListModelsMinImageResolution$outboundSchema)),
|
|
173
|
+
embeddingDimensionRange: z.nullable(z.lazy(() => ListModelsEmbeddingDimensionRange$outboundSchema)),
|
|
108
174
|
parameterCount: z.nullable(z.number().int()),
|
|
109
175
|
activeParameterCount: z.nullable(z.number().int()),
|
|
110
176
|
releaseDate: z.nullable(z.instanceof(RFCDate).transform(v => v.toString())),
|
|
@@ -115,6 +181,10 @@ export const ListModelsData$outboundSchema = z.object({
|
|
|
115
181
|
modelType: "model_type",
|
|
116
182
|
inputModalities: "input_modalities",
|
|
117
183
|
outputModalities: "output_modalities",
|
|
184
|
+
contextWindow: "context_window",
|
|
185
|
+
maxImageResolution: "max_image_resolution",
|
|
186
|
+
minImageResolution: "min_image_resolution",
|
|
187
|
+
embeddingDimensionRange: "embedding_dimension_range",
|
|
118
188
|
parameterCount: "parameter_count",
|
|
119
189
|
activeParameterCount: "active_parameter_count",
|
|
120
190
|
releaseDate: "release_date",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"listmodels.js","sourceRoot":"","sources":["../../../../src/models/operations/listmodels.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAC5B,OAAO,EAAE,KAAK,IAAI,MAAM,EAAE,MAAM,yBAAyB,CAAC;AAC1D,OAAO,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AAGjD,OAAO,EAAE,OAAO,EAAE,MAAM,wBAAwB,CAAC;AAUjD,MAAM,CAAC,MAAM,mBAAmB,GAAG;IACjC,GAAG,EAAE,KAAK;IACV,UAAU,EAAE,YAAY;IACxB,MAAM,EAAE,QAAQ;IAChB,YAAY,EAAE,gBAAgB;IAC9B,YAAY,EAAE,gBAAgB;CACtB,CAAC;
|
|
1
|
+
{"version":3,"file":"listmodels.js","sourceRoot":"","sources":["../../../../src/models/operations/listmodels.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAC5B,OAAO,EAAE,KAAK,IAAI,MAAM,EAAE,MAAM,yBAAyB,CAAC;AAC1D,OAAO,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AAGjD,OAAO,EAAE,O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SAAS,CACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,oCAAoC,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAChE,oDAAoD,CACrD,CAAC;AACJ,CAAC"}
|
|
@@ -18,7 +18,7 @@ export type LlmFilesDeleteMutationError = SDKError | ResponseValidationError | C
|
|
|
18
18
|
* Delete file
|
|
19
19
|
*
|
|
20
20
|
* @remarks
|
|
21
|
-
* Delete a file from storage.
|
|
21
|
+
* 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.
|
|
22
22
|
*/
|
|
23
23
|
export declare function useLlmFilesDeleteMutation(options?: MutationHookOptions<LlmFilesDeleteMutationData, LlmFilesDeleteMutationError, LlmFilesDeleteMutationVariables>): UseMutationResult<LlmFilesDeleteMutationData, LlmFilesDeleteMutationError, LlmFilesDeleteMutationVariables>;
|
|
24
24
|
export declare function mutationKeyLlmFilesDelete(): MutationKey;
|
|
@@ -10,7 +10,7 @@ import { useSDKContext } from "./_context.js";
|
|
|
10
10
|
* Delete file
|
|
11
11
|
*
|
|
12
12
|
* @remarks
|
|
13
|
-
* Delete a file from storage.
|
|
13
|
+
* 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.
|
|
14
14
|
*/
|
|
15
15
|
export function useLlmFilesDeleteMutation(options) {
|
|
16
16
|
const client = useSDKContext();
|
|
@@ -18,7 +18,7 @@ export type LlmVectorStoresCancelFileBatchMutationError = SDKError | ResponseVal
|
|
|
18
18
|
* Cancel batch file processing
|
|
19
19
|
*
|
|
20
20
|
* @remarks
|
|
21
|
-
* Cancels an in-progress file batch operation.
|
|
21
|
+
* Cancels an in-progress file batch operation. Returns 410 once the vector store has expired.
|
|
22
22
|
*/
|
|
23
23
|
export declare function useLlmVectorStoresCancelFileBatchMutation(options?: MutationHookOptions<LlmVectorStoresCancelFileBatchMutationData, LlmVectorStoresCancelFileBatchMutationError, LlmVectorStoresCancelFileBatchMutationVariables>): UseMutationResult<LlmVectorStoresCancelFileBatchMutationData, LlmVectorStoresCancelFileBatchMutationError, LlmVectorStoresCancelFileBatchMutationVariables>;
|
|
24
24
|
export declare function mutationKeyLlmVectorStoresCancelFileBatch(): MutationKey;
|
|
@@ -10,7 +10,7 @@ import { useSDKContext } from "./_context.js";
|
|
|
10
10
|
* Cancel batch file processing
|
|
11
11
|
*
|
|
12
12
|
* @remarks
|
|
13
|
-
* Cancels an in-progress file batch operation.
|
|
13
|
+
* Cancels an in-progress file batch operation. Returns 410 once the vector store has expired.
|
|
14
14
|
*/
|
|
15
15
|
export function useLlmVectorStoresCancelFileBatchMutation(options) {
|
|
16
16
|
const client = useSDKContext();
|
|
@@ -18,7 +18,7 @@ export type LlmVectorStoresCreateFileMutationError = SDKError | ResponseValidati
|
|
|
18
18
|
* Add a file to a vector store
|
|
19
19
|
*
|
|
20
20
|
* @remarks
|
|
21
|
-
* Adds a file to a vector store for semantic search indexing.
|
|
21
|
+
* Adds a file to a vector store for semantic search indexing. Returns 410 once the vector store has expired.
|
|
22
22
|
*/
|
|
23
23
|
export declare function useLlmVectorStoresCreateFileMutation(options?: MutationHookOptions<LlmVectorStoresCreateFileMutationData, LlmVectorStoresCreateFileMutationError, LlmVectorStoresCreateFileMutationVariables>): UseMutationResult<LlmVectorStoresCreateFileMutationData, LlmVectorStoresCreateFileMutationError, LlmVectorStoresCreateFileMutationVariables>;
|
|
24
24
|
export declare function mutationKeyLlmVectorStoresCreateFile(): MutationKey;
|
|
@@ -10,7 +10,7 @@ import { useSDKContext } from "./_context.js";
|
|
|
10
10
|
* Add a file to a vector store
|
|
11
11
|
*
|
|
12
12
|
* @remarks
|
|
13
|
-
* Adds a file to a vector store for semantic search indexing.
|
|
13
|
+
* Adds a file to a vector store for semantic search indexing. Returns 410 once the vector store has expired.
|
|
14
14
|
*/
|
|
15
15
|
export function useLlmVectorStoresCreateFileMutation(options) {
|
|
16
16
|
const client = useSDKContext();
|
|
@@ -18,7 +18,7 @@ export type LlmVectorStoresCreateFileBatchMutationError = SDKError | ResponseVal
|
|
|
18
18
|
* Batch add multiple files to vector store
|
|
19
19
|
*
|
|
20
20
|
* @remarks
|
|
21
|
-
* Adds multiple files to a vector store in a single batch operation.
|
|
21
|
+
* Adds multiple files to a vector store in a single batch operation. Returns 410 once the vector store has expired.
|
|
22
22
|
*/
|
|
23
23
|
export declare function useLlmVectorStoresCreateFileBatchMutation(options?: MutationHookOptions<LlmVectorStoresCreateFileBatchMutationData, LlmVectorStoresCreateFileBatchMutationError, LlmVectorStoresCreateFileBatchMutationVariables>): UseMutationResult<LlmVectorStoresCreateFileBatchMutationData, LlmVectorStoresCreateFileBatchMutationError, LlmVectorStoresCreateFileBatchMutationVariables>;
|
|
24
24
|
export declare function mutationKeyLlmVectorStoresCreateFileBatch(): MutationKey;
|
|
@@ -10,7 +10,7 @@ import { useSDKContext } from "./_context.js";
|
|
|
10
10
|
* Batch add multiple files to vector store
|
|
11
11
|
*
|
|
12
12
|
* @remarks
|
|
13
|
-
* Adds multiple files to a vector store in a single batch operation.
|
|
13
|
+
* Adds multiple files to a vector store in a single batch operation. Returns 410 once the vector store has expired.
|
|
14
14
|
*/
|
|
15
15
|
export function useLlmVectorStoresCreateFileBatchMutation(options) {
|
|
16
16
|
const client = useSDKContext();
|
|
@@ -18,7 +18,7 @@ export type LlmVectorStoresDeleteFileMutationError = SDKError | ResponseValidati
|
|
|
18
18
|
* Remove file from vector store
|
|
19
19
|
*
|
|
20
20
|
* @remarks
|
|
21
|
-
* Removes a file from a vector store and deletes its associated embeddings.
|
|
21
|
+
* 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.
|
|
22
22
|
*/
|
|
23
23
|
export declare function useLlmVectorStoresDeleteFileMutation(options?: MutationHookOptions<LlmVectorStoresDeleteFileMutationData, LlmVectorStoresDeleteFileMutationError, LlmVectorStoresDeleteFileMutationVariables>): UseMutationResult<LlmVectorStoresDeleteFileMutationData, LlmVectorStoresDeleteFileMutationError, LlmVectorStoresDeleteFileMutationVariables>;
|
|
24
24
|
export declare function mutationKeyLlmVectorStoresDeleteFile(): MutationKey;
|
|
@@ -10,7 +10,7 @@ import { useSDKContext } from "./_context.js";
|
|
|
10
10
|
* Remove file from vector store
|
|
11
11
|
*
|
|
12
12
|
* @remarks
|
|
13
|
-
* Removes a file from a vector store and deletes its associated embeddings.
|
|
13
|
+
* 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.
|
|
14
14
|
*/
|
|
15
15
|
export function useLlmVectorStoresDeleteFileMutation(options) {
|
|
16
16
|
const client = useSDKContext();
|
|
@@ -12,14 +12,14 @@ export type LlmVectorStoresGetQueryError = SDKError | ResponseValidationError |
|
|
|
12
12
|
* Retrieve a vector store
|
|
13
13
|
*
|
|
14
14
|
* @remarks
|
|
15
|
-
* Retrieves a vector store by its ID.
|
|
15
|
+
* Retrieves a vector store by its ID. Returns 410 once the vector store has expired.
|
|
16
16
|
*/
|
|
17
17
|
export declare function useLlmVectorStoresGet(request: operations.GetVectorStoreRequest, options?: QueryHookOptions<LlmVectorStoresGetQueryData, LlmVectorStoresGetQueryError>): UseQueryResult<LlmVectorStoresGetQueryData, LlmVectorStoresGetQueryError>;
|
|
18
18
|
/**
|
|
19
19
|
* Retrieve a vector store
|
|
20
20
|
*
|
|
21
21
|
* @remarks
|
|
22
|
-
* Retrieves a vector store by its ID.
|
|
22
|
+
* Retrieves a vector store by its ID. Returns 410 once the vector store has expired.
|
|
23
23
|
*/
|
|
24
24
|
export declare function useLlmVectorStoresGetSuspense(request: operations.GetVectorStoreRequest, options?: SuspenseQueryHookOptions<LlmVectorStoresGetQueryData, LlmVectorStoresGetQueryError>): UseSuspenseQueryResult<LlmVectorStoresGetQueryData, LlmVectorStoresGetQueryError>;
|
|
25
25
|
export declare function setLlmVectorStoresGetData(client: QueryClient, queryKeyBase: [
|
|
@@ -9,7 +9,7 @@ export { buildLlmVectorStoresGetQuery, prefetchLlmVectorStoresGet, queryKeyLlmVe
|
|
|
9
9
|
* Retrieve a vector store
|
|
10
10
|
*
|
|
11
11
|
* @remarks
|
|
12
|
-
* Retrieves a vector store by its ID.
|
|
12
|
+
* Retrieves a vector store by its ID. Returns 410 once the vector store has expired.
|
|
13
13
|
*/
|
|
14
14
|
export function useLlmVectorStoresGet(request, options) {
|
|
15
15
|
const client = useSDKContext();
|
|
@@ -22,7 +22,7 @@ export function useLlmVectorStoresGet(request, options) {
|
|
|
22
22
|
* Retrieve a vector store
|
|
23
23
|
*
|
|
24
24
|
* @remarks
|
|
25
|
-
* Retrieves a vector store by its ID.
|
|
25
|
+
* Retrieves a vector store by its ID. Returns 410 once the vector store has expired.
|
|
26
26
|
*/
|
|
27
27
|
export function useLlmVectorStoresGetSuspense(request, options) {
|
|
28
28
|
const client = useSDKContext();
|
|
@@ -12,14 +12,14 @@ export type LlmVectorStoresGetFileQueryError = SDKError | ResponseValidationErro
|
|
|
12
12
|
* Retrieve a vector store file
|
|
13
13
|
*
|
|
14
14
|
* @remarks
|
|
15
|
-
* Retrieves detailed information about a specific file within a vector store.
|
|
15
|
+
* Retrieves detailed information about a specific file within a vector store. Returns 410 once the vector store has expired.
|
|
16
16
|
*/
|
|
17
17
|
export declare function useLlmVectorStoresGetFile(request: operations.GetVectorStoreFileRequest, options?: QueryHookOptions<LlmVectorStoresGetFileQueryData, LlmVectorStoresGetFileQueryError>): UseQueryResult<LlmVectorStoresGetFileQueryData, LlmVectorStoresGetFileQueryError>;
|
|
18
18
|
/**
|
|
19
19
|
* Retrieve a vector store file
|
|
20
20
|
*
|
|
21
21
|
* @remarks
|
|
22
|
-
* Retrieves detailed information about a specific file within a vector store.
|
|
22
|
+
* Retrieves detailed information about a specific file within a vector store. Returns 410 once the vector store has expired.
|
|
23
23
|
*/
|
|
24
24
|
export declare function useLlmVectorStoresGetFileSuspense(request: operations.GetVectorStoreFileRequest, options?: SuspenseQueryHookOptions<LlmVectorStoresGetFileQueryData, LlmVectorStoresGetFileQueryError>): UseSuspenseQueryResult<LlmVectorStoresGetFileQueryData, LlmVectorStoresGetFileQueryError>;
|
|
25
25
|
export declare function setLlmVectorStoresGetFileData(client: QueryClient, queryKeyBase: [
|
|
@@ -9,7 +9,7 @@ export { buildLlmVectorStoresGetFileQuery, prefetchLlmVectorStoresGetFile, query
|
|
|
9
9
|
* Retrieve a vector store file
|
|
10
10
|
*
|
|
11
11
|
* @remarks
|
|
12
|
-
* Retrieves detailed information about a specific file within a vector store.
|
|
12
|
+
* Retrieves detailed information about a specific file within a vector store. Returns 410 once the vector store has expired.
|
|
13
13
|
*/
|
|
14
14
|
export function useLlmVectorStoresGetFile(request, options) {
|
|
15
15
|
const client = useSDKContext();
|
|
@@ -22,7 +22,7 @@ export function useLlmVectorStoresGetFile(request, options) {
|
|
|
22
22
|
* Retrieve a vector store file
|
|
23
23
|
*
|
|
24
24
|
* @remarks
|
|
25
|
-
* Retrieves detailed information about a specific file within a vector store.
|
|
25
|
+
* Retrieves detailed information about a specific file within a vector store. Returns 410 once the vector store has expired.
|
|
26
26
|
*/
|
|
27
27
|
export function useLlmVectorStoresGetFileSuspense(request, options) {
|
|
28
28
|
const client = useSDKContext();
|
|
@@ -12,14 +12,14 @@ export type LlmVectorStoresGetFileBatchQueryError = SDKError | ResponseValidatio
|
|
|
12
12
|
* Retrieve file batch status
|
|
13
13
|
*
|
|
14
14
|
* @remarks
|
|
15
|
-
* Retrieves the status of a specific file batch operation within a vector store.
|
|
15
|
+
* Retrieves the status of a specific file batch operation within a vector store. Returns 410 once the vector store has expired.
|
|
16
16
|
*/
|
|
17
17
|
export declare function useLlmVectorStoresGetFileBatch(request: operations.GetVectorStoreFileBatchRequest, options?: QueryHookOptions<LlmVectorStoresGetFileBatchQueryData, LlmVectorStoresGetFileBatchQueryError>): UseQueryResult<LlmVectorStoresGetFileBatchQueryData, LlmVectorStoresGetFileBatchQueryError>;
|
|
18
18
|
/**
|
|
19
19
|
* Retrieve file batch status
|
|
20
20
|
*
|
|
21
21
|
* @remarks
|
|
22
|
-
* Retrieves the status of a specific file batch operation within a vector store.
|
|
22
|
+
* Retrieves the status of a specific file batch operation within a vector store. Returns 410 once the vector store has expired.
|
|
23
23
|
*/
|
|
24
24
|
export declare function useLlmVectorStoresGetFileBatchSuspense(request: operations.GetVectorStoreFileBatchRequest, options?: SuspenseQueryHookOptions<LlmVectorStoresGetFileBatchQueryData, LlmVectorStoresGetFileBatchQueryError>): UseSuspenseQueryResult<LlmVectorStoresGetFileBatchQueryData, LlmVectorStoresGetFileBatchQueryError>;
|
|
25
25
|
export declare function setLlmVectorStoresGetFileBatchData(client: QueryClient, queryKeyBase: [
|
|
@@ -9,7 +9,7 @@ export { buildLlmVectorStoresGetFileBatchQuery, prefetchLlmVectorStoresGetFileBa
|
|
|
9
9
|
* Retrieve file batch status
|
|
10
10
|
*
|
|
11
11
|
* @remarks
|
|
12
|
-
* Retrieves the status of a specific file batch operation within a vector store.
|
|
12
|
+
* Retrieves the status of a specific file batch operation within a vector store. Returns 410 once the vector store has expired.
|
|
13
13
|
*/
|
|
14
14
|
export function useLlmVectorStoresGetFileBatch(request, options) {
|
|
15
15
|
const client = useSDKContext();
|
|
@@ -22,7 +22,7 @@ export function useLlmVectorStoresGetFileBatch(request, options) {
|
|
|
22
22
|
* Retrieve file batch status
|
|
23
23
|
*
|
|
24
24
|
* @remarks
|
|
25
|
-
* Retrieves the status of a specific file batch operation within a vector store.
|
|
25
|
+
* Retrieves the status of a specific file batch operation within a vector store. Returns 410 once the vector store has expired.
|
|
26
26
|
*/
|
|
27
27
|
export function useLlmVectorStoresGetFileBatchSuspense(request, options) {
|
|
28
28
|
const client = useSDKContext();
|
|
@@ -12,14 +12,14 @@ export type LlmVectorStoresGetFileContentQueryError = SDKError | ResponseValidat
|
|
|
12
12
|
* Retrieve parsed file content
|
|
13
13
|
*
|
|
14
14
|
* @remarks
|
|
15
|
-
* Retrieves the complete parsed contents of a file within a vector store.
|
|
15
|
+
* Retrieves the complete parsed contents of a file within a vector store. Returns 410 once the vector store has expired.
|
|
16
16
|
*/
|
|
17
17
|
export declare function useLlmVectorStoresGetFileContent(request: operations.GetVectorStoreFileContentRequest, options?: QueryHookOptions<LlmVectorStoresGetFileContentQueryData, LlmVectorStoresGetFileContentQueryError>): UseQueryResult<LlmVectorStoresGetFileContentQueryData, LlmVectorStoresGetFileContentQueryError>;
|
|
18
18
|
/**
|
|
19
19
|
* Retrieve parsed file content
|
|
20
20
|
*
|
|
21
21
|
* @remarks
|
|
22
|
-
* Retrieves the complete parsed contents of a file within a vector store.
|
|
22
|
+
* Retrieves the complete parsed contents of a file within a vector store. Returns 410 once the vector store has expired.
|
|
23
23
|
*/
|
|
24
24
|
export declare function useLlmVectorStoresGetFileContentSuspense(request: operations.GetVectorStoreFileContentRequest, options?: SuspenseQueryHookOptions<LlmVectorStoresGetFileContentQueryData, LlmVectorStoresGetFileContentQueryError>): UseSuspenseQueryResult<LlmVectorStoresGetFileContentQueryData, LlmVectorStoresGetFileContentQueryError>;
|
|
25
25
|
export declare function setLlmVectorStoresGetFileContentData(client: QueryClient, queryKeyBase: [
|
|
@@ -9,7 +9,7 @@ export { buildLlmVectorStoresGetFileContentQuery, prefetchLlmVectorStoresGetFile
|
|
|
9
9
|
* Retrieve parsed file content
|
|
10
10
|
*
|
|
11
11
|
* @remarks
|
|
12
|
-
* Retrieves the complete parsed contents of a file within a vector store.
|
|
12
|
+
* Retrieves the complete parsed contents of a file within a vector store. Returns 410 once the vector store has expired.
|
|
13
13
|
*/
|
|
14
14
|
export function useLlmVectorStoresGetFileContent(request, options) {
|
|
15
15
|
const client = useSDKContext();
|
|
@@ -22,7 +22,7 @@ export function useLlmVectorStoresGetFileContent(request, options) {
|
|
|
22
22
|
* Retrieve parsed file content
|
|
23
23
|
*
|
|
24
24
|
* @remarks
|
|
25
|
-
* Retrieves the complete parsed contents of a file within a vector store.
|
|
25
|
+
* Retrieves the complete parsed contents of a file within a vector store. Returns 410 once the vector store has expired.
|
|
26
26
|
*/
|
|
27
27
|
export function useLlmVectorStoresGetFileContentSuspense(request, options) {
|
|
28
28
|
const client = useSDKContext();
|
|
@@ -12,14 +12,14 @@ export type LlmVectorStoresListFilesQueryError = SDKError | ResponseValidationEr
|
|
|
12
12
|
* List files in a vector store
|
|
13
13
|
*
|
|
14
14
|
* @remarks
|
|
15
|
-
* Retrieves a paginated list of all files in a specific vector store.
|
|
15
|
+
* Retrieves a paginated list of all files in a specific vector store. Returns 410 once the vector store has expired.
|
|
16
16
|
*/
|
|
17
17
|
export declare function useLlmVectorStoresListFiles(request: operations.ListVectorStoreFilesRequest, options?: QueryHookOptions<LlmVectorStoresListFilesQueryData, LlmVectorStoresListFilesQueryError>): UseQueryResult<LlmVectorStoresListFilesQueryData, LlmVectorStoresListFilesQueryError>;
|
|
18
18
|
/**
|
|
19
19
|
* List files in a vector store
|
|
20
20
|
*
|
|
21
21
|
* @remarks
|
|
22
|
-
* Retrieves a paginated list of all files in a specific vector store.
|
|
22
|
+
* Retrieves a paginated list of all files in a specific vector store. Returns 410 once the vector store has expired.
|
|
23
23
|
*/
|
|
24
24
|
export declare function useLlmVectorStoresListFilesSuspense(request: operations.ListVectorStoreFilesRequest, options?: SuspenseQueryHookOptions<LlmVectorStoresListFilesQueryData, LlmVectorStoresListFilesQueryError>): UseSuspenseQueryResult<LlmVectorStoresListFilesQueryData, LlmVectorStoresListFilesQueryError>;
|
|
25
25
|
export declare function setLlmVectorStoresListFilesData(client: QueryClient, queryKeyBase: [
|
|
@@ -9,7 +9,7 @@ export { buildLlmVectorStoresListFilesQuery, prefetchLlmVectorStoresListFiles, q
|
|
|
9
9
|
* List files in a vector store
|
|
10
10
|
*
|
|
11
11
|
* @remarks
|
|
12
|
-
* Retrieves a paginated list of all files in a specific vector store.
|
|
12
|
+
* Retrieves a paginated list of all files in a specific vector store. Returns 410 once the vector store has expired.
|
|
13
13
|
*/
|
|
14
14
|
export function useLlmVectorStoresListFiles(request, options) {
|
|
15
15
|
const client = useSDKContext();
|
|
@@ -22,7 +22,7 @@ export function useLlmVectorStoresListFiles(request, options) {
|
|
|
22
22
|
* List files in a vector store
|
|
23
23
|
*
|
|
24
24
|
* @remarks
|
|
25
|
-
* Retrieves a paginated list of all files in a specific vector store.
|
|
25
|
+
* Retrieves a paginated list of all files in a specific vector store. Returns 410 once the vector store has expired.
|
|
26
26
|
*/
|
|
27
27
|
export function useLlmVectorStoresListFilesSuspense(request, options) {
|
|
28
28
|
const client = useSDKContext();
|
|
@@ -12,14 +12,14 @@ export type LlmVectorStoresListFilesInBatchQueryError = SDKError | ResponseValid
|
|
|
12
12
|
* List files in a batch
|
|
13
13
|
*
|
|
14
14
|
* @remarks
|
|
15
|
-
* Retrieves a paginated list of all files within a specific batch operation.
|
|
15
|
+
* Retrieves a paginated list of all files within a specific batch operation. Returns 410 once the vector store has expired.
|
|
16
16
|
*/
|
|
17
17
|
export declare function useLlmVectorStoresListFilesInBatch(request: operations.ListVectorStoreFilesInBatchRequest, options?: QueryHookOptions<LlmVectorStoresListFilesInBatchQueryData, LlmVectorStoresListFilesInBatchQueryError>): UseQueryResult<LlmVectorStoresListFilesInBatchQueryData, LlmVectorStoresListFilesInBatchQueryError>;
|
|
18
18
|
/**
|
|
19
19
|
* List files in a batch
|
|
20
20
|
*
|
|
21
21
|
* @remarks
|
|
22
|
-
* Retrieves a paginated list of all files within a specific batch operation.
|
|
22
|
+
* Retrieves a paginated list of all files within a specific batch operation. Returns 410 once the vector store has expired.
|
|
23
23
|
*/
|
|
24
24
|
export declare function useLlmVectorStoresListFilesInBatchSuspense(request: operations.ListVectorStoreFilesInBatchRequest, options?: SuspenseQueryHookOptions<LlmVectorStoresListFilesInBatchQueryData, LlmVectorStoresListFilesInBatchQueryError>): UseSuspenseQueryResult<LlmVectorStoresListFilesInBatchQueryData, LlmVectorStoresListFilesInBatchQueryError>;
|
|
25
25
|
export declare function setLlmVectorStoresListFilesInBatchData(client: QueryClient, queryKeyBase: [
|
|
@@ -9,7 +9,7 @@ export { buildLlmVectorStoresListFilesInBatchQuery, prefetchLlmVectorStoresListF
|
|
|
9
9
|
* List files in a batch
|
|
10
10
|
*
|
|
11
11
|
* @remarks
|
|
12
|
-
* Retrieves a paginated list of all files within a specific batch operation.
|
|
12
|
+
* Retrieves a paginated list of all files within a specific batch operation. Returns 410 once the vector store has expired.
|
|
13
13
|
*/
|
|
14
14
|
export function useLlmVectorStoresListFilesInBatch(request, options) {
|
|
15
15
|
const client = useSDKContext();
|
|
@@ -22,7 +22,7 @@ export function useLlmVectorStoresListFilesInBatch(request, options) {
|
|
|
22
22
|
* List files in a batch
|
|
23
23
|
*
|
|
24
24
|
* @remarks
|
|
25
|
-
* Retrieves a paginated list of all files within a specific batch operation.
|
|
25
|
+
* Retrieves a paginated list of all files within a specific batch operation. Returns 410 once the vector store has expired.
|
|
26
26
|
*/
|
|
27
27
|
export function useLlmVectorStoresListFilesInBatchSuspense(request, options) {
|
|
28
28
|
const client = useSDKContext();
|
|
@@ -18,7 +18,7 @@ export type LlmVectorStoresSearchMutationError = SDKError | ResponseValidationEr
|
|
|
18
18
|
* Search a vector store
|
|
19
19
|
*
|
|
20
20
|
* @remarks
|
|
21
|
-
* Performs semantic search within a vector store to find the most relevant document chunks for a query.
|
|
21
|
+
* 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.
|
|
22
22
|
*/
|
|
23
23
|
export declare function useLlmVectorStoresSearchMutation(options?: MutationHookOptions<LlmVectorStoresSearchMutationData, LlmVectorStoresSearchMutationError, LlmVectorStoresSearchMutationVariables>): UseMutationResult<LlmVectorStoresSearchMutationData, LlmVectorStoresSearchMutationError, LlmVectorStoresSearchMutationVariables>;
|
|
24
24
|
export declare function mutationKeyLlmVectorStoresSearch(): MutationKey;
|
|
@@ -10,7 +10,7 @@ import { useSDKContext } from "./_context.js";
|
|
|
10
10
|
* Search a vector store
|
|
11
11
|
*
|
|
12
12
|
* @remarks
|
|
13
|
-
* Performs semantic search within a vector store to find the most relevant document chunks for a query.
|
|
13
|
+
* 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.
|
|
14
14
|
*/
|
|
15
15
|
export function useLlmVectorStoresSearchMutation(options) {
|
|
16
16
|
const client = useSDKContext();
|
|
@@ -18,7 +18,7 @@ export type LlmVectorStoresUpdateMutationError = SDKError | ResponseValidationEr
|
|
|
18
18
|
* Modify a vector store
|
|
19
19
|
*
|
|
20
20
|
* @remarks
|
|
21
|
-
* Updates the properties of an existing vector store.
|
|
21
|
+
* Updates the properties of an existing vector store. Returns 410 once the vector store has expired.
|
|
22
22
|
*/
|
|
23
23
|
export declare function useLlmVectorStoresUpdateMutation(options?: MutationHookOptions<LlmVectorStoresUpdateMutationData, LlmVectorStoresUpdateMutationError, LlmVectorStoresUpdateMutationVariables>): UseMutationResult<LlmVectorStoresUpdateMutationData, LlmVectorStoresUpdateMutationError, LlmVectorStoresUpdateMutationVariables>;
|
|
24
24
|
export declare function mutationKeyLlmVectorStoresUpdate(): MutationKey;
|
|
@@ -10,7 +10,7 @@ import { useSDKContext } from "./_context.js";
|
|
|
10
10
|
* Modify a vector store
|
|
11
11
|
*
|
|
12
12
|
* @remarks
|
|
13
|
-
* Updates the properties of an existing vector store.
|
|
13
|
+
* Updates the properties of an existing vector store. Returns 410 once the vector store has expired.
|
|
14
14
|
*/
|
|
15
15
|
export function useLlmVectorStoresUpdateMutation(options) {
|
|
16
16
|
const client = useSDKContext();
|
|
@@ -18,7 +18,7 @@ export type LlmVectorStoresUpdateFileMutationError = SDKError | ResponseValidati
|
|
|
18
18
|
* Update file attributes
|
|
19
19
|
*
|
|
20
20
|
* @remarks
|
|
21
|
-
* Updates the metadata attributes attached to a file within a vector store.
|
|
21
|
+
* Updates the metadata attributes attached to a file within a vector store. Returns 410 once the vector store has expired.
|
|
22
22
|
*/
|
|
23
23
|
export declare function useLlmVectorStoresUpdateFileMutation(options?: MutationHookOptions<LlmVectorStoresUpdateFileMutationData, LlmVectorStoresUpdateFileMutationError, LlmVectorStoresUpdateFileMutationVariables>): UseMutationResult<LlmVectorStoresUpdateFileMutationData, LlmVectorStoresUpdateFileMutationError, LlmVectorStoresUpdateFileMutationVariables>;
|
|
24
24
|
export declare function mutationKeyLlmVectorStoresUpdateFile(): MutationKey;
|
|
@@ -10,7 +10,7 @@ import { useSDKContext } from "./_context.js";
|
|
|
10
10
|
* Update file attributes
|
|
11
11
|
*
|
|
12
12
|
* @remarks
|
|
13
|
-
* Updates the metadata attributes attached to a file within a vector store.
|
|
13
|
+
* Updates the metadata attributes attached to a file within a vector store. Returns 410 once the vector store has expired.
|
|
14
14
|
*/
|
|
15
15
|
export function useLlmVectorStoresUpdateFileMutation(options) {
|
|
16
16
|
const client = useSDKContext();
|
package/dist/esm/sdk/files.d.ts
CHANGED
|
@@ -29,7 +29,7 @@ export declare class Files extends ClientSDK {
|
|
|
29
29
|
* Delete file
|
|
30
30
|
*
|
|
31
31
|
* @remarks
|
|
32
|
-
* Delete a file from storage.
|
|
32
|
+
* 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.
|
|
33
33
|
*/
|
|
34
34
|
delete(request: operations.DeleteFileRequest, options?: RequestOptions): Promise<components.FileDeletionStatus>;
|
|
35
35
|
/**
|
package/dist/esm/sdk/files.js
CHANGED
|
@@ -41,7 +41,7 @@ export class Files extends ClientSDK {
|
|
|
41
41
|
* Delete file
|
|
42
42
|
*
|
|
43
43
|
* @remarks
|
|
44
|
-
* Delete a file from storage.
|
|
44
|
+
* 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.
|
|
45
45
|
*/
|
|
46
46
|
async delete(request, options) {
|
|
47
47
|
return unwrapAsync(llmFilesDelete(this, request, options));
|