@next-api-sdk/llm-sdk 1.1.1 → 1.1.3
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/dist/cjs/api/llm/agent/baseGeneralAgent.js +1 -1
- package/dist/cjs/api/llm/agent/baseGeneralAgent.js.map +1 -1
- package/dist/cjs/api/llm/agent/webSearchAgent.js +1 -1
- package/dist/cjs/api/llm/agent/webSearchAgent.js.map +1 -1
- package/dist/cjs/api/llm/aiops_base/deleteEmbedding.js +1 -1
- package/dist/cjs/api/llm/aiops_base/deleteEmbedding.js.map +1 -1
- package/dist/cjs/api/llm/aiops_base/deleteKnowledge.js +1 -1
- package/dist/cjs/api/llm/aiops_base/deleteKnowledge.js.map +1 -1
- package/dist/cjs/api/llm/aiops_base/importDocumentEmbeddings.js +1 -1
- package/dist/cjs/api/llm/aiops_base/importDocumentEmbeddings.js.map +1 -1
- package/dist/cjs/api/llm/aiops_base/llmChatServiceV1.js +1 -1
- package/dist/cjs/api/llm/aiops_base/llmChatServiceV1.js.map +1 -1
- package/dist/cjs/api/llm/aiops_base/openaiChat.js +1 -1
- package/dist/cjs/api/llm/aiops_base/openaiChat.js.map +1 -1
- package/dist/cjs/api/llm/aiops_base/searchEmbedding.js +1 -1
- package/dist/cjs/api/llm/aiops_base/searchEmbedding.js.map +1 -1
- package/dist/cjs/api/llm/aiops_base/upsertDocument.js +1 -1
- package/dist/cjs/api/llm/aiops_base/upsertDocument.js.map +1 -1
- package/dist/cjs/api/llm/aiops_base/upsertWithDocId.js +1 -1
- package/dist/cjs/api/llm/aiops_base/upsertWithDocId.js.map +1 -1
- package/dist/cjs/api/llm/aiops_memory/createMemoryEnv.js +1 -1
- package/dist/cjs/api/llm/aiops_memory/createMemoryEnv.js.map +1 -1
- package/dist/cjs/api/llm/aiops_memory/deleteLlmMemoryWithConversationId.js +1 -1
- package/dist/cjs/api/llm/aiops_memory/deleteLlmMemoryWithConversationId.js.map +1 -1
- package/dist/cjs/api/llm/aiops_memory/deleteLlmMemoryWithConversationIdAndKey.js +1 -1
- package/dist/cjs/api/llm/aiops_memory/deleteLlmMemoryWithConversationIdAndKey.js.map +1 -1
- package/dist/cjs/api/llm/aiops_memory/deleteMemoryEnv.js +1 -1
- package/dist/cjs/api/llm/aiops_memory/deleteMemoryEnv.js.map +1 -1
- package/dist/cjs/api/llm/aiops_memory/getLlmMemoryWithConversationId.js +1 -1
- package/dist/cjs/api/llm/aiops_memory/getLlmMemoryWithConversationId.js.map +1 -1
- package/dist/cjs/api/llm/aiops_memory/getLlmMemoryWithConversationIdAndKey.js +1 -1
- package/dist/cjs/api/llm/aiops_memory/getLlmMemoryWithConversationIdAndKey.js.map +1 -1
- package/dist/cjs/api/llm/aiops_memory/searchMemoryEnv.js +1 -1
- package/dist/cjs/api/llm/aiops_memory/searchMemoryEnv.js.map +1 -1
- package/dist/cjs/api/llm/aiops_memory/updateMemoryEnv.js +1 -1
- package/dist/cjs/api/llm/aiops_memory/updateMemoryEnv.js.map +1 -1
- package/dist/cjs/api/llm/aiops_memory/upsertLlmMemoryWithConversationIdAndKey.js +1 -1
- package/dist/cjs/api/llm/aiops_memory/upsertLlmMemoryWithConversationIdAndKey.js.map +1 -1
- package/dist/cjs/api/llm/aiops_prompt/llmDeletePrompt.js +1 -1
- package/dist/cjs/api/llm/aiops_prompt/llmDeletePrompt.js.map +1 -1
- package/dist/cjs/api/llm/aiops_prompt/llmGetPrompt.js +1 -1
- package/dist/cjs/api/llm/aiops_prompt/llmGetPrompt.js.map +1 -1
- package/dist/cjs/api/llm/aiops_prompt/llmUpsertPrompt.js +1 -1
- package/dist/cjs/api/llm/aiops_prompt/llmUpsertPrompt.js.map +1 -1
- package/dist/cjs/api/llm/aiops_rag/addSynonymsWords.js +1 -1
- package/dist/cjs/api/llm/aiops_rag/addSynonymsWords.js.map +1 -1
- package/dist/cjs/api/llm/aiops_rag/importConfluenceEmbedding.js +1 -1
- package/dist/cjs/api/llm/aiops_rag/importConfluenceEmbedding.js.map +1 -1
- package/dist/cjs/api/llm/aiops_rag/importUrlEmbedding.js +1 -1
- package/dist/cjs/api/llm/aiops_rag/importUrlEmbedding.js.map +1 -1
- package/dist/cjs/api/llm/aiops_rag/upsertKnowledgeDocument.js +1 -1
- package/dist/cjs/api/llm/aiops_rag/upsertKnowledgeDocument.js.map +1 -1
- package/dist/cjs/api/llm/aiops_service/exportAgents.js +1 -1
- package/dist/cjs/api/llm/aiops_service/exportAgents.js.map +1 -1
- package/dist/cjs/api/llm/aiops_service/exportConversation.js +1 -1
- package/dist/cjs/api/llm/aiops_service/exportConversation.js.map +1 -1
- package/dist/cjs/api/llm/aiops_service/exportRobots.js +1 -1
- package/dist/cjs/api/llm/aiops_service/exportRobots.js.map +1 -1
- package/dist/cjs/api/llm/aiops_service/exportTools.js +1 -1
- package/dist/cjs/api/llm/aiops_service/exportTools.js.map +1 -1
- package/dist/cjs/api/llm/aiops_service/importAgents.js +1 -1
- package/dist/cjs/api/llm/aiops_service/importAgents.js.map +1 -1
- package/dist/cjs/api/llm/aiops_service/importConfluenceEmbedding.js +1 -1
- package/dist/cjs/api/llm/aiops_service/importConfluenceEmbedding.js.map +1 -1
- package/dist/cjs/api/llm/aiops_service/importDocumentEmbedding.js +1 -1
- package/dist/cjs/api/llm/aiops_service/importDocumentEmbedding.js.map +1 -1
- package/dist/cjs/api/llm/aiops_service/importRobots.js +1 -1
- package/dist/cjs/api/llm/aiops_service/importRobots.js.map +1 -1
- package/dist/cjs/api/llm/aiops_service/importTools.js +1 -1
- package/dist/cjs/api/llm/aiops_service/importTools.js.map +1 -1
- package/dist/cjs/api/llm/aiops_service/llmAgentChat.js +1 -1
- package/dist/cjs/api/llm/aiops_service/llmAgentChat.js.map +1 -1
- package/dist/cjs/api/llm/aiops_service/llmChatSelectAgent.js +1 -1
- package/dist/cjs/api/llm/aiops_service/llmChatSelectAgent.js.map +1 -1
- package/dist/cjs/api/llm/aiops_service/llmChatService.js +1 -1
- package/dist/cjs/api/llm/aiops_service/llmChatService.js.map +1 -1
- package/dist/cjs/api/llm/aiops_service/llmCreateConversation.js +1 -1
- package/dist/cjs/api/llm/aiops_service/llmCreateConversation.js.map +1 -1
- package/dist/cjs/api/llm/aiops_service/llmEmbeddingDeleteDocs.js +1 -1
- package/dist/cjs/api/llm/aiops_service/llmEmbeddingDeleteDocs.js.map +1 -1
- package/dist/cjs/api/llm/aiops_service/llmEmbeddingImportUrl.js +1 -1
- package/dist/cjs/api/llm/aiops_service/llmEmbeddingImportUrl.js.map +1 -1
- package/dist/cjs/api/llm/aiops_service/llmEmbeddingSearch.js +1 -1
- package/dist/cjs/api/llm/aiops_service/llmEmbeddingSearch.js.map +1 -1
- package/dist/cjs/api/llm/aiops_service/llmExecTools.js +1 -1
- package/dist/cjs/api/llm/aiops_service/llmExecTools.js.map +1 -1
- package/dist/cjs/api/llm/aiops_service/llmRobotChat.js +1 -1
- package/dist/cjs/api/llm/aiops_service/llmRobotChat.js.map +1 -1
- package/dist/cjs/api/llm/aiops_service/llmStreamChatService.js +1 -1
- package/dist/cjs/api/llm/aiops_service/llmStreamChatService.js.map +1 -1
- package/dist/cjs/api/llm/aiops_tools/summaryQuestionV2.js +1 -1
- package/dist/cjs/api/llm/aiops_tools/summaryQuestionV2.js.map +1 -1
- package/dist/cjs/api/llm/aiops_tools/templateLlmChatV2.js +1 -1
- package/dist/cjs/api/llm/aiops_tools/templateLlmChatV2.js.map +1 -1
- package/dist/cjs/api/llm/virtual_builder/generateStoryboard.js +1 -1
- package/dist/cjs/api/llm/virtual_builder/generateStoryboard.js.map +1 -1
- package/dist/cjs/api/llm/virtual_builder/generateStoryboardStream.js +1 -1
- package/dist/cjs/api/llm/virtual_builder/generateStoryboardStream.js.map +1 -1
- package/dist/esm/api/llm/agent/baseGeneralAgent.js +1 -1
- package/dist/esm/api/llm/agent/baseGeneralAgent.js.map +1 -1
- package/dist/esm/api/llm/agent/webSearchAgent.js +1 -1
- package/dist/esm/api/llm/agent/webSearchAgent.js.map +1 -1
- package/dist/esm/api/llm/aiops_base/deleteEmbedding.js +1 -1
- package/dist/esm/api/llm/aiops_base/deleteEmbedding.js.map +1 -1
- package/dist/esm/api/llm/aiops_base/deleteKnowledge.js +1 -1
- package/dist/esm/api/llm/aiops_base/deleteKnowledge.js.map +1 -1
- package/dist/esm/api/llm/aiops_base/importDocumentEmbeddings.js +1 -1
- package/dist/esm/api/llm/aiops_base/importDocumentEmbeddings.js.map +1 -1
- package/dist/esm/api/llm/aiops_base/llmChatServiceV1.js +1 -1
- package/dist/esm/api/llm/aiops_base/llmChatServiceV1.js.map +1 -1
- package/dist/esm/api/llm/aiops_base/openaiChat.js +1 -1
- package/dist/esm/api/llm/aiops_base/openaiChat.js.map +1 -1
- package/dist/esm/api/llm/aiops_base/searchEmbedding.js +1 -1
- package/dist/esm/api/llm/aiops_base/searchEmbedding.js.map +1 -1
- package/dist/esm/api/llm/aiops_base/upsertDocument.js +1 -1
- package/dist/esm/api/llm/aiops_base/upsertDocument.js.map +1 -1
- package/dist/esm/api/llm/aiops_base/upsertWithDocId.js +1 -1
- package/dist/esm/api/llm/aiops_base/upsertWithDocId.js.map +1 -1
- package/dist/esm/api/llm/aiops_memory/createMemoryEnv.js +1 -1
- package/dist/esm/api/llm/aiops_memory/createMemoryEnv.js.map +1 -1
- package/dist/esm/api/llm/aiops_memory/deleteLlmMemoryWithConversationId.js +1 -1
- package/dist/esm/api/llm/aiops_memory/deleteLlmMemoryWithConversationId.js.map +1 -1
- package/dist/esm/api/llm/aiops_memory/deleteLlmMemoryWithConversationIdAndKey.js +1 -1
- package/dist/esm/api/llm/aiops_memory/deleteLlmMemoryWithConversationIdAndKey.js.map +1 -1
- package/dist/esm/api/llm/aiops_memory/deleteMemoryEnv.js +1 -1
- package/dist/esm/api/llm/aiops_memory/deleteMemoryEnv.js.map +1 -1
- package/dist/esm/api/llm/aiops_memory/getLlmMemoryWithConversationId.js +1 -1
- package/dist/esm/api/llm/aiops_memory/getLlmMemoryWithConversationId.js.map +1 -1
- package/dist/esm/api/llm/aiops_memory/getLlmMemoryWithConversationIdAndKey.js +1 -1
- package/dist/esm/api/llm/aiops_memory/getLlmMemoryWithConversationIdAndKey.js.map +1 -1
- package/dist/esm/api/llm/aiops_memory/searchMemoryEnv.js +1 -1
- package/dist/esm/api/llm/aiops_memory/searchMemoryEnv.js.map +1 -1
- package/dist/esm/api/llm/aiops_memory/updateMemoryEnv.js +1 -1
- package/dist/esm/api/llm/aiops_memory/updateMemoryEnv.js.map +1 -1
- package/dist/esm/api/llm/aiops_memory/upsertLlmMemoryWithConversationIdAndKey.js +1 -1
- package/dist/esm/api/llm/aiops_memory/upsertLlmMemoryWithConversationIdAndKey.js.map +1 -1
- package/dist/esm/api/llm/aiops_prompt/llmDeletePrompt.js +1 -1
- package/dist/esm/api/llm/aiops_prompt/llmDeletePrompt.js.map +1 -1
- package/dist/esm/api/llm/aiops_prompt/llmGetPrompt.js +1 -1
- package/dist/esm/api/llm/aiops_prompt/llmGetPrompt.js.map +1 -1
- package/dist/esm/api/llm/aiops_prompt/llmUpsertPrompt.js +1 -1
- package/dist/esm/api/llm/aiops_prompt/llmUpsertPrompt.js.map +1 -1
- package/dist/esm/api/llm/aiops_rag/addSynonymsWords.js +1 -1
- package/dist/esm/api/llm/aiops_rag/addSynonymsWords.js.map +1 -1
- package/dist/esm/api/llm/aiops_rag/importConfluenceEmbedding.js +1 -1
- package/dist/esm/api/llm/aiops_rag/importConfluenceEmbedding.js.map +1 -1
- package/dist/esm/api/llm/aiops_rag/importUrlEmbedding.js +1 -1
- package/dist/esm/api/llm/aiops_rag/importUrlEmbedding.js.map +1 -1
- package/dist/esm/api/llm/aiops_rag/upsertKnowledgeDocument.js +1 -1
- package/dist/esm/api/llm/aiops_rag/upsertKnowledgeDocument.js.map +1 -1
- package/dist/esm/api/llm/aiops_service/exportAgents.js +1 -1
- package/dist/esm/api/llm/aiops_service/exportAgents.js.map +1 -1
- package/dist/esm/api/llm/aiops_service/exportConversation.js +1 -1
- package/dist/esm/api/llm/aiops_service/exportConversation.js.map +1 -1
- package/dist/esm/api/llm/aiops_service/exportRobots.js +1 -1
- package/dist/esm/api/llm/aiops_service/exportRobots.js.map +1 -1
- package/dist/esm/api/llm/aiops_service/exportTools.js +1 -1
- package/dist/esm/api/llm/aiops_service/exportTools.js.map +1 -1
- package/dist/esm/api/llm/aiops_service/importAgents.js +1 -1
- package/dist/esm/api/llm/aiops_service/importAgents.js.map +1 -1
- package/dist/esm/api/llm/aiops_service/importConfluenceEmbedding.js +1 -1
- package/dist/esm/api/llm/aiops_service/importConfluenceEmbedding.js.map +1 -1
- package/dist/esm/api/llm/aiops_service/importDocumentEmbedding.js +1 -1
- package/dist/esm/api/llm/aiops_service/importDocumentEmbedding.js.map +1 -1
- package/dist/esm/api/llm/aiops_service/importRobots.js +1 -1
- package/dist/esm/api/llm/aiops_service/importRobots.js.map +1 -1
- package/dist/esm/api/llm/aiops_service/importTools.js +1 -1
- package/dist/esm/api/llm/aiops_service/importTools.js.map +1 -1
- package/dist/esm/api/llm/aiops_service/llmAgentChat.js +1 -1
- package/dist/esm/api/llm/aiops_service/llmAgentChat.js.map +1 -1
- package/dist/esm/api/llm/aiops_service/llmChatSelectAgent.js +1 -1
- package/dist/esm/api/llm/aiops_service/llmChatSelectAgent.js.map +1 -1
- package/dist/esm/api/llm/aiops_service/llmChatService.js +1 -1
- package/dist/esm/api/llm/aiops_service/llmChatService.js.map +1 -1
- package/dist/esm/api/llm/aiops_service/llmCreateConversation.js +1 -1
- package/dist/esm/api/llm/aiops_service/llmCreateConversation.js.map +1 -1
- package/dist/esm/api/llm/aiops_service/llmEmbeddingDeleteDocs.js +1 -1
- package/dist/esm/api/llm/aiops_service/llmEmbeddingDeleteDocs.js.map +1 -1
- package/dist/esm/api/llm/aiops_service/llmEmbeddingImportUrl.js +1 -1
- package/dist/esm/api/llm/aiops_service/llmEmbeddingImportUrl.js.map +1 -1
- package/dist/esm/api/llm/aiops_service/llmEmbeddingSearch.js +1 -1
- package/dist/esm/api/llm/aiops_service/llmEmbeddingSearch.js.map +1 -1
- package/dist/esm/api/llm/aiops_service/llmExecTools.js +1 -1
- package/dist/esm/api/llm/aiops_service/llmExecTools.js.map +1 -1
- package/dist/esm/api/llm/aiops_service/llmRobotChat.js +1 -1
- package/dist/esm/api/llm/aiops_service/llmRobotChat.js.map +1 -1
- package/dist/esm/api/llm/aiops_service/llmStreamChatService.js +1 -1
- package/dist/esm/api/llm/aiops_service/llmStreamChatService.js.map +1 -1
- package/dist/esm/api/llm/aiops_tools/summaryQuestionV2.js +1 -1
- package/dist/esm/api/llm/aiops_tools/summaryQuestionV2.js.map +1 -1
- package/dist/esm/api/llm/aiops_tools/templateLlmChatV2.js +1 -1
- package/dist/esm/api/llm/aiops_tools/templateLlmChatV2.js.map +1 -1
- package/dist/esm/api/llm/virtual_builder/generateStoryboard.js +1 -1
- package/dist/esm/api/llm/virtual_builder/generateStoryboard.js.map +1 -1
- package/dist/esm/api/llm/virtual_builder/generateStoryboardStream.js +1 -1
- package/dist/esm/api/llm/virtual_builder/generateStoryboardStream.js.map +1 -1
- package/package.json +2 -2
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"generateStoryboard.js","names":["_http","require","VirtualBuilderApi_generateStoryboard","data","options","http","post","exports"],"sources":["../../../../../src/api/llm/virtual_builder/generateStoryboard.ts"],"sourcesContent":["import { http, HttpOptions } from \"@next-core/http\";\nimport { ResponseBodyWrapper } from \"../../../wrapper.js\";\n\nexport interface VirtualBuilderApi_GenerateStoryboardRequestBody {\n /** 用户输入 */\n userInput: string;\n\n /** 会话id */\n sessionId?: string;\n}\n\nexport interface VirtualBuilderApi_GenerateStoryboardResponseBody {\n /** llm的输出 */\n outputs?: VirtualBuilderApi_GenerateStoryboardResponseBody_outputs_item[];\n\n /** 会话id */\n sessionId?: string;\n}\n\n/**\n * @description 自动生成brick\n * @endpoint POST /api/v1/llm/virtual_builder/generate_storyboard\n */\nexport const VirtualBuilderApi_generateStoryboard = async (\n data: VirtualBuilderApi_GenerateStoryboardRequestBody,\n options?: HttpOptions\n): Promise<VirtualBuilderApi_GenerateStoryboardResponseBody> =>\n /**! @contract easyops.api.llm.virtual_builder.GenerateStoryboard@1.0.0 */ (\n await http.post<\n ResponseBodyWrapper<VirtualBuilderApi_GenerateStoryboardResponseBody>\n >(\n \"api/gateway/llm.virtual_builder
|
1
|
+
{"version":3,"file":"generateStoryboard.js","names":["_http","require","VirtualBuilderApi_generateStoryboard","data","options","http","post","exports"],"sources":["../../../../../src/api/llm/virtual_builder/generateStoryboard.ts"],"sourcesContent":["import { http, HttpOptions } from \"@next-core/http\";\nimport { ResponseBodyWrapper } from \"../../../wrapper.js\";\n\nexport interface VirtualBuilderApi_GenerateStoryboardRequestBody {\n /** 用户输入 */\n userInput: string;\n\n /** 会话id */\n sessionId?: string;\n}\n\nexport interface VirtualBuilderApi_GenerateStoryboardResponseBody {\n /** llm的输出 */\n outputs?: VirtualBuilderApi_GenerateStoryboardResponseBody_outputs_item[];\n\n /** 会话id */\n sessionId?: string;\n}\n\n/**\n * @description 自动生成brick\n * @endpoint POST /api/v1/llm/virtual_builder/generate_storyboard\n */\nexport const VirtualBuilderApi_generateStoryboard = async (\n data: VirtualBuilderApi_GenerateStoryboardRequestBody,\n options?: HttpOptions\n): Promise<VirtualBuilderApi_GenerateStoryboardResponseBody> =>\n /**! @contract easyops.api.llm.virtual_builder.GenerateStoryboard@1.0.0 */ (\n await http.post<\n ResponseBodyWrapper<VirtualBuilderApi_GenerateStoryboardResponseBody>\n >(\n \"api/gateway/logic.llm.virtual_builder/api/v1/llm/virtual_builder/generate_storyboard\",\n data,\n options\n )\n ).data;\n\nexport interface VirtualBuilderApi_GenerateStoryboardResponseBody_outputs_item {\n /** 输出内容的类型,markdown或者storyboard */\n type?: \"markdown\" | \"storyboard\";\n\n /** 输出内容 */\n content?: string;\n}\n"],"mappings":";;;;;;AAAA,IAAAA,KAAA,GAAAC,OAAA;AAmBA;AACA;AACA;AACA;AACO,MAAMC,oCAAoC,GAAG,MAAAA,CAClDC,IAAqD,EACrDC,OAAqB,KAErB,0EAA2E,CACzE,MAAMC,UAAI,CAACC,IAAI,CAGb,sFAAsF,EACtFH,IAAI,EACJC,OACF,CAAC,EACDD,IAAI;AAACI,OAAA,CAAAL,oCAAA,GAAAA,oCAAA","ignoreList":[]}
|
@@ -9,6 +9,6 @@ var _http = require("@next-core/http");
|
|
9
9
|
* @description 流式自动生成brick
|
10
10
|
* @endpoint POST /api/v1/llm/virtual_builder/generate_storyboard/stream
|
11
11
|
*/
|
12
|
-
const VirtualBuilderApi_generateStoryboardStream = async (data, options) => /**! @contract easyops.api.llm.virtual_builder.GenerateStoryboardStream@1.0.0 */(await _http.http.post("api/gateway/llm.virtual_builder
|
12
|
+
const VirtualBuilderApi_generateStoryboardStream = async (data, options) => /**! @contract easyops.api.llm.virtual_builder.GenerateStoryboardStream@1.0.0 */(await _http.http.post("api/gateway/logic.llm.virtual_builder/api/v1/llm/virtual_builder/generate_storyboard/stream", data, options)).data;
|
13
13
|
exports.VirtualBuilderApi_generateStoryboardStream = VirtualBuilderApi_generateStoryboardStream;
|
14
14
|
//# sourceMappingURL=generateStoryboardStream.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"generateStoryboardStream.js","names":["_http","require","VirtualBuilderApi_generateStoryboardStream","data","options","http","post","exports"],"sources":["../../../../../src/api/llm/virtual_builder/generateStoryboardStream.ts"],"sourcesContent":["import { http, HttpOptions } from \"@next-core/http\";\nimport { ResponseBodyWrapper } from \"../../../wrapper.js\";\n\nexport interface VirtualBuilderApi_GenerateStoryboardStreamRequestBody {\n /** 用户输入 */\n userInput: string;\n\n /** 会话id */\n sessionId?: string;\n}\n\nexport interface VirtualBuilderApi_GenerateStoryboardStreamResponseBody {\n /** websocket消息信息 */\n websocket?: VirtualBuilderApi_GenerateStoryboardStreamResponseBody_websocket;\n\n /** 会话id */\n sessionId?: string;\n}\n\n/**\n * @description 流式自动生成brick\n * @endpoint POST /api/v1/llm/virtual_builder/generate_storyboard/stream\n */\nexport const VirtualBuilderApi_generateStoryboardStream = async (\n data: VirtualBuilderApi_GenerateStoryboardStreamRequestBody,\n options?: HttpOptions\n): Promise<VirtualBuilderApi_GenerateStoryboardStreamResponseBody> =>\n /**! @contract easyops.api.llm.virtual_builder.GenerateStoryboardStream@1.0.0 */ (\n await http.post<\n ResponseBodyWrapper<VirtualBuilderApi_GenerateStoryboardStreamResponseBody>\n >(\n \"api/gateway/llm.virtual_builder
|
1
|
+
{"version":3,"file":"generateStoryboardStream.js","names":["_http","require","VirtualBuilderApi_generateStoryboardStream","data","options","http","post","exports"],"sources":["../../../../../src/api/llm/virtual_builder/generateStoryboardStream.ts"],"sourcesContent":["import { http, HttpOptions } from \"@next-core/http\";\nimport { ResponseBodyWrapper } from \"../../../wrapper.js\";\n\nexport interface VirtualBuilderApi_GenerateStoryboardStreamRequestBody {\n /** 用户输入 */\n userInput: string;\n\n /** 会话id */\n sessionId?: string;\n}\n\nexport interface VirtualBuilderApi_GenerateStoryboardStreamResponseBody {\n /** websocket消息信息 */\n websocket?: VirtualBuilderApi_GenerateStoryboardStreamResponseBody_websocket;\n\n /** 会话id */\n sessionId?: string;\n}\n\n/**\n * @description 流式自动生成brick\n * @endpoint POST /api/v1/llm/virtual_builder/generate_storyboard/stream\n */\nexport const VirtualBuilderApi_generateStoryboardStream = async (\n data: VirtualBuilderApi_GenerateStoryboardStreamRequestBody,\n options?: HttpOptions\n): Promise<VirtualBuilderApi_GenerateStoryboardStreamResponseBody> =>\n /**! @contract easyops.api.llm.virtual_builder.GenerateStoryboardStream@1.0.0 */ (\n await http.post<\n ResponseBodyWrapper<VirtualBuilderApi_GenerateStoryboardStreamResponseBody>\n >(\n \"api/gateway/logic.llm.virtual_builder/api/v1/llm/virtual_builder/generate_storyboard/stream\",\n data,\n options\n )\n ).data;\n\nexport interface VirtualBuilderApi_GenerateStoryboardStreamResponseBody_websocket {\n /** websocket消息的system */\n system?: string;\n\n /** websocket消息的topic */\n topic?: string;\n}\n"],"mappings":";;;;;;AAAA,IAAAA,KAAA,GAAAC,OAAA;AAmBA;AACA;AACA;AACA;AACO,MAAMC,0CAA0C,GAAG,MAAAA,CACxDC,IAA2D,EAC3DC,OAAqB,KAErB,gFAAiF,CAC/E,MAAMC,UAAI,CAACC,IAAI,CAGb,6FAA6F,EAC7FH,IAAI,EACJC,OACF,CAAC,EACDD,IAAI;AAACI,OAAA,CAAAL,0CAAA,GAAAA,0CAAA","ignoreList":[]}
|
@@ -7,5 +7,5 @@ import { http } from "@next-core/http";
|
|
7
7
|
* @description 基础agent,支持知识库、执行工具
|
8
8
|
* @endpoint POST /api/v1/llm/agent/base
|
9
9
|
*/
|
10
|
-
export const AgentApi_baseGeneralAgent = async (data, options) => /**! @contract easyops.api.llm.agent.BaseGeneralAgent@1.0.0 */(await http.post("api/gateway/llm.
|
10
|
+
export const AgentApi_baseGeneralAgent = async (data, options) => /**! @contract easyops.api.llm.agent.BaseGeneralAgent@1.0.0 */(await http.post("api/gateway/logic.llm.aiops_service/api/v1/llm/agent/base", data, options)).data;
|
11
11
|
//# sourceMappingURL=baseGeneralAgent.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"baseGeneralAgent.js","names":["http","AgentApi_baseGeneralAgent","data","options","post"],"sources":["../../../../../src/api/llm/agent/baseGeneralAgent.ts"],"sourcesContent":["import { http, HttpOptions } from \"@next-core/http\";\nimport {\n ModelLlmChatAgentTaskRequest,\n ModelLlmChatAgentTaskResponse,\n} from \"../../../model/aiops_service/index.js\";\nimport { ResponseBodyWrapper } from \"../../../wrapper.js\";\n\nexport type AgentApi_BaseGeneralAgentRequestBody =\n Partial<ModelLlmChatAgentTaskRequest>;\n\n/** 接口返回,有两种格式,流式返回为delta, 非流式返回为message\n */\nexport type AgentApi_BaseGeneralAgentResponseBody =\n Partial<ModelLlmChatAgentTaskResponse>;\n\n/**\n * @description 基础agent,支持知识库、执行工具\n * @endpoint POST /api/v1/llm/agent/base\n */\nexport const AgentApi_baseGeneralAgent = async (\n data: AgentApi_BaseGeneralAgentRequestBody,\n options?: HttpOptions\n): Promise<AgentApi_BaseGeneralAgentResponseBody> =>\n /**! @contract easyops.api.llm.agent.BaseGeneralAgent@1.0.0 */ (\n await http.post<ResponseBodyWrapper<AgentApi_BaseGeneralAgentResponseBody>>(\n \"api/gateway/llm.
|
1
|
+
{"version":3,"file":"baseGeneralAgent.js","names":["http","AgentApi_baseGeneralAgent","data","options","post"],"sources":["../../../../../src/api/llm/agent/baseGeneralAgent.ts"],"sourcesContent":["import { http, HttpOptions } from \"@next-core/http\";\nimport {\n ModelLlmChatAgentTaskRequest,\n ModelLlmChatAgentTaskResponse,\n} from \"../../../model/aiops_service/index.js\";\nimport { ResponseBodyWrapper } from \"../../../wrapper.js\";\n\nexport type AgentApi_BaseGeneralAgentRequestBody =\n Partial<ModelLlmChatAgentTaskRequest>;\n\n/** 接口返回,有两种格式,流式返回为delta, 非流式返回为message\n */\nexport type AgentApi_BaseGeneralAgentResponseBody =\n Partial<ModelLlmChatAgentTaskResponse>;\n\n/**\n * @description 基础agent,支持知识库、执行工具\n * @endpoint POST /api/v1/llm/agent/base\n */\nexport const AgentApi_baseGeneralAgent = async (\n data: AgentApi_BaseGeneralAgentRequestBody,\n options?: HttpOptions\n): Promise<AgentApi_BaseGeneralAgentResponseBody> =>\n /**! @contract easyops.api.llm.agent.BaseGeneralAgent@1.0.0 */ (\n await http.post<ResponseBodyWrapper<AgentApi_BaseGeneralAgentResponseBody>>(\n \"api/gateway/logic.llm.aiops_service/api/v1/llm/agent/base\",\n data,\n options\n )\n ).data;\n"],"mappings":"AAAA,SAASA,IAAI,QAAqB,iBAAiB;;AAUnD;AACA;;AAIA;AACA;AACA;AACA;AACA,OAAO,MAAMC,yBAAyB,GAAG,MAAAA,CACvCC,IAA0C,EAC1CC,OAAqB,KAErB,8DAA+D,CAC7D,MAAMH,IAAI,CAACI,IAAI,CACb,2DAA2D,EAC3DF,IAAI,EACJC,OACF,CAAC,EACDD,IAAI","ignoreList":[]}
|
@@ -7,5 +7,5 @@ import { http } from "@next-core/http";
|
|
7
7
|
* @description 网络搜索的agent
|
8
8
|
* @endpoint POST /api/v1/llm/agent/web_search
|
9
9
|
*/
|
10
|
-
export const AgentApi_webSearchAgent = async (data, options) => /**! @contract easyops.api.llm.agent.WebSearchAgent@1.0.0 */(await http.post("api/gateway/llm.
|
10
|
+
export const AgentApi_webSearchAgent = async (data, options) => /**! @contract easyops.api.llm.agent.WebSearchAgent@1.0.0 */(await http.post("api/gateway/logic.llm.aiops_service/api/v1/llm/agent/web_search", data, options)).data;
|
11
11
|
//# sourceMappingURL=webSearchAgent.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"webSearchAgent.js","names":["http","AgentApi_webSearchAgent","data","options","post"],"sources":["../../../../../src/api/llm/agent/webSearchAgent.ts"],"sourcesContent":["import { http, HttpOptions } from \"@next-core/http\";\nimport {\n ModelLlmChatAgentTaskRequest,\n ModelLlmChatAgentTaskResponse,\n} from \"../../../model/aiops_service/index.js\";\nimport { ResponseBodyWrapper } from \"../../../wrapper.js\";\n\nexport type AgentApi_WebSearchAgentRequestBody =\n Partial<ModelLlmChatAgentTaskRequest>;\n\n/** 接口返回,有两种格式,流式返回为delta, 非流式返回为message\n */\nexport type AgentApi_WebSearchAgentResponseBody =\n Partial<ModelLlmChatAgentTaskResponse>;\n\n/**\n * @description 网络搜索的agent\n * @endpoint POST /api/v1/llm/agent/web_search\n */\nexport const AgentApi_webSearchAgent = async (\n data: AgentApi_WebSearchAgentRequestBody,\n options?: HttpOptions\n): Promise<AgentApi_WebSearchAgentResponseBody> =>\n /**! @contract easyops.api.llm.agent.WebSearchAgent@1.0.0 */ (\n await http.post<ResponseBodyWrapper<AgentApi_WebSearchAgentResponseBody>>(\n \"api/gateway/llm.
|
1
|
+
{"version":3,"file":"webSearchAgent.js","names":["http","AgentApi_webSearchAgent","data","options","post"],"sources":["../../../../../src/api/llm/agent/webSearchAgent.ts"],"sourcesContent":["import { http, HttpOptions } from \"@next-core/http\";\nimport {\n ModelLlmChatAgentTaskRequest,\n ModelLlmChatAgentTaskResponse,\n} from \"../../../model/aiops_service/index.js\";\nimport { ResponseBodyWrapper } from \"../../../wrapper.js\";\n\nexport type AgentApi_WebSearchAgentRequestBody =\n Partial<ModelLlmChatAgentTaskRequest>;\n\n/** 接口返回,有两种格式,流式返回为delta, 非流式返回为message\n */\nexport type AgentApi_WebSearchAgentResponseBody =\n Partial<ModelLlmChatAgentTaskResponse>;\n\n/**\n * @description 网络搜索的agent\n * @endpoint POST /api/v1/llm/agent/web_search\n */\nexport const AgentApi_webSearchAgent = async (\n data: AgentApi_WebSearchAgentRequestBody,\n options?: HttpOptions\n): Promise<AgentApi_WebSearchAgentResponseBody> =>\n /**! @contract easyops.api.llm.agent.WebSearchAgent@1.0.0 */ (\n await http.post<ResponseBodyWrapper<AgentApi_WebSearchAgentResponseBody>>(\n \"api/gateway/logic.llm.aiops_service/api/v1/llm/agent/web_search\",\n data,\n options\n )\n ).data;\n"],"mappings":"AAAA,SAASA,IAAI,QAAqB,iBAAiB;;AAUnD;AACA;;AAIA;AACA;AACA;AACA;AACA,OAAO,MAAMC,uBAAuB,GAAG,MAAAA,CACrCC,IAAwC,EACxCC,OAAqB,KAErB,4DAA6D,CAC3D,MAAMH,IAAI,CAACI,IAAI,CACb,iEAAiE,EACjEF,IAAI,EACJC,OACF,CAAC,EACDD,IAAI","ignoreList":[]}
|
@@ -3,5 +3,5 @@ import { http } from "@next-core/http";
|
|
3
3
|
* @description 删除向量数据库中的向量
|
4
4
|
* @endpoint POST /api/v1/llm/aiops_base/embedding/delete
|
5
5
|
*/
|
6
|
-
export const AiopsBaseApi_deleteEmbedding = (data, options) => /**! @contract easyops.api.llm.aiops_base.DeleteEmbedding@1.1.0 */http.post("api/gateway/llm.
|
6
|
+
export const AiopsBaseApi_deleteEmbedding = (data, options) => /**! @contract easyops.api.llm.aiops_base.DeleteEmbedding@1.1.0 */http.post("api/gateway/logic.llm.aiops_service/api/v1/llm/aiops_base/embedding/delete", data, options);
|
7
7
|
//# sourceMappingURL=deleteEmbedding.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"deleteEmbedding.js","names":["http","AiopsBaseApi_deleteEmbedding","data","options","post"],"sources":["../../../../../src/api/llm/aiops_base/deleteEmbedding.ts"],"sourcesContent":["import { http, HttpOptions } from \"@next-core/http\";\n\nexport interface AiopsBaseApi_DeleteEmbeddingRequestBody {\n /** 知识库id,同search中的命名空间(废弃) */\n namespace?: string;\n\n /** 是否删除整个知识库(废弃) */\n deleteKnowledge?: boolean;\n\n /** 文档所包含的id列表(废弃) */\n ids?: string[];\n\n /** 文档的instanceId */\n instanceIds?: string[];\n}\n\n/**\n * @description 删除向量数据库中的向量\n * @endpoint POST /api/v1/llm/aiops_base/embedding/delete\n */\nexport const AiopsBaseApi_deleteEmbedding = (\n data: AiopsBaseApi_DeleteEmbeddingRequestBody,\n options?: HttpOptions\n): Promise<void> =>\n /**! @contract easyops.api.llm.aiops_base.DeleteEmbedding@1.1.0 */ http.post<void>(\n \"api/gateway/llm.
|
1
|
+
{"version":3,"file":"deleteEmbedding.js","names":["http","AiopsBaseApi_deleteEmbedding","data","options","post"],"sources":["../../../../../src/api/llm/aiops_base/deleteEmbedding.ts"],"sourcesContent":["import { http, HttpOptions } from \"@next-core/http\";\n\nexport interface AiopsBaseApi_DeleteEmbeddingRequestBody {\n /** 知识库id,同search中的命名空间(废弃) */\n namespace?: string;\n\n /** 是否删除整个知识库(废弃) */\n deleteKnowledge?: boolean;\n\n /** 文档所包含的id列表(废弃) */\n ids?: string[];\n\n /** 文档的instanceId */\n instanceIds?: string[];\n}\n\n/**\n * @description 删除向量数据库中的向量\n * @endpoint POST /api/v1/llm/aiops_base/embedding/delete\n */\nexport const AiopsBaseApi_deleteEmbedding = (\n data: AiopsBaseApi_DeleteEmbeddingRequestBody,\n options?: HttpOptions\n): Promise<void> =>\n /**! @contract easyops.api.llm.aiops_base.DeleteEmbedding@1.1.0 */ http.post<void>(\n \"api/gateway/logic.llm.aiops_service/api/v1/llm/aiops_base/embedding/delete\",\n data,\n options\n );\n"],"mappings":"AAAA,SAASA,IAAI,QAAqB,iBAAiB;AAgBnD;AACA;AACA;AACA;AACA,OAAO,MAAMC,4BAA4B,GAAGA,CAC1CC,IAA6C,EAC7CC,OAAqB,KAErB,kEAAmEH,IAAI,CAACI,IAAI,CAC1E,4EAA4E,EAC5EF,IAAI,EACJC,OACF,CAAC","ignoreList":[]}
|
@@ -3,5 +3,5 @@ import { http } from "@next-core/http";
|
|
3
3
|
* @description 删除知识库
|
4
4
|
* @endpoint POST /api/v1/llm/aiops_base/knowledge/delete
|
5
5
|
*/
|
6
|
-
export const AiopsBaseApi_deleteKnowledge = (data, options) => /**! @contract easyops.api.llm.aiops_base.DeleteKnowledge@1.0.0 */http.post("api/gateway/llm.
|
6
|
+
export const AiopsBaseApi_deleteKnowledge = (data, options) => /**! @contract easyops.api.llm.aiops_base.DeleteKnowledge@1.0.0 */http.post("api/gateway/logic.llm.aiops_service/api/v1/llm/aiops_base/knowledge/delete", data, options);
|
7
7
|
//# sourceMappingURL=deleteKnowledge.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"deleteKnowledge.js","names":["http","AiopsBaseApi_deleteKnowledge","data","options","post"],"sources":["../../../../../src/api/llm/aiops_base/deleteKnowledge.ts"],"sourcesContent":["import { http, HttpOptions } from \"@next-core/http\";\n\nexport interface AiopsBaseApi_DeleteKnowledgeRequestBody {\n /** 知识库的instanceId */\n instanceId?: string;\n}\n\n/**\n * @description 删除知识库\n * @endpoint POST /api/v1/llm/aiops_base/knowledge/delete\n */\nexport const AiopsBaseApi_deleteKnowledge = (\n data: AiopsBaseApi_DeleteKnowledgeRequestBody,\n options?: HttpOptions\n): Promise<void> =>\n /**! @contract easyops.api.llm.aiops_base.DeleteKnowledge@1.0.0 */ http.post<void>(\n \"api/gateway/llm.
|
1
|
+
{"version":3,"file":"deleteKnowledge.js","names":["http","AiopsBaseApi_deleteKnowledge","data","options","post"],"sources":["../../../../../src/api/llm/aiops_base/deleteKnowledge.ts"],"sourcesContent":["import { http, HttpOptions } from \"@next-core/http\";\n\nexport interface AiopsBaseApi_DeleteKnowledgeRequestBody {\n /** 知识库的instanceId */\n instanceId?: string;\n}\n\n/**\n * @description 删除知识库\n * @endpoint POST /api/v1/llm/aiops_base/knowledge/delete\n */\nexport const AiopsBaseApi_deleteKnowledge = (\n data: AiopsBaseApi_DeleteKnowledgeRequestBody,\n options?: HttpOptions\n): Promise<void> =>\n /**! @contract easyops.api.llm.aiops_base.DeleteKnowledge@1.0.0 */ http.post<void>(\n \"api/gateway/logic.llm.aiops_service/api/v1/llm/aiops_base/knowledge/delete\",\n data,\n options\n );\n"],"mappings":"AAAA,SAASA,IAAI,QAAqB,iBAAiB;AAOnD;AACA;AACA;AACA;AACA,OAAO,MAAMC,4BAA4B,GAAGA,CAC1CC,IAA6C,EAC7CC,OAAqB,KAErB,kEAAmEH,IAAI,CAACI,IAAI,CAC1E,4EAA4E,EAC5EF,IAAI,EACJC,OACF,CAAC","ignoreList":[]}
|
@@ -3,5 +3,5 @@ import { http } from "@next-core/http";
|
|
3
3
|
* @description 导入document
|
4
4
|
* @endpoint POST /api/v1/llm/aiops_base/import_doc
|
5
5
|
*/
|
6
|
-
export const AiopsBaseApi_importDocumentEmbeddings = async (data, options) => /**! @contract easyops.api.llm.aiops_base.ImportDocumentEmbeddings@1.0.0 */(await http.post("api/gateway/llm.
|
6
|
+
export const AiopsBaseApi_importDocumentEmbeddings = async (data, options) => /**! @contract easyops.api.llm.aiops_base.ImportDocumentEmbeddings@1.0.0 */(await http.post("api/gateway/logic.llm.aiops_service/api/v1/llm/aiops_base/import_doc", data, options)).data;
|
7
7
|
//# sourceMappingURL=importDocumentEmbeddings.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"importDocumentEmbeddings.js","names":["http","AiopsBaseApi_importDocumentEmbeddings","data","options","post"],"sources":["../../../../../src/api/llm/aiops_base/importDocumentEmbeddings.ts"],"sourcesContent":["import { http, HttpOptions } from \"@next-core/http\";\nimport { ModelLlmDocument } from \"../../../model/llm/index.js\";\nimport { ResponseBodyWrapper } from \"../../../wrapper.js\";\n\nexport interface AiopsBaseApi_ImportDocumentEmbeddingsRequestBody {\n /** 导入的namespace */\n namespace?: string;\n\n /** doc id */\n docId?: string;\n\n /** 导入的document */\n docList?: AiopsBaseApi_ImportDocumentEmbeddingsRequestBody_docList_item[];\n\n /** 是否append */\n append?: boolean;\n}\n\nexport interface AiopsBaseApi_ImportDocumentEmbeddingsResponseBody {\n /** 解析的文档内容 */\n docs?: Partial<ModelLlmDocument>[];\n}\n\n/**\n * @description 导入document\n * @endpoint POST /api/v1/llm/aiops_base/import_doc\n */\nexport const AiopsBaseApi_importDocumentEmbeddings = async (\n data: AiopsBaseApi_ImportDocumentEmbeddingsRequestBody,\n options?: HttpOptions\n): Promise<AiopsBaseApi_ImportDocumentEmbeddingsResponseBody> =>\n /**! @contract easyops.api.llm.aiops_base.ImportDocumentEmbeddings@1.0.0 */ (\n await http.post<\n ResponseBodyWrapper<AiopsBaseApi_ImportDocumentEmbeddingsResponseBody>\n >(\n \"api/gateway/llm.
|
1
|
+
{"version":3,"file":"importDocumentEmbeddings.js","names":["http","AiopsBaseApi_importDocumentEmbeddings","data","options","post"],"sources":["../../../../../src/api/llm/aiops_base/importDocumentEmbeddings.ts"],"sourcesContent":["import { http, HttpOptions } from \"@next-core/http\";\nimport { ModelLlmDocument } from \"../../../model/llm/index.js\";\nimport { ResponseBodyWrapper } from \"../../../wrapper.js\";\n\nexport interface AiopsBaseApi_ImportDocumentEmbeddingsRequestBody {\n /** 导入的namespace */\n namespace?: string;\n\n /** doc id */\n docId?: string;\n\n /** 导入的document */\n docList?: AiopsBaseApi_ImportDocumentEmbeddingsRequestBody_docList_item[];\n\n /** 是否append */\n append?: boolean;\n}\n\nexport interface AiopsBaseApi_ImportDocumentEmbeddingsResponseBody {\n /** 解析的文档内容 */\n docs?: Partial<ModelLlmDocument>[];\n}\n\n/**\n * @description 导入document\n * @endpoint POST /api/v1/llm/aiops_base/import_doc\n */\nexport const AiopsBaseApi_importDocumentEmbeddings = async (\n data: AiopsBaseApi_ImportDocumentEmbeddingsRequestBody,\n options?: HttpOptions\n): Promise<AiopsBaseApi_ImportDocumentEmbeddingsResponseBody> =>\n /**! @contract easyops.api.llm.aiops_base.ImportDocumentEmbeddings@1.0.0 */ (\n await http.post<\n ResponseBodyWrapper<AiopsBaseApi_ImportDocumentEmbeddingsResponseBody>\n >(\n \"api/gateway/logic.llm.aiops_service/api/v1/llm/aiops_base/import_doc\",\n data,\n options\n )\n ).data;\n\nexport interface AiopsBaseApi_ImportDocumentEmbeddingsRequestBody_docList_item {\n /** 内容 */\n pageContent?: string;\n\n /** metadata */\n metadata?: Record<string, any>;\n}\n"],"mappings":"AAAA,SAASA,IAAI,QAAqB,iBAAiB;AAuBnD;AACA;AACA;AACA;AACA,OAAO,MAAMC,qCAAqC,GAAG,MAAAA,CACnDC,IAAsD,EACtDC,OAAqB,KAErB,2EAA4E,CAC1E,MAAMH,IAAI,CAACI,IAAI,CAGb,sEAAsE,EACtEF,IAAI,EACJC,OACF,CAAC,EACDD,IAAI","ignoreList":[]}
|
@@ -6,5 +6,5 @@ import { http } from "@next-core/http";
|
|
6
6
|
* @description 大模型聊天接口
|
7
7
|
* @endpoint POST /api/v1/llm/aiops_base/chat_service
|
8
8
|
*/
|
9
|
-
export const AiopsBaseApi_llmChatServiceV1 = async (data, options) => /**! @contract easyops.api.llm.aiops_base.LLMChatServiceV1@1.0.0 */(await http.post("api/gateway/llm.
|
9
|
+
export const AiopsBaseApi_llmChatServiceV1 = async (data, options) => /**! @contract easyops.api.llm.aiops_base.LLMChatServiceV1@1.0.0 */(await http.post("api/gateway/logic.llm.aiops_service/api/v1/llm/aiops_base/chat_service", data, options)).data;
|
10
10
|
//# sourceMappingURL=llmChatServiceV1.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"llmChatServiceV1.js","names":["http","AiopsBaseApi_llmChatServiceV1","data","options","post"],"sources":["../../../../../src/api/llm/aiops_base/llmChatServiceV1.ts"],"sourcesContent":["import { http, HttpOptions } from \"@next-core/http\";\nimport {\n ModelLlmChatRequest,\n ModelLlmChatResponse,\n} from \"../../../model/aiops_service/index.js\";\nimport { ResponseBodyWrapper } from \"../../../wrapper.js\";\n\nexport type AiopsBaseApi_LlmChatServiceV1RequestBody =\n Partial<ModelLlmChatRequest>;\n\n/** 接口返回,有两种格式,流式返回为sseDataList:[{\"role\":\"assistant\",\"content\":\"abc\"}],非流式返回为LLMChatResponse */\nexport type AiopsBaseApi_LlmChatServiceV1ResponseBody =\n Partial<ModelLlmChatResponse> & AiopsBaseApi_LlmChatServiceV1ResponseBody_2;\n\n/**\n * @description 大模型聊天接口\n * @endpoint POST /api/v1/llm/aiops_base/chat_service\n */\nexport const AiopsBaseApi_llmChatServiceV1 = async (\n data: AiopsBaseApi_LlmChatServiceV1RequestBody,\n options?: HttpOptions\n): Promise<AiopsBaseApi_LlmChatServiceV1ResponseBody> =>\n /**! @contract easyops.api.llm.aiops_base.LLMChatServiceV1@1.0.0 */ (\n await http.post<\n ResponseBodyWrapper<AiopsBaseApi_LlmChatServiceV1ResponseBody>\n >(\n \"api/gateway/llm.
|
1
|
+
{"version":3,"file":"llmChatServiceV1.js","names":["http","AiopsBaseApi_llmChatServiceV1","data","options","post"],"sources":["../../../../../src/api/llm/aiops_base/llmChatServiceV1.ts"],"sourcesContent":["import { http, HttpOptions } from \"@next-core/http\";\nimport {\n ModelLlmChatRequest,\n ModelLlmChatResponse,\n} from \"../../../model/aiops_service/index.js\";\nimport { ResponseBodyWrapper } from \"../../../wrapper.js\";\n\nexport type AiopsBaseApi_LlmChatServiceV1RequestBody =\n Partial<ModelLlmChatRequest>;\n\n/** 接口返回,有两种格式,流式返回为sseDataList:[{\"role\":\"assistant\",\"content\":\"abc\"}],非流式返回为LLMChatResponse */\nexport type AiopsBaseApi_LlmChatServiceV1ResponseBody =\n Partial<ModelLlmChatResponse> & AiopsBaseApi_LlmChatServiceV1ResponseBody_2;\n\n/**\n * @description 大模型聊天接口\n * @endpoint POST /api/v1/llm/aiops_base/chat_service\n */\nexport const AiopsBaseApi_llmChatServiceV1 = async (\n data: AiopsBaseApi_LlmChatServiceV1RequestBody,\n options?: HttpOptions\n): Promise<AiopsBaseApi_LlmChatServiceV1ResponseBody> =>\n /**! @contract easyops.api.llm.aiops_base.LLMChatServiceV1@1.0.0 */ (\n await http.post<\n ResponseBodyWrapper<AiopsBaseApi_LlmChatServiceV1ResponseBody>\n >(\n \"api/gateway/logic.llm.aiops_service/api/v1/llm/aiops_base/chat_service\",\n data,\n options\n )\n ).data;\n\nexport interface AiopsBaseApi_LlmChatServiceV1ResponseBody_2 {\n /** 流式数据列表 */\n sseDataList?: any[];\n}\n"],"mappings":"AAAA,SAASA,IAAI,QAAqB,iBAAiB;;AAUnD;;AAIA;AACA;AACA;AACA;AACA,OAAO,MAAMC,6BAA6B,GAAG,MAAAA,CAC3CC,IAA8C,EAC9CC,OAAqB,KAErB,mEAAoE,CAClE,MAAMH,IAAI,CAACI,IAAI,CAGb,wEAAwE,EACxEF,IAAI,EACJC,OACF,CAAC,EACDD,IAAI","ignoreList":[]}
|
@@ -6,5 +6,5 @@ import { http } from "@next-core/http";
|
|
6
6
|
* @description 通用大模型聊天接口, 直接转发返回大模型请求
|
7
7
|
* @endpoint POST /v1/chat/completions
|
8
8
|
*/
|
9
|
-
export const AiopsBaseApi_openaiChat = (data, options) => /**! @contract easyops.api.llm.aiops_base.OpenaiChat@1.0.0 */http.post("api/gateway/llm.
|
9
|
+
export const AiopsBaseApi_openaiChat = (data, options) => /**! @contract easyops.api.llm.aiops_base.OpenaiChat@1.0.0 */http.post("api/gateway/logic.llm.aiops_service/v1/chat/completions", data, options);
|
10
10
|
//# sourceMappingURL=openaiChat.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"openaiChat.js","names":["http","AiopsBaseApi_openaiChat","data","options","post"],"sources":["../../../../../src/api/llm/aiops_base/openaiChat.ts"],"sourcesContent":["import { http, HttpOptions } from \"@next-core/http\";\nimport {\n ModelLlmChatRequest,\n ModelLlmChatResponse,\n} from \"../../../model/aiops_service/index.js\";\n\nexport type AiopsBaseApi_OpenaiChatRequestBody = Partial<ModelLlmChatRequest>;\n\n/** 接口返回,有两种格式,流式返回为sseDataList:[{\"role\":\"assistant\",\"content\":\"abc\"}],非流式返回为LLMChatResponse */\nexport type AiopsBaseApi_OpenaiChatResponseBody =\n Partial<ModelLlmChatResponse> & AiopsBaseApi_OpenaiChatResponseBody_2;\n\n/**\n * @description 通用大模型聊天接口, 直接转发返回大模型请求\n * @endpoint POST /v1/chat/completions\n */\nexport const AiopsBaseApi_openaiChat = (\n data: AiopsBaseApi_OpenaiChatRequestBody,\n options?: HttpOptions\n): Promise<AiopsBaseApi_OpenaiChatResponseBody> =>\n /**! @contract easyops.api.llm.aiops_base.OpenaiChat@1.0.0 */ http.post<AiopsBaseApi_OpenaiChatResponseBody>(\n \"api/gateway/llm.
|
1
|
+
{"version":3,"file":"openaiChat.js","names":["http","AiopsBaseApi_openaiChat","data","options","post"],"sources":["../../../../../src/api/llm/aiops_base/openaiChat.ts"],"sourcesContent":["import { http, HttpOptions } from \"@next-core/http\";\nimport {\n ModelLlmChatRequest,\n ModelLlmChatResponse,\n} from \"../../../model/aiops_service/index.js\";\n\nexport type AiopsBaseApi_OpenaiChatRequestBody = Partial<ModelLlmChatRequest>;\n\n/** 接口返回,有两种格式,流式返回为sseDataList:[{\"role\":\"assistant\",\"content\":\"abc\"}],非流式返回为LLMChatResponse */\nexport type AiopsBaseApi_OpenaiChatResponseBody =\n Partial<ModelLlmChatResponse> & AiopsBaseApi_OpenaiChatResponseBody_2;\n\n/**\n * @description 通用大模型聊天接口, 直接转发返回大模型请求\n * @endpoint POST /v1/chat/completions\n */\nexport const AiopsBaseApi_openaiChat = (\n data: AiopsBaseApi_OpenaiChatRequestBody,\n options?: HttpOptions\n): Promise<AiopsBaseApi_OpenaiChatResponseBody> =>\n /**! @contract easyops.api.llm.aiops_base.OpenaiChat@1.0.0 */ http.post<AiopsBaseApi_OpenaiChatResponseBody>(\n \"api/gateway/logic.llm.aiops_service/v1/chat/completions\",\n data,\n options\n );\n\nexport interface AiopsBaseApi_OpenaiChatResponseBody_2 {\n /** 流式数据列表 */\n sseDataList?: any[];\n}\n"],"mappings":"AAAA,SAASA,IAAI,QAAqB,iBAAiB;;AAQnD;;AAIA;AACA;AACA;AACA;AACA,OAAO,MAAMC,uBAAuB,GAAGA,CACrCC,IAAwC,EACxCC,OAAqB,KAErB,6DAA8DH,IAAI,CAACI,IAAI,CACrE,yDAAyD,EACzDF,IAAI,EACJC,OACF,CAAC","ignoreList":[]}
|
@@ -3,5 +3,5 @@ import { http } from "@next-core/http";
|
|
3
3
|
* @description 向向量数据库做相似查询
|
4
4
|
* @endpoint POST /api/v1/llm/aiops_base/embedding/search
|
5
5
|
*/
|
6
|
-
export const AiopsBaseApi_searchEmbedding = async (data, options) => /**! @contract easyops.api.llm.aiops_base.SearchEmbedding@1.0.0 */(await http.post("api/gateway/llm.
|
6
|
+
export const AiopsBaseApi_searchEmbedding = async (data, options) => /**! @contract easyops.api.llm.aiops_base.SearchEmbedding@1.0.0 */(await http.post("api/gateway/logic.llm.aiops_service/api/v1/llm/aiops_base/embedding/search", data, options)).data;
|
7
7
|
//# sourceMappingURL=searchEmbedding.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"searchEmbedding.js","names":["http","AiopsBaseApi_searchEmbedding","data","options","post"],"sources":["../../../../../src/api/llm/aiops_base/searchEmbedding.ts"],"sourcesContent":["import { http, HttpOptions } from \"@next-core/http\";\nimport { ModelLlmDocument } from \"../../../model/llm/index.js\";\nimport { ResponseBodyWrapper } from \"../../../wrapper.js\";\n\nexport interface AiopsBaseApi_SearchEmbeddingRequestBody {\n /** 命名空间 */\n namespace?: string;\n\n /** 查询的句子 */\n query?: string;\n\n /** 过滤条件 */\n filter?: Record<string, any>;\n\n /** 返回topk条记录 */\n topk?: number;\n\n /** 是否按文档内容去重 */\n uniqWithContent?: boolean;\n}\n\nexport interface AiopsBaseApi_SearchEmbeddingResponseBody {\n /** 相似查询结果 */\n matchedDocs?: Partial<ModelLlmDocument>[];\n}\n\n/**\n * @description 向向量数据库做相似查询\n * @endpoint POST /api/v1/llm/aiops_base/embedding/search\n */\nexport const AiopsBaseApi_searchEmbedding = async (\n data: AiopsBaseApi_SearchEmbeddingRequestBody,\n options?: HttpOptions\n): Promise<AiopsBaseApi_SearchEmbeddingResponseBody> =>\n /**! @contract easyops.api.llm.aiops_base.SearchEmbedding@1.0.0 */ (\n await http.post<\n ResponseBodyWrapper<AiopsBaseApi_SearchEmbeddingResponseBody>\n >(\n \"api/gateway/llm.
|
1
|
+
{"version":3,"file":"searchEmbedding.js","names":["http","AiopsBaseApi_searchEmbedding","data","options","post"],"sources":["../../../../../src/api/llm/aiops_base/searchEmbedding.ts"],"sourcesContent":["import { http, HttpOptions } from \"@next-core/http\";\nimport { ModelLlmDocument } from \"../../../model/llm/index.js\";\nimport { ResponseBodyWrapper } from \"../../../wrapper.js\";\n\nexport interface AiopsBaseApi_SearchEmbeddingRequestBody {\n /** 命名空间 */\n namespace?: string;\n\n /** 查询的句子 */\n query?: string;\n\n /** 过滤条件 */\n filter?: Record<string, any>;\n\n /** 返回topk条记录 */\n topk?: number;\n\n /** 是否按文档内容去重 */\n uniqWithContent?: boolean;\n}\n\nexport interface AiopsBaseApi_SearchEmbeddingResponseBody {\n /** 相似查询结果 */\n matchedDocs?: Partial<ModelLlmDocument>[];\n}\n\n/**\n * @description 向向量数据库做相似查询\n * @endpoint POST /api/v1/llm/aiops_base/embedding/search\n */\nexport const AiopsBaseApi_searchEmbedding = async (\n data: AiopsBaseApi_SearchEmbeddingRequestBody,\n options?: HttpOptions\n): Promise<AiopsBaseApi_SearchEmbeddingResponseBody> =>\n /**! @contract easyops.api.llm.aiops_base.SearchEmbedding@1.0.0 */ (\n await http.post<\n ResponseBodyWrapper<AiopsBaseApi_SearchEmbeddingResponseBody>\n >(\n \"api/gateway/logic.llm.aiops_service/api/v1/llm/aiops_base/embedding/search\",\n data,\n options\n )\n ).data;\n"],"mappings":"AAAA,SAASA,IAAI,QAAqB,iBAAiB;AA0BnD;AACA;AACA;AACA;AACA,OAAO,MAAMC,4BAA4B,GAAG,MAAAA,CAC1CC,IAA6C,EAC7CC,OAAqB,KAErB,kEAAmE,CACjE,MAAMH,IAAI,CAACI,IAAI,CAGb,4EAA4E,EAC5EF,IAAI,EACJC,OACF,CAAC,EACDD,IAAI","ignoreList":[]}
|
@@ -3,5 +3,5 @@ import { http } from "@next-core/http";
|
|
3
3
|
* @description 更新或者插入文档
|
4
4
|
* @endpoint POST /api/v1/llm/aiops_base/upsert_doc
|
5
5
|
*/
|
6
|
-
export const AiopsBaseApi_upsertDocument = async (data, options) => /**! @contract easyops.api.llm.aiops_base.UpsertDocument@1.0.0 */(await http.post("api/gateway/llm.
|
6
|
+
export const AiopsBaseApi_upsertDocument = async (data, options) => /**! @contract easyops.api.llm.aiops_base.UpsertDocument@1.0.0 */(await http.post("api/gateway/logic.llm.aiops_service/api/v1/llm/aiops_base/upsert_doc", data, options)).data;
|
7
7
|
//# sourceMappingURL=upsertDocument.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"upsertDocument.js","names":["http","AiopsBaseApi_upsertDocument","data","options","post"],"sources":["../../../../../src/api/llm/aiops_base/upsertDocument.ts"],"sourcesContent":["import { http, HttpOptions } from \"@next-core/http\";\nimport { ModelLlmDocument } from \"../../../model/llm/index.js\";\nimport { ResponseBodyWrapper } from \"../../../wrapper.js\";\n\nexport interface AiopsBaseApi_UpsertDocumentRequestBody {\n /** 导入的namespace */\n namespace?: string;\n\n /** 过滤条件 */\n filter?: Record<string, any>;\n\n /** 导入的document */\n docList?: AiopsBaseApi_UpsertDocumentRequestBody_docList_item[];\n}\n\nexport interface AiopsBaseApi_UpsertDocumentResponseBody {\n /** 解析的文档内容 */\n docs?: Partial<ModelLlmDocument>[];\n}\n\n/**\n * @description 更新或者插入文档\n * @endpoint POST /api/v1/llm/aiops_base/upsert_doc\n */\nexport const AiopsBaseApi_upsertDocument = async (\n data: AiopsBaseApi_UpsertDocumentRequestBody,\n options?: HttpOptions\n): Promise<AiopsBaseApi_UpsertDocumentResponseBody> =>\n /**! @contract easyops.api.llm.aiops_base.UpsertDocument@1.0.0 */ (\n await http.post<\n ResponseBodyWrapper<AiopsBaseApi_UpsertDocumentResponseBody>\n >(\n \"api/gateway/llm.
|
1
|
+
{"version":3,"file":"upsertDocument.js","names":["http","AiopsBaseApi_upsertDocument","data","options","post"],"sources":["../../../../../src/api/llm/aiops_base/upsertDocument.ts"],"sourcesContent":["import { http, HttpOptions } from \"@next-core/http\";\nimport { ModelLlmDocument } from \"../../../model/llm/index.js\";\nimport { ResponseBodyWrapper } from \"../../../wrapper.js\";\n\nexport interface AiopsBaseApi_UpsertDocumentRequestBody {\n /** 导入的namespace */\n namespace?: string;\n\n /** 过滤条件 */\n filter?: Record<string, any>;\n\n /** 导入的document */\n docList?: AiopsBaseApi_UpsertDocumentRequestBody_docList_item[];\n}\n\nexport interface AiopsBaseApi_UpsertDocumentResponseBody {\n /** 解析的文档内容 */\n docs?: Partial<ModelLlmDocument>[];\n}\n\n/**\n * @description 更新或者插入文档\n * @endpoint POST /api/v1/llm/aiops_base/upsert_doc\n */\nexport const AiopsBaseApi_upsertDocument = async (\n data: AiopsBaseApi_UpsertDocumentRequestBody,\n options?: HttpOptions\n): Promise<AiopsBaseApi_UpsertDocumentResponseBody> =>\n /**! @contract easyops.api.llm.aiops_base.UpsertDocument@1.0.0 */ (\n await http.post<\n ResponseBodyWrapper<AiopsBaseApi_UpsertDocumentResponseBody>\n >(\n \"api/gateway/logic.llm.aiops_service/api/v1/llm/aiops_base/upsert_doc\",\n data,\n options\n )\n ).data;\n\nexport interface AiopsBaseApi_UpsertDocumentRequestBody_docList_item {\n /** 内容 */\n pageContent?: string;\n\n /** metadata */\n metadata?: Record<string, any>;\n}\n"],"mappings":"AAAA,SAASA,IAAI,QAAqB,iBAAiB;AAoBnD;AACA;AACA;AACA;AACA,OAAO,MAAMC,2BAA2B,GAAG,MAAAA,CACzCC,IAA4C,EAC5CC,OAAqB,KAErB,iEAAkE,CAChE,MAAMH,IAAI,CAACI,IAAI,CAGb,sEAAsE,EACtEF,IAAI,EACJC,OACF,CAAC,EACDD,IAAI","ignoreList":[]}
|
@@ -3,5 +3,5 @@ import { http } from "@next-core/http";
|
|
3
3
|
* @description 根据DocId更新或者插入文档
|
4
4
|
* @endpoint POST /api/v1/llm/aiops_base/upsert_with_doc_id
|
5
5
|
*/
|
6
|
-
export const AiopsBaseApi_upsertWithDocId = async (data, options) => /**! @contract easyops.api.llm.aiops_base.UpsertWithDocId@1.0.0 */(await http.post("api/gateway/llm.
|
6
|
+
export const AiopsBaseApi_upsertWithDocId = async (data, options) => /**! @contract easyops.api.llm.aiops_base.UpsertWithDocId@1.0.0 */(await http.post("api/gateway/logic.llm.aiops_service/api/v1/llm/aiops_base/upsert_with_doc_id", data, options)).data;
|
7
7
|
//# sourceMappingURL=upsertWithDocId.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"upsertWithDocId.js","names":["http","AiopsBaseApi_upsertWithDocId","data","options","post"],"sources":["../../../../../src/api/llm/aiops_base/upsertWithDocId.ts"],"sourcesContent":["import { http, HttpOptions } from \"@next-core/http\";\nimport { ModelLlmDocument } from \"../../../model/llm/index.js\";\nimport { ResponseBodyWrapper } from \"../../../wrapper.js\";\n\nexport interface AiopsBaseApi_UpsertWithDocIdRequestBody {\n /** 导入的namespace */\n namespace?: string;\n\n /** 文档id */\n docId?: string;\n\n /** 导入的document */\n docList?: AiopsBaseApi_UpsertWithDocIdRequestBody_docList_item[];\n}\n\nexport interface AiopsBaseApi_UpsertWithDocIdResponseBody {\n /** 解析的文档内容 */\n docs?: Partial<ModelLlmDocument>[];\n}\n\n/**\n * @description 根据DocId更新或者插入文档\n * @endpoint POST /api/v1/llm/aiops_base/upsert_with_doc_id\n */\nexport const AiopsBaseApi_upsertWithDocId = async (\n data: AiopsBaseApi_UpsertWithDocIdRequestBody,\n options?: HttpOptions\n): Promise<AiopsBaseApi_UpsertWithDocIdResponseBody> =>\n /**! @contract easyops.api.llm.aiops_base.UpsertWithDocId@1.0.0 */ (\n await http.post<\n ResponseBodyWrapper<AiopsBaseApi_UpsertWithDocIdResponseBody>\n >(\n \"api/gateway/llm.
|
1
|
+
{"version":3,"file":"upsertWithDocId.js","names":["http","AiopsBaseApi_upsertWithDocId","data","options","post"],"sources":["../../../../../src/api/llm/aiops_base/upsertWithDocId.ts"],"sourcesContent":["import { http, HttpOptions } from \"@next-core/http\";\nimport { ModelLlmDocument } from \"../../../model/llm/index.js\";\nimport { ResponseBodyWrapper } from \"../../../wrapper.js\";\n\nexport interface AiopsBaseApi_UpsertWithDocIdRequestBody {\n /** 导入的namespace */\n namespace?: string;\n\n /** 文档id */\n docId?: string;\n\n /** 导入的document */\n docList?: AiopsBaseApi_UpsertWithDocIdRequestBody_docList_item[];\n}\n\nexport interface AiopsBaseApi_UpsertWithDocIdResponseBody {\n /** 解析的文档内容 */\n docs?: Partial<ModelLlmDocument>[];\n}\n\n/**\n * @description 根据DocId更新或者插入文档\n * @endpoint POST /api/v1/llm/aiops_base/upsert_with_doc_id\n */\nexport const AiopsBaseApi_upsertWithDocId = async (\n data: AiopsBaseApi_UpsertWithDocIdRequestBody,\n options?: HttpOptions\n): Promise<AiopsBaseApi_UpsertWithDocIdResponseBody> =>\n /**! @contract easyops.api.llm.aiops_base.UpsertWithDocId@1.0.0 */ (\n await http.post<\n ResponseBodyWrapper<AiopsBaseApi_UpsertWithDocIdResponseBody>\n >(\n \"api/gateway/logic.llm.aiops_service/api/v1/llm/aiops_base/upsert_with_doc_id\",\n data,\n options\n )\n ).data;\n\nexport interface AiopsBaseApi_UpsertWithDocIdRequestBody_docList_item {\n /** 内容 */\n pageContent?: string;\n\n /** metadata */\n metadata?: Record<string, any>;\n}\n"],"mappings":"AAAA,SAASA,IAAI,QAAqB,iBAAiB;AAoBnD;AACA;AACA;AACA;AACA,OAAO,MAAMC,4BAA4B,GAAG,MAAAA,CAC1CC,IAA6C,EAC7CC,OAAqB,KAErB,kEAAmE,CACjE,MAAMH,IAAI,CAACI,IAAI,CAGb,8EAA8E,EAC9EF,IAAI,EACJC,OACF,CAAC,EACDD,IAAI","ignoreList":[]}
|
@@ -3,5 +3,5 @@ import { http } from "@next-core/http";
|
|
3
3
|
* @description 创建大模型记忆的调试环境
|
4
4
|
* @endpoint POST /api/v1/llm/aiops_service/memory/env/create
|
5
5
|
*/
|
6
|
-
export const AiopsMemoryApi_createMemoryEnv = async (data, options) => /**! @contract easyops.api.llm.aiops_memory.CreateMemoryEnv@1.0.0 */(await http.post("api/gateway/llm.
|
6
|
+
export const AiopsMemoryApi_createMemoryEnv = async (data, options) => /**! @contract easyops.api.llm.aiops_memory.CreateMemoryEnv@1.0.0 */(await http.post("api/gateway/logic.llm.aiops_service/api/v1/llm/aiops_service/memory/env/create", data, options)).data;
|
7
7
|
//# sourceMappingURL=createMemoryEnv.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"createMemoryEnv.js","names":["http","AiopsMemoryApi_createMemoryEnv","data","options","post"],"sources":["../../../../../src/api/llm/aiops_memory/createMemoryEnv.ts"],"sourcesContent":["import { http, HttpOptions } from \"@next-core/http\";\nimport { ModelLlmMemoryEnv } from \"../../../model/llm/index.js\";\nimport { ResponseBodyWrapper } from \"../../../wrapper.js\";\n\nexport type AiopsMemoryApi_CreateMemoryEnvRequestBody =\n Partial<ModelLlmMemoryEnv>;\n\nexport type AiopsMemoryApi_CreateMemoryEnvResponseBody =\n Partial<ModelLlmMemoryEnv>;\n\n/**\n * @description 创建大模型记忆的调试环境\n * @endpoint POST /api/v1/llm/aiops_service/memory/env/create\n */\nexport const AiopsMemoryApi_createMemoryEnv = async (\n data: AiopsMemoryApi_CreateMemoryEnvRequestBody,\n options?: HttpOptions\n): Promise<AiopsMemoryApi_CreateMemoryEnvResponseBody> =>\n /**! @contract easyops.api.llm.aiops_memory.CreateMemoryEnv@1.0.0 */ (\n await http.post<\n ResponseBodyWrapper<AiopsMemoryApi_CreateMemoryEnvResponseBody>\n >(\n \"api/gateway/llm.
|
1
|
+
{"version":3,"file":"createMemoryEnv.js","names":["http","AiopsMemoryApi_createMemoryEnv","data","options","post"],"sources":["../../../../../src/api/llm/aiops_memory/createMemoryEnv.ts"],"sourcesContent":["import { http, HttpOptions } from \"@next-core/http\";\nimport { ModelLlmMemoryEnv } from \"../../../model/llm/index.js\";\nimport { ResponseBodyWrapper } from \"../../../wrapper.js\";\n\nexport type AiopsMemoryApi_CreateMemoryEnvRequestBody =\n Partial<ModelLlmMemoryEnv>;\n\nexport type AiopsMemoryApi_CreateMemoryEnvResponseBody =\n Partial<ModelLlmMemoryEnv>;\n\n/**\n * @description 创建大模型记忆的调试环境\n * @endpoint POST /api/v1/llm/aiops_service/memory/env/create\n */\nexport const AiopsMemoryApi_createMemoryEnv = async (\n data: AiopsMemoryApi_CreateMemoryEnvRequestBody,\n options?: HttpOptions\n): Promise<AiopsMemoryApi_CreateMemoryEnvResponseBody> =>\n /**! @contract easyops.api.llm.aiops_memory.CreateMemoryEnv@1.0.0 */ (\n await http.post<\n ResponseBodyWrapper<AiopsMemoryApi_CreateMemoryEnvResponseBody>\n >(\n \"api/gateway/logic.llm.aiops_service/api/v1/llm/aiops_service/memory/env/create\",\n data,\n options\n )\n ).data;\n"],"mappings":"AAAA,SAASA,IAAI,QAAqB,iBAAiB;AAUnD;AACA;AACA;AACA;AACA,OAAO,MAAMC,8BAA8B,GAAG,MAAAA,CAC5CC,IAA+C,EAC/CC,OAAqB,KAErB,oEAAqE,CACnE,MAAMH,IAAI,CAACI,IAAI,CAGb,gFAAgF,EAChFF,IAAI,EACJC,OACF,CAAC,EACDD,IAAI","ignoreList":[]}
|
@@ -4,5 +4,5 @@ import { http } from "@next-core/http";
|
|
4
4
|
* @description 通过会话id删除大模型记忆
|
5
5
|
* @endpoint DELETE /api/v1/llm/aiops_service/memory/delete/:conversationId
|
6
6
|
*/
|
7
|
-
export const AiopsMemoryApi_deleteLlmMemoryWithConversationId = (conversationId, options) => /**! @contract easyops.api.llm.aiops_memory.DeleteLlmMemoryWithConversationId@1.0.0 */http.delete(`api/gateway/llm.
|
7
|
+
export const AiopsMemoryApi_deleteLlmMemoryWithConversationId = (conversationId, options) => /**! @contract easyops.api.llm.aiops_memory.DeleteLlmMemoryWithConversationId@1.0.0 */http.delete(`api/gateway/logic.llm.aiops_service/api/v1/llm/aiops_service/memory/delete/${conversationId}`, options);
|
8
8
|
//# sourceMappingURL=deleteLlmMemoryWithConversationId.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"deleteLlmMemoryWithConversationId.js","names":["http","AiopsMemoryApi_deleteLlmMemoryWithConversationId","conversationId","options","delete"],"sources":["../../../../../src/api/llm/aiops_memory/deleteLlmMemoryWithConversationId.ts"],"sourcesContent":["import { http, HttpOptions } from \"@next-core/http\";\n\n/**\n * @description 通过会话id删除大模型记忆\n * @endpoint DELETE /api/v1/llm/aiops_service/memory/delete/:conversationId\n */\nexport const AiopsMemoryApi_deleteLlmMemoryWithConversationId = (\n conversationId: string | number,\n options?: HttpOptions\n): Promise<void> =>\n /**! @contract easyops.api.llm.aiops_memory.DeleteLlmMemoryWithConversationId@1.0.0 */ http.delete<void>(\n `api/gateway/llm.
|
1
|
+
{"version":3,"file":"deleteLlmMemoryWithConversationId.js","names":["http","AiopsMemoryApi_deleteLlmMemoryWithConversationId","conversationId","options","delete"],"sources":["../../../../../src/api/llm/aiops_memory/deleteLlmMemoryWithConversationId.ts"],"sourcesContent":["import { http, HttpOptions } from \"@next-core/http\";\n\n/**\n * @description 通过会话id删除大模型记忆\n * @endpoint DELETE /api/v1/llm/aiops_service/memory/delete/:conversationId\n */\nexport const AiopsMemoryApi_deleteLlmMemoryWithConversationId = (\n conversationId: string | number,\n options?: HttpOptions\n): Promise<void> =>\n /**! @contract easyops.api.llm.aiops_memory.DeleteLlmMemoryWithConversationId@1.0.0 */ http.delete<void>(\n `api/gateway/logic.llm.aiops_service/api/v1/llm/aiops_service/memory/delete/${conversationId}`,\n options\n );\n"],"mappings":"AAAA,SAASA,IAAI,QAAqB,iBAAiB;;AAEnD;AACA;AACA;AACA;AACA,OAAO,MAAMC,gDAAgD,GAAGA,CAC9DC,cAA+B,EAC/BC,OAAqB,KAErB,sFAAuFH,IAAI,CAACI,MAAM,CAChG,8EAA8EF,cAAc,EAAE,EAC9FC,OACF,CAAC","ignoreList":[]}
|
@@ -3,5 +3,5 @@ import { http } from "@next-core/http";
|
|
3
3
|
* @description 通过会话id和记忆key删除大模型记忆
|
4
4
|
* @endpoint POST /api/v1/llm/aiops_service/memory/delete/:conversationId/key
|
5
5
|
*/
|
6
|
-
export const AiopsMemoryApi_deleteLlmMemoryWithConversationIdAndKey = (conversationId, data, options) => /**! @contract easyops.api.llm.aiops_memory.DeleteLlmMemoryWithConversationIdAndKey@1.0.0 */http.post(`api/gateway/llm.
|
6
|
+
export const AiopsMemoryApi_deleteLlmMemoryWithConversationIdAndKey = (conversationId, data, options) => /**! @contract easyops.api.llm.aiops_memory.DeleteLlmMemoryWithConversationIdAndKey@1.0.0 */http.post(`api/gateway/logic.llm.aiops_service/api/v1/llm/aiops_service/memory/delete/${conversationId}/key`, data, options);
|
7
7
|
//# sourceMappingURL=deleteLlmMemoryWithConversationIdAndKey.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"deleteLlmMemoryWithConversationIdAndKey.js","names":["http","AiopsMemoryApi_deleteLlmMemoryWithConversationIdAndKey","conversationId","data","options","post"],"sources":["../../../../../src/api/llm/aiops_memory/deleteLlmMemoryWithConversationIdAndKey.ts"],"sourcesContent":["import { http, HttpOptions } from \"@next-core/http\";\n\nexport interface AiopsMemoryApi_DeleteLlmMemoryWithConversationIdAndKeyRequestBody {\n /** 记忆key */\n memKey?: string;\n}\n\n/**\n * @description 通过会话id和记忆key删除大模型记忆\n * @endpoint POST /api/v1/llm/aiops_service/memory/delete/:conversationId/key\n */\nexport const AiopsMemoryApi_deleteLlmMemoryWithConversationIdAndKey = (\n conversationId: string | number,\n data: AiopsMemoryApi_DeleteLlmMemoryWithConversationIdAndKeyRequestBody,\n options?: HttpOptions\n): Promise<void> =>\n /**! @contract easyops.api.llm.aiops_memory.DeleteLlmMemoryWithConversationIdAndKey@1.0.0 */ http.post<void>(\n `api/gateway/llm.
|
1
|
+
{"version":3,"file":"deleteLlmMemoryWithConversationIdAndKey.js","names":["http","AiopsMemoryApi_deleteLlmMemoryWithConversationIdAndKey","conversationId","data","options","post"],"sources":["../../../../../src/api/llm/aiops_memory/deleteLlmMemoryWithConversationIdAndKey.ts"],"sourcesContent":["import { http, HttpOptions } from \"@next-core/http\";\n\nexport interface AiopsMemoryApi_DeleteLlmMemoryWithConversationIdAndKeyRequestBody {\n /** 记忆key */\n memKey?: string;\n}\n\n/**\n * @description 通过会话id和记忆key删除大模型记忆\n * @endpoint POST /api/v1/llm/aiops_service/memory/delete/:conversationId/key\n */\nexport const AiopsMemoryApi_deleteLlmMemoryWithConversationIdAndKey = (\n conversationId: string | number,\n data: AiopsMemoryApi_DeleteLlmMemoryWithConversationIdAndKeyRequestBody,\n options?: HttpOptions\n): Promise<void> =>\n /**! @contract easyops.api.llm.aiops_memory.DeleteLlmMemoryWithConversationIdAndKey@1.0.0 */ http.post<void>(\n `api/gateway/logic.llm.aiops_service/api/v1/llm/aiops_service/memory/delete/${conversationId}/key`,\n data,\n options\n );\n"],"mappings":"AAAA,SAASA,IAAI,QAAqB,iBAAiB;AAOnD;AACA;AACA;AACA;AACA,OAAO,MAAMC,sDAAsD,GAAGA,CACpEC,cAA+B,EAC/BC,IAAuE,EACvEC,OAAqB,KAErB,4FAA6FJ,IAAI,CAACK,IAAI,CACpG,8EAA8EH,cAAc,MAAM,EAClGC,IAAI,EACJC,OACF,CAAC","ignoreList":[]}
|
@@ -4,5 +4,5 @@ import { http } from "@next-core/http";
|
|
4
4
|
* @description 删除大模型记忆的调试环境
|
5
5
|
* @endpoint DELETE /api/v1/llm/aiops_service/memory/env/:_row_id
|
6
6
|
*/
|
7
|
-
export const AiopsMemoryApi_deleteMemoryEnv = (_row_id, options) => /**! @contract easyops.api.llm.aiops_memory.DeleteMemoryEnv@1.0.0 */http.delete(`api/gateway/llm.
|
7
|
+
export const AiopsMemoryApi_deleteMemoryEnv = (_row_id, options) => /**! @contract easyops.api.llm.aiops_memory.DeleteMemoryEnv@1.0.0 */http.delete(`api/gateway/logic.llm.aiops_service/api/v1/llm/aiops_service/memory/env/${_row_id}`, options);
|
8
8
|
//# sourceMappingURL=deleteMemoryEnv.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"deleteMemoryEnv.js","names":["http","AiopsMemoryApi_deleteMemoryEnv","_row_id","options","delete"],"sources":["../../../../../src/api/llm/aiops_memory/deleteMemoryEnv.ts"],"sourcesContent":["import { http, HttpOptions } from \"@next-core/http\";\n\n/**\n * @description 删除大模型记忆的调试环境\n * @endpoint DELETE /api/v1/llm/aiops_service/memory/env/:_row_id\n */\nexport const AiopsMemoryApi_deleteMemoryEnv = (\n _row_id: string | number,\n options?: HttpOptions\n): Promise<void> =>\n /**! @contract easyops.api.llm.aiops_memory.DeleteMemoryEnv@1.0.0 */ http.delete<void>(\n `api/gateway/llm.
|
1
|
+
{"version":3,"file":"deleteMemoryEnv.js","names":["http","AiopsMemoryApi_deleteMemoryEnv","_row_id","options","delete"],"sources":["../../../../../src/api/llm/aiops_memory/deleteMemoryEnv.ts"],"sourcesContent":["import { http, HttpOptions } from \"@next-core/http\";\n\n/**\n * @description 删除大模型记忆的调试环境\n * @endpoint DELETE /api/v1/llm/aiops_service/memory/env/:_row_id\n */\nexport const AiopsMemoryApi_deleteMemoryEnv = (\n _row_id: string | number,\n options?: HttpOptions\n): Promise<void> =>\n /**! @contract easyops.api.llm.aiops_memory.DeleteMemoryEnv@1.0.0 */ http.delete<void>(\n `api/gateway/logic.llm.aiops_service/api/v1/llm/aiops_service/memory/env/${_row_id}`,\n options\n );\n"],"mappings":"AAAA,SAASA,IAAI,QAAqB,iBAAiB;;AAEnD;AACA;AACA;AACA;AACA,OAAO,MAAMC,8BAA8B,GAAGA,CAC5CC,OAAwB,EACxBC,OAAqB,KAErB,oEAAqEH,IAAI,CAACI,MAAM,CAC9E,2EAA2EF,OAAO,EAAE,EACpFC,OACF,CAAC","ignoreList":[]}
|
@@ -3,5 +3,5 @@ import { http } from "@next-core/http";
|
|
3
3
|
* @description 通过会话id获取大模型记忆
|
4
4
|
* @endpoint POST /api/v1/llm/aiops_service/memory/get_with_conversation
|
5
5
|
*/
|
6
|
-
export const AiopsMemoryApi_getLlmMemoryWithConversationId = async (data, options) => /**! @contract easyops.api.llm.aiops_memory.GetLlmMemoryWithConversationId@1.0.0 */(await http.post("api/gateway/llm.
|
6
|
+
export const AiopsMemoryApi_getLlmMemoryWithConversationId = async (data, options) => /**! @contract easyops.api.llm.aiops_memory.GetLlmMemoryWithConversationId@1.0.0 */(await http.post("api/gateway/logic.llm.aiops_service/api/v1/llm/aiops_service/memory/get_with_conversation", data, options)).data;
|
7
7
|
//# sourceMappingURL=getLlmMemoryWithConversationId.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"getLlmMemoryWithConversationId.js","names":["http","AiopsMemoryApi_getLlmMemoryWithConversationId","data","options","post"],"sources":["../../../../../src/api/llm/aiops_memory/getLlmMemoryWithConversationId.ts"],"sourcesContent":["import { http, HttpOptions } from \"@next-core/http\";\nimport { ModelLlmMemory } from \"../../../model/llm/index.js\";\nimport { ResponseBodyWrapper } from \"../../../wrapper.js\";\n\nexport interface AiopsMemoryApi_GetLlmMemoryWithConversationIdRequestBody {\n /** 会话id */\n conversationId?: string;\n}\n\nexport interface AiopsMemoryApi_GetLlmMemoryWithConversationIdResponseBody {\n /** 大模型记忆 */\n memories?: Partial<ModelLlmMemory>[];\n}\n\n/**\n * @description 通过会话id获取大模型记忆\n * @endpoint POST /api/v1/llm/aiops_service/memory/get_with_conversation\n */\nexport const AiopsMemoryApi_getLlmMemoryWithConversationId = async (\n data: AiopsMemoryApi_GetLlmMemoryWithConversationIdRequestBody,\n options?: HttpOptions\n): Promise<AiopsMemoryApi_GetLlmMemoryWithConversationIdResponseBody> =>\n /**! @contract easyops.api.llm.aiops_memory.GetLlmMemoryWithConversationId@1.0.0 */ (\n await http.post<\n ResponseBodyWrapper<AiopsMemoryApi_GetLlmMemoryWithConversationIdResponseBody>\n >(\n \"api/gateway/llm.
|
1
|
+
{"version":3,"file":"getLlmMemoryWithConversationId.js","names":["http","AiopsMemoryApi_getLlmMemoryWithConversationId","data","options","post"],"sources":["../../../../../src/api/llm/aiops_memory/getLlmMemoryWithConversationId.ts"],"sourcesContent":["import { http, HttpOptions } from \"@next-core/http\";\nimport { ModelLlmMemory } from \"../../../model/llm/index.js\";\nimport { ResponseBodyWrapper } from \"../../../wrapper.js\";\n\nexport interface AiopsMemoryApi_GetLlmMemoryWithConversationIdRequestBody {\n /** 会话id */\n conversationId?: string;\n}\n\nexport interface AiopsMemoryApi_GetLlmMemoryWithConversationIdResponseBody {\n /** 大模型记忆 */\n memories?: Partial<ModelLlmMemory>[];\n}\n\n/**\n * @description 通过会话id获取大模型记忆\n * @endpoint POST /api/v1/llm/aiops_service/memory/get_with_conversation\n */\nexport const AiopsMemoryApi_getLlmMemoryWithConversationId = async (\n data: AiopsMemoryApi_GetLlmMemoryWithConversationIdRequestBody,\n options?: HttpOptions\n): Promise<AiopsMemoryApi_GetLlmMemoryWithConversationIdResponseBody> =>\n /**! @contract easyops.api.llm.aiops_memory.GetLlmMemoryWithConversationId@1.0.0 */ (\n await http.post<\n ResponseBodyWrapper<AiopsMemoryApi_GetLlmMemoryWithConversationIdResponseBody>\n >(\n \"api/gateway/logic.llm.aiops_service/api/v1/llm/aiops_service/memory/get_with_conversation\",\n data,\n options\n )\n ).data;\n"],"mappings":"AAAA,SAASA,IAAI,QAAqB,iBAAiB;AAcnD;AACA;AACA;AACA;AACA,OAAO,MAAMC,6CAA6C,GAAG,MAAAA,CAC3DC,IAA8D,EAC9DC,OAAqB,KAErB,mFAAoF,CAClF,MAAMH,IAAI,CAACI,IAAI,CAGb,2FAA2F,EAC3FF,IAAI,EACJC,OACF,CAAC,EACDD,IAAI","ignoreList":[]}
|
@@ -3,5 +3,5 @@ import { http } from "@next-core/http";
|
|
3
3
|
* @description 通过会话id和记忆key获取大模型记忆
|
4
4
|
* @endpoint POST /api/v1/llm/aiops_service/memory/get_with_conversation_and_key
|
5
5
|
*/
|
6
|
-
export const AiopsMemoryApi_getLlmMemoryWithConversationIdAndKey = async (data, options) => /**! @contract easyops.api.llm.aiops_memory.GetLlmMemoryWithConversationIdAndKey@1.0.0 */(await http.post("api/gateway/llm.
|
6
|
+
export const AiopsMemoryApi_getLlmMemoryWithConversationIdAndKey = async (data, options) => /**! @contract easyops.api.llm.aiops_memory.GetLlmMemoryWithConversationIdAndKey@1.0.0 */(await http.post("api/gateway/logic.llm.aiops_service/api/v1/llm/aiops_service/memory/get_with_conversation_and_key", data, options)).data;
|
7
7
|
//# sourceMappingURL=getLlmMemoryWithConversationIdAndKey.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"getLlmMemoryWithConversationIdAndKey.js","names":["http","AiopsMemoryApi_getLlmMemoryWithConversationIdAndKey","data","options","post"],"sources":["../../../../../src/api/llm/aiops_memory/getLlmMemoryWithConversationIdAndKey.ts"],"sourcesContent":["import { http, HttpOptions } from \"@next-core/http\";\nimport { ModelLlmMemory } from \"../../../model/llm/index.js\";\nimport { ResponseBodyWrapper } from \"../../../wrapper.js\";\n\nexport interface AiopsMemoryApi_GetLlmMemoryWithConversationIdAndKeyRequestBody {\n /** 会话id */\n conversationId?: string;\n\n /** 记忆key */\n memKey?: string;\n}\n\nexport interface AiopsMemoryApi_GetLlmMemoryWithConversationIdAndKeyResponseBody {\n /** 大模型记忆 */\n memory?: Partial<ModelLlmMemory>;\n}\n\n/**\n * @description 通过会话id和记忆key获取大模型记忆\n * @endpoint POST /api/v1/llm/aiops_service/memory/get_with_conversation_and_key\n */\nexport const AiopsMemoryApi_getLlmMemoryWithConversationIdAndKey = async (\n data: AiopsMemoryApi_GetLlmMemoryWithConversationIdAndKeyRequestBody,\n options?: HttpOptions\n): Promise<AiopsMemoryApi_GetLlmMemoryWithConversationIdAndKeyResponseBody> =>\n /**! @contract easyops.api.llm.aiops_memory.GetLlmMemoryWithConversationIdAndKey@1.0.0 */ (\n await http.post<\n ResponseBodyWrapper<AiopsMemoryApi_GetLlmMemoryWithConversationIdAndKeyResponseBody>\n >(\n \"api/gateway/llm.
|
1
|
+
{"version":3,"file":"getLlmMemoryWithConversationIdAndKey.js","names":["http","AiopsMemoryApi_getLlmMemoryWithConversationIdAndKey","data","options","post"],"sources":["../../../../../src/api/llm/aiops_memory/getLlmMemoryWithConversationIdAndKey.ts"],"sourcesContent":["import { http, HttpOptions } from \"@next-core/http\";\nimport { ModelLlmMemory } from \"../../../model/llm/index.js\";\nimport { ResponseBodyWrapper } from \"../../../wrapper.js\";\n\nexport interface AiopsMemoryApi_GetLlmMemoryWithConversationIdAndKeyRequestBody {\n /** 会话id */\n conversationId?: string;\n\n /** 记忆key */\n memKey?: string;\n}\n\nexport interface AiopsMemoryApi_GetLlmMemoryWithConversationIdAndKeyResponseBody {\n /** 大模型记忆 */\n memory?: Partial<ModelLlmMemory>;\n}\n\n/**\n * @description 通过会话id和记忆key获取大模型记忆\n * @endpoint POST /api/v1/llm/aiops_service/memory/get_with_conversation_and_key\n */\nexport const AiopsMemoryApi_getLlmMemoryWithConversationIdAndKey = async (\n data: AiopsMemoryApi_GetLlmMemoryWithConversationIdAndKeyRequestBody,\n options?: HttpOptions\n): Promise<AiopsMemoryApi_GetLlmMemoryWithConversationIdAndKeyResponseBody> =>\n /**! @contract easyops.api.llm.aiops_memory.GetLlmMemoryWithConversationIdAndKey@1.0.0 */ (\n await http.post<\n ResponseBodyWrapper<AiopsMemoryApi_GetLlmMemoryWithConversationIdAndKeyResponseBody>\n >(\n \"api/gateway/logic.llm.aiops_service/api/v1/llm/aiops_service/memory/get_with_conversation_and_key\",\n data,\n options\n )\n ).data;\n"],"mappings":"AAAA,SAASA,IAAI,QAAqB,iBAAiB;AAiBnD;AACA;AACA;AACA;AACA,OAAO,MAAMC,mDAAmD,GAAG,MAAAA,CACjEC,IAAoE,EACpEC,OAAqB,KAErB,yFAA0F,CACxF,MAAMH,IAAI,CAACI,IAAI,CAGb,mGAAmG,EACnGF,IAAI,EACJC,OACF,CAAC,EACDD,IAAI","ignoreList":[]}
|
@@ -3,5 +3,5 @@ import { http } from "@next-core/http";
|
|
3
3
|
* @description 查询大模型记忆的调试环境
|
4
4
|
* @endpoint POST /api/v1/llm/aiops_service/memory/env/search
|
5
5
|
*/
|
6
|
-
export const AiopsMemoryApi_searchMemoryEnv = async (data, options) => /**! @contract easyops.api.llm.aiops_memory.SearchMemoryEnv@1.0.0 */(await http.post("api/gateway/llm.
|
6
|
+
export const AiopsMemoryApi_searchMemoryEnv = async (data, options) => /**! @contract easyops.api.llm.aiops_memory.SearchMemoryEnv@1.0.0 */(await http.post("api/gateway/logic.llm.aiops_service/api/v1/llm/aiops_service/memory/env/search", data, options)).data;
|
7
7
|
//# sourceMappingURL=searchMemoryEnv.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"searchMemoryEnv.js","names":["http","AiopsMemoryApi_searchMemoryEnv","data","options","post"],"sources":["../../../../../src/api/llm/aiops_memory/searchMemoryEnv.ts"],"sourcesContent":["import { http, HttpOptions } from \"@next-core/http\";\nimport { ModelLlmMemoryEnv } from \"../../../model/llm/index.js\";\nimport { ResponseBodyWrapper } from \"../../../wrapper.js\";\n\nexport interface AiopsMemoryApi_SearchMemoryEnvRequestBody {\n /** 返回限制的数量 */\n limit?: number;\n\n /** 上一页,或者下一页的token */\n nextToken?: string;\n\n /** 查询关键字,使用字符串模糊匹配 */\n query?: string;\n}\n\nexport interface AiopsMemoryApi_SearchMemoryEnvResponseBody {\n /** 环境 列表 */\n list?: Partial<ModelLlmMemoryEnv>[];\n\n /** 本次调用返回的查询凭证(Token)。当该返回值为空时,表示该页为末页,不再有后续页。 */\n nextToken?: string;\n\n /** 上一页token */\n previousToken?: string;\n}\n\n/**\n * @description 查询大模型记忆的调试环境\n * @endpoint POST /api/v1/llm/aiops_service/memory/env/search\n */\nexport const AiopsMemoryApi_searchMemoryEnv = async (\n data: AiopsMemoryApi_SearchMemoryEnvRequestBody,\n options?: HttpOptions\n): Promise<AiopsMemoryApi_SearchMemoryEnvResponseBody> =>\n /**! @contract easyops.api.llm.aiops_memory.SearchMemoryEnv@1.0.0 */ (\n await http.post<\n ResponseBodyWrapper<AiopsMemoryApi_SearchMemoryEnvResponseBody>\n >(\n \"api/gateway/llm.
|
1
|
+
{"version":3,"file":"searchMemoryEnv.js","names":["http","AiopsMemoryApi_searchMemoryEnv","data","options","post"],"sources":["../../../../../src/api/llm/aiops_memory/searchMemoryEnv.ts"],"sourcesContent":["import { http, HttpOptions } from \"@next-core/http\";\nimport { ModelLlmMemoryEnv } from \"../../../model/llm/index.js\";\nimport { ResponseBodyWrapper } from \"../../../wrapper.js\";\n\nexport interface AiopsMemoryApi_SearchMemoryEnvRequestBody {\n /** 返回限制的数量 */\n limit?: number;\n\n /** 上一页,或者下一页的token */\n nextToken?: string;\n\n /** 查询关键字,使用字符串模糊匹配 */\n query?: string;\n}\n\nexport interface AiopsMemoryApi_SearchMemoryEnvResponseBody {\n /** 环境 列表 */\n list?: Partial<ModelLlmMemoryEnv>[];\n\n /** 本次调用返回的查询凭证(Token)。当该返回值为空时,表示该页为末页,不再有后续页。 */\n nextToken?: string;\n\n /** 上一页token */\n previousToken?: string;\n}\n\n/**\n * @description 查询大模型记忆的调试环境\n * @endpoint POST /api/v1/llm/aiops_service/memory/env/search\n */\nexport const AiopsMemoryApi_searchMemoryEnv = async (\n data: AiopsMemoryApi_SearchMemoryEnvRequestBody,\n options?: HttpOptions\n): Promise<AiopsMemoryApi_SearchMemoryEnvResponseBody> =>\n /**! @contract easyops.api.llm.aiops_memory.SearchMemoryEnv@1.0.0 */ (\n await http.post<\n ResponseBodyWrapper<AiopsMemoryApi_SearchMemoryEnvResponseBody>\n >(\n \"api/gateway/logic.llm.aiops_service/api/v1/llm/aiops_service/memory/env/search\",\n data,\n options\n )\n ).data;\n"],"mappings":"AAAA,SAASA,IAAI,QAAqB,iBAAiB;AA0BnD;AACA;AACA;AACA;AACA,OAAO,MAAMC,8BAA8B,GAAG,MAAAA,CAC5CC,IAA+C,EAC/CC,OAAqB,KAErB,oEAAqE,CACnE,MAAMH,IAAI,CAACI,IAAI,CAGb,gFAAgF,EAChFF,IAAI,EACJC,OACF,CAAC,EACDD,IAAI","ignoreList":[]}
|
@@ -3,5 +3,5 @@ import { http } from "@next-core/http";
|
|
3
3
|
* @description 更新大模型记忆的调试环境
|
4
4
|
* @endpoint POST /api/v1/llm/aiops_service/memory/env/:_row_id/update
|
5
5
|
*/
|
6
|
-
export const AiopsMemoryApi_updateMemoryEnv = (_row_id, data, options) => /**! @contract easyops.api.llm.aiops_memory.UpdateMemoryEnv@1.0.0 */http.post(`api/gateway/llm.
|
6
|
+
export const AiopsMemoryApi_updateMemoryEnv = (_row_id, data, options) => /**! @contract easyops.api.llm.aiops_memory.UpdateMemoryEnv@1.0.0 */http.post(`api/gateway/logic.llm.aiops_service/api/v1/llm/aiops_service/memory/env/${_row_id}/update`, data, options);
|
7
7
|
//# sourceMappingURL=updateMemoryEnv.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"updateMemoryEnv.js","names":["http","AiopsMemoryApi_updateMemoryEnv","_row_id","data","options","post"],"sources":["../../../../../src/api/llm/aiops_memory/updateMemoryEnv.ts"],"sourcesContent":["import { http, HttpOptions } from \"@next-core/http\";\nimport { ModelLlmMemoryEnv } from \"../../../model/llm/index.js\";\n\nexport type AiopsMemoryApi_UpdateMemoryEnvRequestBody =\n Partial<ModelLlmMemoryEnv>;\n\n/**\n * @description 更新大模型记忆的调试环境\n * @endpoint POST /api/v1/llm/aiops_service/memory/env/:_row_id/update\n */\nexport const AiopsMemoryApi_updateMemoryEnv = (\n _row_id: string | number,\n data: AiopsMemoryApi_UpdateMemoryEnvRequestBody,\n options?: HttpOptions\n): Promise<void> =>\n /**! @contract easyops.api.llm.aiops_memory.UpdateMemoryEnv@1.0.0 */ http.post<void>(\n `api/gateway/llm.
|
1
|
+
{"version":3,"file":"updateMemoryEnv.js","names":["http","AiopsMemoryApi_updateMemoryEnv","_row_id","data","options","post"],"sources":["../../../../../src/api/llm/aiops_memory/updateMemoryEnv.ts"],"sourcesContent":["import { http, HttpOptions } from \"@next-core/http\";\nimport { ModelLlmMemoryEnv } from \"../../../model/llm/index.js\";\n\nexport type AiopsMemoryApi_UpdateMemoryEnvRequestBody =\n Partial<ModelLlmMemoryEnv>;\n\n/**\n * @description 更新大模型记忆的调试环境\n * @endpoint POST /api/v1/llm/aiops_service/memory/env/:_row_id/update\n */\nexport const AiopsMemoryApi_updateMemoryEnv = (\n _row_id: string | number,\n data: AiopsMemoryApi_UpdateMemoryEnvRequestBody,\n options?: HttpOptions\n): Promise<void> =>\n /**! @contract easyops.api.llm.aiops_memory.UpdateMemoryEnv@1.0.0 */ http.post<void>(\n `api/gateway/logic.llm.aiops_service/api/v1/llm/aiops_service/memory/env/${_row_id}/update`,\n data,\n options\n );\n"],"mappings":"AAAA,SAASA,IAAI,QAAqB,iBAAiB;AAMnD;AACA;AACA;AACA;AACA,OAAO,MAAMC,8BAA8B,GAAGA,CAC5CC,OAAwB,EACxBC,IAA+C,EAC/CC,OAAqB,KAErB,oEAAqEJ,IAAI,CAACK,IAAI,CAC5E,2EAA2EH,OAAO,SAAS,EAC3FC,IAAI,EACJC,OACF,CAAC","ignoreList":[]}
|
@@ -3,5 +3,5 @@ import { http } from "@next-core/http";
|
|
3
3
|
* @description 通过会话id和记忆key导入大模型记忆
|
4
4
|
* @endpoint POST /api/v1/llm/aiops_service/memory/upsert/:conversationId
|
5
5
|
*/
|
6
|
-
export const AiopsMemoryApi_upsertLlmMemoryWithConversationIdAndKey = (conversationId, data, options) => /**! @contract easyops.api.llm.aiops_memory.UpsertLlmMemoryWithConversationIdAndKey@1.0.0 */http.post(`api/gateway/llm.
|
6
|
+
export const AiopsMemoryApi_upsertLlmMemoryWithConversationIdAndKey = (conversationId, data, options) => /**! @contract easyops.api.llm.aiops_memory.UpsertLlmMemoryWithConversationIdAndKey@1.0.0 */http.post(`api/gateway/logic.llm.aiops_service/api/v1/llm/aiops_service/memory/upsert/${conversationId}`, data, options);
|
7
7
|
//# sourceMappingURL=upsertLlmMemoryWithConversationIdAndKey.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"upsertLlmMemoryWithConversationIdAndKey.js","names":["http","AiopsMemoryApi_upsertLlmMemoryWithConversationIdAndKey","conversationId","data","options","post"],"sources":["../../../../../src/api/llm/aiops_memory/upsertLlmMemoryWithConversationIdAndKey.ts"],"sourcesContent":["import { http, HttpOptions } from \"@next-core/http\";\nimport { ModelLlmMemory } from \"../../../model/llm/index.js\";\n\nexport interface AiopsMemoryApi_UpsertLlmMemoryWithConversationIdAndKeyRequestBody {\n /** 需要更新或插入的记忆 */\n memories?: Partial<ModelLlmMemory>[];\n}\n\n/**\n * @description 通过会话id和记忆key导入大模型记忆\n * @endpoint POST /api/v1/llm/aiops_service/memory/upsert/:conversationId\n */\nexport const AiopsMemoryApi_upsertLlmMemoryWithConversationIdAndKey = (\n conversationId: string | number,\n data: AiopsMemoryApi_UpsertLlmMemoryWithConversationIdAndKeyRequestBody,\n options?: HttpOptions\n): Promise<void> =>\n /**! @contract easyops.api.llm.aiops_memory.UpsertLlmMemoryWithConversationIdAndKey@1.0.0 */ http.post<void>(\n `api/gateway/llm.
|
1
|
+
{"version":3,"file":"upsertLlmMemoryWithConversationIdAndKey.js","names":["http","AiopsMemoryApi_upsertLlmMemoryWithConversationIdAndKey","conversationId","data","options","post"],"sources":["../../../../../src/api/llm/aiops_memory/upsertLlmMemoryWithConversationIdAndKey.ts"],"sourcesContent":["import { http, HttpOptions } from \"@next-core/http\";\nimport { ModelLlmMemory } from \"../../../model/llm/index.js\";\n\nexport interface AiopsMemoryApi_UpsertLlmMemoryWithConversationIdAndKeyRequestBody {\n /** 需要更新或插入的记忆 */\n memories?: Partial<ModelLlmMemory>[];\n}\n\n/**\n * @description 通过会话id和记忆key导入大模型记忆\n * @endpoint POST /api/v1/llm/aiops_service/memory/upsert/:conversationId\n */\nexport const AiopsMemoryApi_upsertLlmMemoryWithConversationIdAndKey = (\n conversationId: string | number,\n data: AiopsMemoryApi_UpsertLlmMemoryWithConversationIdAndKeyRequestBody,\n options?: HttpOptions\n): Promise<void> =>\n /**! @contract easyops.api.llm.aiops_memory.UpsertLlmMemoryWithConversationIdAndKey@1.0.0 */ http.post<void>(\n `api/gateway/logic.llm.aiops_service/api/v1/llm/aiops_service/memory/upsert/${conversationId}`,\n data,\n options\n );\n"],"mappings":"AAAA,SAASA,IAAI,QAAqB,iBAAiB;AAQnD;AACA;AACA;AACA;AACA,OAAO,MAAMC,sDAAsD,GAAGA,CACpEC,cAA+B,EAC/BC,IAAuE,EACvEC,OAAqB,KAErB,4FAA6FJ,IAAI,CAACK,IAAI,CACpG,8EAA8EH,cAAc,EAAE,EAC9FC,IAAI,EACJC,OACF,CAAC","ignoreList":[]}
|
@@ -3,5 +3,5 @@ import { http } from "@next-core/http";
|
|
3
3
|
* @description 删除提示词
|
4
4
|
* @endpoint POST /api/v1/llm/aiops_service/prompt/delete
|
5
5
|
*/
|
6
|
-
export const AiopsPromptApi_llmDeletePrompt = async (data, options) => /**! @contract easyops.api.llm.aiops_prompt.LLMDeletePrompt@1.0.0 */(await http.post("api/gateway/llm.
|
6
|
+
export const AiopsPromptApi_llmDeletePrompt = async (data, options) => /**! @contract easyops.api.llm.aiops_prompt.LLMDeletePrompt@1.0.0 */(await http.post("api/gateway/logic.llm.aiops_service/api/v1/llm/aiops_service/prompt/delete", data, options)).data;
|
7
7
|
//# sourceMappingURL=llmDeletePrompt.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"llmDeletePrompt.js","names":["http","AiopsPromptApi_llmDeletePrompt","data","options","post"],"sources":["../../../../../src/api/llm/aiops_prompt/llmDeletePrompt.ts"],"sourcesContent":["import { http, HttpOptions } from \"@next-core/http\";\nimport { ResponseBodyWrapper } from \"../../../wrapper.js\";\n\nexport interface AiopsPromptApi_LlmDeletePromptRequestBody {\n /** instanceId */\n instanceId?: string;\n\n /** agent的id */\n agentId?: string;\n\n /** 对应的key */\n key?: string;\n\n /** 对应模型的id */\n modelId?: string;\n}\n\nexport interface AiopsPromptApi_LlmDeletePromptResponseBody {\n /** 删除的提示词的数量 */\n nums?: number;\n}\n\n/**\n * @description 删除提示词\n * @endpoint POST /api/v1/llm/aiops_service/prompt/delete\n */\nexport const AiopsPromptApi_llmDeletePrompt = async (\n data: AiopsPromptApi_LlmDeletePromptRequestBody,\n options?: HttpOptions\n): Promise<AiopsPromptApi_LlmDeletePromptResponseBody> =>\n /**! @contract easyops.api.llm.aiops_prompt.LLMDeletePrompt@1.0.0 */ (\n await http.post<\n ResponseBodyWrapper<AiopsPromptApi_LlmDeletePromptResponseBody>\n >(\n \"api/gateway/llm.
|
1
|
+
{"version":3,"file":"llmDeletePrompt.js","names":["http","AiopsPromptApi_llmDeletePrompt","data","options","post"],"sources":["../../../../../src/api/llm/aiops_prompt/llmDeletePrompt.ts"],"sourcesContent":["import { http, HttpOptions } from \"@next-core/http\";\nimport { ResponseBodyWrapper } from \"../../../wrapper.js\";\n\nexport interface AiopsPromptApi_LlmDeletePromptRequestBody {\n /** instanceId */\n instanceId?: string;\n\n /** agent的id */\n agentId?: string;\n\n /** 对应的key */\n key?: string;\n\n /** 对应模型的id */\n modelId?: string;\n}\n\nexport interface AiopsPromptApi_LlmDeletePromptResponseBody {\n /** 删除的提示词的数量 */\n nums?: number;\n}\n\n/**\n * @description 删除提示词\n * @endpoint POST /api/v1/llm/aiops_service/prompt/delete\n */\nexport const AiopsPromptApi_llmDeletePrompt = async (\n data: AiopsPromptApi_LlmDeletePromptRequestBody,\n options?: HttpOptions\n): Promise<AiopsPromptApi_LlmDeletePromptResponseBody> =>\n /**! @contract easyops.api.llm.aiops_prompt.LLMDeletePrompt@1.0.0 */ (\n await http.post<\n ResponseBodyWrapper<AiopsPromptApi_LlmDeletePromptResponseBody>\n >(\n \"api/gateway/logic.llm.aiops_service/api/v1/llm/aiops_service/prompt/delete\",\n data,\n options\n )\n ).data;\n"],"mappings":"AAAA,SAASA,IAAI,QAAqB,iBAAiB;AAsBnD;AACA;AACA;AACA;AACA,OAAO,MAAMC,8BAA8B,GAAG,MAAAA,CAC5CC,IAA+C,EAC/CC,OAAqB,KAErB,oEAAqE,CACnE,MAAMH,IAAI,CAACI,IAAI,CAGb,4EAA4E,EAC5EF,IAAI,EACJC,OACF,CAAC,EACDD,IAAI","ignoreList":[]}
|
@@ -3,5 +3,5 @@ import { http } from "@next-core/http";
|
|
3
3
|
* @description 获取提示词
|
4
4
|
* @endpoint POST /api/v1/llm/aiops_service/prompt/get
|
5
5
|
*/
|
6
|
-
export const AiopsPromptApi_llmGetPrompt = async (data, options) => /**! @contract easyops.api.llm.aiops_prompt.LLMGetPrompt@1.0.0 */(await http.post("api/gateway/llm.
|
6
|
+
export const AiopsPromptApi_llmGetPrompt = async (data, options) => /**! @contract easyops.api.llm.aiops_prompt.LLMGetPrompt@1.0.0 */(await http.post("api/gateway/logic.llm.aiops_service/api/v1/llm/aiops_service/prompt/get", data, options)).data;
|
7
7
|
//# sourceMappingURL=llmGetPrompt.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"llmGetPrompt.js","names":["http","AiopsPromptApi_llmGetPrompt","data","options","post"],"sources":["../../../../../src/api/llm/aiops_prompt/llmGetPrompt.ts"],"sourcesContent":["import { http, HttpOptions } from \"@next-core/http\";\nimport { ResponseBodyWrapper } from \"../../../wrapper.js\";\n\nexport interface AiopsPromptApi_LlmGetPromptRequestBody {\n /** agent的id */\n agentId: string;\n\n /** 对应的key */\n key: string;\n\n /** 对应模型的id */\n modelId?: string;\n}\n\nexport interface AiopsPromptApi_LlmGetPromptResponseBody {\n /** 获取到的提示词 */\n prompt?: string;\n}\n\n/**\n * @description 获取提示词\n * @endpoint POST /api/v1/llm/aiops_service/prompt/get\n */\nexport const AiopsPromptApi_llmGetPrompt = async (\n data: AiopsPromptApi_LlmGetPromptRequestBody,\n options?: HttpOptions\n): Promise<AiopsPromptApi_LlmGetPromptResponseBody> =>\n /**! @contract easyops.api.llm.aiops_prompt.LLMGetPrompt@1.0.0 */ (\n await http.post<\n ResponseBodyWrapper<AiopsPromptApi_LlmGetPromptResponseBody>\n >(\n \"api/gateway/llm.
|
1
|
+
{"version":3,"file":"llmGetPrompt.js","names":["http","AiopsPromptApi_llmGetPrompt","data","options","post"],"sources":["../../../../../src/api/llm/aiops_prompt/llmGetPrompt.ts"],"sourcesContent":["import { http, HttpOptions } from \"@next-core/http\";\nimport { ResponseBodyWrapper } from \"../../../wrapper.js\";\n\nexport interface AiopsPromptApi_LlmGetPromptRequestBody {\n /** agent的id */\n agentId: string;\n\n /** 对应的key */\n key: string;\n\n /** 对应模型的id */\n modelId?: string;\n}\n\nexport interface AiopsPromptApi_LlmGetPromptResponseBody {\n /** 获取到的提示词 */\n prompt?: string;\n}\n\n/**\n * @description 获取提示词\n * @endpoint POST /api/v1/llm/aiops_service/prompt/get\n */\nexport const AiopsPromptApi_llmGetPrompt = async (\n data: AiopsPromptApi_LlmGetPromptRequestBody,\n options?: HttpOptions\n): Promise<AiopsPromptApi_LlmGetPromptResponseBody> =>\n /**! @contract easyops.api.llm.aiops_prompt.LLMGetPrompt@1.0.0 */ (\n await http.post<\n ResponseBodyWrapper<AiopsPromptApi_LlmGetPromptResponseBody>\n >(\n \"api/gateway/logic.llm.aiops_service/api/v1/llm/aiops_service/prompt/get\",\n data,\n options\n )\n ).data;\n"],"mappings":"AAAA,SAASA,IAAI,QAAqB,iBAAiB;AAmBnD;AACA;AACA;AACA;AACA,OAAO,MAAMC,2BAA2B,GAAG,MAAAA,CACzCC,IAA4C,EAC5CC,OAAqB,KAErB,iEAAkE,CAChE,MAAMH,IAAI,CAACI,IAAI,CAGb,yEAAyE,EACzEF,IAAI,EACJC,OACF,CAAC,EACDD,IAAI","ignoreList":[]}
|
@@ -3,5 +3,5 @@ import { http } from "@next-core/http";
|
|
3
3
|
* @description 插入或更新提示词
|
4
4
|
* @endpoint POST /api/v1/llm/aiops_service/prompt/upsert
|
5
5
|
*/
|
6
|
-
export const AiopsPromptApi_llmUpsertPrompt = async (data, options) => /**! @contract easyops.api.llm.aiops_prompt.LLMUpsertPrompt@1.0.0 */(await http.post("api/gateway/llm.
|
6
|
+
export const AiopsPromptApi_llmUpsertPrompt = async (data, options) => /**! @contract easyops.api.llm.aiops_prompt.LLMUpsertPrompt@1.0.0 */(await http.post("api/gateway/logic.llm.aiops_service/api/v1/llm/aiops_service/prompt/upsert", data, options)).data;
|
7
7
|
//# sourceMappingURL=llmUpsertPrompt.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"llmUpsertPrompt.js","names":["http","AiopsPromptApi_llmUpsertPrompt","data","options","post"],"sources":["../../../../../src/api/llm/aiops_prompt/llmUpsertPrompt.ts"],"sourcesContent":["import { http, HttpOptions } from \"@next-core/http\";\nimport { ResponseBodyWrapper } from \"../../../wrapper.js\";\n\nexport interface AiopsPromptApi_LlmUpsertPromptRequestBody {\n /** agent的id */\n agentId: string;\n\n /** 对应的key */\n key: string;\n\n /** 对应模型的id */\n modelId?: string;\n\n /** 描述 */\n description?: string;\n\n /** 对应的提示词 */\n prompt: string;\n}\n\nexport interface AiopsPromptApi_LlmUpsertPromptResponseBody {\n /** 插入或更新的实例的instanceId */\n instanceId?: string;\n}\n\n/**\n * @description 插入或更新提示词\n * @endpoint POST /api/v1/llm/aiops_service/prompt/upsert\n */\nexport const AiopsPromptApi_llmUpsertPrompt = async (\n data: AiopsPromptApi_LlmUpsertPromptRequestBody,\n options?: HttpOptions\n): Promise<AiopsPromptApi_LlmUpsertPromptResponseBody> =>\n /**! @contract easyops.api.llm.aiops_prompt.LLMUpsertPrompt@1.0.0 */ (\n await http.post<\n ResponseBodyWrapper<AiopsPromptApi_LlmUpsertPromptResponseBody>\n >(\n \"api/gateway/llm.
|
1
|
+
{"version":3,"file":"llmUpsertPrompt.js","names":["http","AiopsPromptApi_llmUpsertPrompt","data","options","post"],"sources":["../../../../../src/api/llm/aiops_prompt/llmUpsertPrompt.ts"],"sourcesContent":["import { http, HttpOptions } from \"@next-core/http\";\nimport { ResponseBodyWrapper } from \"../../../wrapper.js\";\n\nexport interface AiopsPromptApi_LlmUpsertPromptRequestBody {\n /** agent的id */\n agentId: string;\n\n /** 对应的key */\n key: string;\n\n /** 对应模型的id */\n modelId?: string;\n\n /** 描述 */\n description?: string;\n\n /** 对应的提示词 */\n prompt: string;\n}\n\nexport interface AiopsPromptApi_LlmUpsertPromptResponseBody {\n /** 插入或更新的实例的instanceId */\n instanceId?: string;\n}\n\n/**\n * @description 插入或更新提示词\n * @endpoint POST /api/v1/llm/aiops_service/prompt/upsert\n */\nexport const AiopsPromptApi_llmUpsertPrompt = async (\n data: AiopsPromptApi_LlmUpsertPromptRequestBody,\n options?: HttpOptions\n): Promise<AiopsPromptApi_LlmUpsertPromptResponseBody> =>\n /**! @contract easyops.api.llm.aiops_prompt.LLMUpsertPrompt@1.0.0 */ (\n await http.post<\n ResponseBodyWrapper<AiopsPromptApi_LlmUpsertPromptResponseBody>\n >(\n \"api/gateway/logic.llm.aiops_service/api/v1/llm/aiops_service/prompt/upsert\",\n data,\n options\n )\n ).data;\n"],"mappings":"AAAA,SAASA,IAAI,QAAqB,iBAAiB;AAyBnD;AACA;AACA;AACA;AACA,OAAO,MAAMC,8BAA8B,GAAG,MAAAA,CAC5CC,IAA+C,EAC/CC,OAAqB,KAErB,oEAAqE,CACnE,MAAMH,IAAI,CAACI,IAAI,CAGb,4EAA4E,EAC5EF,IAAI,EACJC,OACF,CAAC,EACDD,IAAI","ignoreList":[]}
|
@@ -3,5 +3,5 @@ import { http } from "@next-core/http";
|
|
3
3
|
* @description 增加同义词
|
4
4
|
* @endpoint POST /api/v1/llm/aiops_rag/add_synonyms_words
|
5
5
|
*/
|
6
|
-
export const AiopsRagApi_addSynonymsWords = async (data, options) => /**! @contract easyops.api.llm.aiops_rag.AddSynonymsWords@1.0.0 */(await http.post("api/gateway/llm.
|
6
|
+
export const AiopsRagApi_addSynonymsWords = async (data, options) => /**! @contract easyops.api.llm.aiops_rag.AddSynonymsWords@1.0.0 */(await http.post("api/gateway/logic.llm.aiops_service/api/v1/llm/aiops_rag/add_synonyms_words", data, options)).data;
|
7
7
|
//# sourceMappingURL=addSynonymsWords.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"addSynonymsWords.js","names":["http","AiopsRagApi_addSynonymsWords","data","options","post"],"sources":["../../../../../src/api/llm/aiops_rag/addSynonymsWords.ts"],"sourcesContent":["import { http, HttpOptions } from \"@next-core/http\";\nimport { ResponseBodyWrapper } from \"../../../wrapper.js\";\n\nexport interface AiopsRagApi_AddSynonymsWordsRequestBody {\n /** url */\n url?: string;\n\n /** 同义词列表 */\n synonyms?: AiopsRagApi_AddSynonymsWordsRequestBody_synonyms_item[];\n}\n\nexport interface AiopsRagApi_AddSynonymsWordsResponseBody {\n /** 导入的同义词数量 */\n words?: number;\n}\n\n/**\n * @description 增加同义词\n * @endpoint POST /api/v1/llm/aiops_rag/add_synonyms_words\n */\nexport const AiopsRagApi_addSynonymsWords = async (\n data: AiopsRagApi_AddSynonymsWordsRequestBody,\n options?: HttpOptions\n): Promise<AiopsRagApi_AddSynonymsWordsResponseBody> =>\n /**! @contract easyops.api.llm.aiops_rag.AddSynonymsWords@1.0.0 */ (\n await http.post<\n ResponseBodyWrapper<AiopsRagApi_AddSynonymsWordsResponseBody>\n >(\n \"api/gateway/llm.
|
1
|
+
{"version":3,"file":"addSynonymsWords.js","names":["http","AiopsRagApi_addSynonymsWords","data","options","post"],"sources":["../../../../../src/api/llm/aiops_rag/addSynonymsWords.ts"],"sourcesContent":["import { http, HttpOptions } from \"@next-core/http\";\nimport { ResponseBodyWrapper } from \"../../../wrapper.js\";\n\nexport interface AiopsRagApi_AddSynonymsWordsRequestBody {\n /** url */\n url?: string;\n\n /** 同义词列表 */\n synonyms?: AiopsRagApi_AddSynonymsWordsRequestBody_synonyms_item[];\n}\n\nexport interface AiopsRagApi_AddSynonymsWordsResponseBody {\n /** 导入的同义词数量 */\n words?: number;\n}\n\n/**\n * @description 增加同义词\n * @endpoint POST /api/v1/llm/aiops_rag/add_synonyms_words\n */\nexport const AiopsRagApi_addSynonymsWords = async (\n data: AiopsRagApi_AddSynonymsWordsRequestBody,\n options?: HttpOptions\n): Promise<AiopsRagApi_AddSynonymsWordsResponseBody> =>\n /**! @contract easyops.api.llm.aiops_rag.AddSynonymsWords@1.0.0 */ (\n await http.post<\n ResponseBodyWrapper<AiopsRagApi_AddSynonymsWordsResponseBody>\n >(\n \"api/gateway/logic.llm.aiops_service/api/v1/llm/aiops_rag/add_synonyms_words\",\n data,\n options\n )\n ).data;\n\nexport interface AiopsRagApi_AddSynonymsWordsRequestBody_synonyms_item {\n /** 同义词 */\n words?: string[];\n}\n"],"mappings":"AAAA,SAASA,IAAI,QAAqB,iBAAiB;AAgBnD;AACA;AACA;AACA;AACA,OAAO,MAAMC,4BAA4B,GAAG,MAAAA,CAC1CC,IAA6C,EAC7CC,OAAqB,KAErB,kEAAmE,CACjE,MAAMH,IAAI,CAACI,IAAI,CAGb,6EAA6E,EAC7EF,IAAI,EACJC,OACF,CAAC,EACDD,IAAI","ignoreList":[]}
|
@@ -3,5 +3,5 @@ import { http } from "@next-core/http";
|
|
3
3
|
* @description 导入Confluence向量
|
4
4
|
* @endpoint POST /api/v1/llm/aiops_rag/import_confluence
|
5
5
|
*/
|
6
|
-
export const AiopsRagApi_importConfluenceEmbedding = async (data, options) => /**! @contract easyops.api.llm.aiops_rag.ImportConfluenceEmbedding@1.0.0 */(await http.post("api/gateway/llm.
|
6
|
+
export const AiopsRagApi_importConfluenceEmbedding = async (data, options) => /**! @contract easyops.api.llm.aiops_rag.ImportConfluenceEmbedding@1.0.0 */(await http.post("api/gateway/logic.llm.aiops_service/api/v1/llm/aiops_rag/import_confluence", data, options)).data;
|
7
7
|
//# sourceMappingURL=importConfluenceEmbedding.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"importConfluenceEmbedding.js","names":["http","AiopsRagApi_importConfluenceEmbedding","data","options","post"],"sources":["../../../../../src/api/llm/aiops_rag/importConfluenceEmbedding.ts"],"sourcesContent":["import { http, HttpOptions } from \"@next-core/http\";\nimport { ModelLlmDocument } from \"../../../model/llm/index.js\";\nimport { ResponseBodyWrapper } from \"../../../wrapper.js\";\n\nexport interface AiopsRagApi_ImportConfluenceEmbeddingRequestBody {\n /** 知识库id/namespace */\n namespace?: string;\n\n /** 文档的id,非instanceId */\n docId?: string;\n\n /** 是否append */\n append?: boolean;\n\n /** confluence配置信息 */\n confluenceMeta?: AiopsRagApi_ImportConfluenceEmbeddingRequestBody_confluenceMeta;\n}\n\nexport interface AiopsRagApi_ImportConfluenceEmbeddingResponseBody {\n /** 解析的文档内容 */\n docs?: Partial<ModelLlmDocument>[];\n}\n\n/**\n * @description 导入Confluence向量\n * @endpoint POST /api/v1/llm/aiops_rag/import_confluence\n */\nexport const AiopsRagApi_importConfluenceEmbedding = async (\n data: AiopsRagApi_ImportConfluenceEmbeddingRequestBody,\n options?: HttpOptions\n): Promise<AiopsRagApi_ImportConfluenceEmbeddingResponseBody> =>\n /**! @contract easyops.api.llm.aiops_rag.ImportConfluenceEmbedding@1.0.0 */ (\n await http.post<\n ResponseBodyWrapper<AiopsRagApi_ImportConfluenceEmbeddingResponseBody>\n >(\n \"api/gateway/llm.
|
1
|
+
{"version":3,"file":"importConfluenceEmbedding.js","names":["http","AiopsRagApi_importConfluenceEmbedding","data","options","post"],"sources":["../../../../../src/api/llm/aiops_rag/importConfluenceEmbedding.ts"],"sourcesContent":["import { http, HttpOptions } from \"@next-core/http\";\nimport { ModelLlmDocument } from \"../../../model/llm/index.js\";\nimport { ResponseBodyWrapper } from \"../../../wrapper.js\";\n\nexport interface AiopsRagApi_ImportConfluenceEmbeddingRequestBody {\n /** 知识库id/namespace */\n namespace?: string;\n\n /** 文档的id,非instanceId */\n docId?: string;\n\n /** 是否append */\n append?: boolean;\n\n /** confluence配置信息 */\n confluenceMeta?: AiopsRagApi_ImportConfluenceEmbeddingRequestBody_confluenceMeta;\n}\n\nexport interface AiopsRagApi_ImportConfluenceEmbeddingResponseBody {\n /** 解析的文档内容 */\n docs?: Partial<ModelLlmDocument>[];\n}\n\n/**\n * @description 导入Confluence向量\n * @endpoint POST /api/v1/llm/aiops_rag/import_confluence\n */\nexport const AiopsRagApi_importConfluenceEmbedding = async (\n data: AiopsRagApi_ImportConfluenceEmbeddingRequestBody,\n options?: HttpOptions\n): Promise<AiopsRagApi_ImportConfluenceEmbeddingResponseBody> =>\n /**! @contract easyops.api.llm.aiops_rag.ImportConfluenceEmbedding@1.0.0 */ (\n await http.post<\n ResponseBodyWrapper<AiopsRagApi_ImportConfluenceEmbeddingResponseBody>\n >(\n \"api/gateway/logic.llm.aiops_service/api/v1/llm/aiops_rag/import_confluence\",\n data,\n options\n )\n ).data;\n\nexport interface AiopsRagApi_ImportConfluenceEmbeddingRequestBody_confluenceMeta {\n /** confluence终端,如:http://tapd.easyops.local */\n url?: string;\n\n /** 认证token */\n token?: string;\n\n /** username */\n username?: string;\n\n /** api_key/password */\n apiKey?: string;\n\n /** confluence space key */\n spaceKey?: string;\n\n /** 最大page条目 */\n maxPages?: number;\n\n /** 是否包含附件 */\n includeAttachments?: boolean;\n}\n"],"mappings":"AAAA,SAASA,IAAI,QAAqB,iBAAiB;AAuBnD;AACA;AACA;AACA;AACA,OAAO,MAAMC,qCAAqC,GAAG,MAAAA,CACnDC,IAAsD,EACtDC,OAAqB,KAErB,2EAA4E,CAC1E,MAAMH,IAAI,CAACI,IAAI,CAGb,4EAA4E,EAC5EF,IAAI,EACJC,OACF,CAAC,EACDD,IAAI","ignoreList":[]}
|