@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
@@ -12,6 +12,6 @@ var _http = require("@next-core/http");
|
|
12
12
|
* @description 基础agent,支持知识库、执行工具
|
13
13
|
* @endpoint POST /api/v1/llm/agent/base
|
14
14
|
*/
|
15
|
-
const AgentApi_baseGeneralAgent = async (data, options) => /**! @contract easyops.api.llm.agent.BaseGeneralAgent@1.0.0 */(await _http.http.post("api/gateway/llm.
|
15
|
+
const AgentApi_baseGeneralAgent = async (data, options) => /**! @contract easyops.api.llm.agent.BaseGeneralAgent@1.0.0 */(await _http.http.post("api/gateway/logic.llm.aiops_service/api/v1/llm/agent/base", data, options)).data;
|
16
16
|
exports.AgentApi_baseGeneralAgent = AgentApi_baseGeneralAgent;
|
17
17
|
//# sourceMappingURL=baseGeneralAgent.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"baseGeneralAgent.js","names":["_http","require","AgentApi_baseGeneralAgent","data","options","http","post","exports"],"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","require","AgentApi_baseGeneralAgent","data","options","http","post","exports"],"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,IAAAA,KAAA,GAAAC,OAAA;AAUA;AACA;;AAIA;AACA;AACA;AACA;AACO,MAAMC,yBAAyB,GAAG,MAAAA,CACvCC,IAA0C,EAC1CC,OAAqB,KAErB,8DAA+D,CAC7D,MAAMC,UAAI,CAACC,IAAI,CACb,2DAA2D,EAC3DH,IAAI,EACJC,OACF,CAAC,EACDD,IAAI;AAACI,OAAA,CAAAL,yBAAA,GAAAA,yBAAA","ignoreList":[]}
|
@@ -12,6 +12,6 @@ var _http = require("@next-core/http");
|
|
12
12
|
* @description 网络搜索的agent
|
13
13
|
* @endpoint POST /api/v1/llm/agent/web_search
|
14
14
|
*/
|
15
|
-
const AgentApi_webSearchAgent = async (data, options) => /**! @contract easyops.api.llm.agent.WebSearchAgent@1.0.0 */(await _http.http.post("api/gateway/llm.
|
15
|
+
const AgentApi_webSearchAgent = async (data, options) => /**! @contract easyops.api.llm.agent.WebSearchAgent@1.0.0 */(await _http.http.post("api/gateway/logic.llm.aiops_service/api/v1/llm/agent/web_search", data, options)).data;
|
16
16
|
exports.AgentApi_webSearchAgent = AgentApi_webSearchAgent;
|
17
17
|
//# sourceMappingURL=webSearchAgent.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"webSearchAgent.js","names":["_http","require","AgentApi_webSearchAgent","data","options","http","post","exports"],"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","require","AgentApi_webSearchAgent","data","options","http","post","exports"],"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,IAAAA,KAAA,GAAAC,OAAA;AAUA;AACA;;AAIA;AACA;AACA;AACA;AACO,MAAMC,uBAAuB,GAAG,MAAAA,CACrCC,IAAwC,EACxCC,OAAqB,KAErB,4DAA6D,CAC3D,MAAMC,UAAI,CAACC,IAAI,CACb,iEAAiE,EACjEH,IAAI,EACJC,OACF,CAAC,EACDD,IAAI;AAACI,OAAA,CAAAL,uBAAA,GAAAA,uBAAA","ignoreList":[]}
|
@@ -9,6 +9,6 @@ var _http = require("@next-core/http");
|
|
9
9
|
* @description 删除向量数据库中的向量
|
10
10
|
* @endpoint POST /api/v1/llm/aiops_base/embedding/delete
|
11
11
|
*/
|
12
|
-
const AiopsBaseApi_deleteEmbedding = (data, options) => /**! @contract easyops.api.llm.aiops_base.DeleteEmbedding@1.1.0 */_http.http.post("api/gateway/llm.
|
12
|
+
const AiopsBaseApi_deleteEmbedding = (data, options) => /**! @contract easyops.api.llm.aiops_base.DeleteEmbedding@1.1.0 */_http.http.post("api/gateway/logic.llm.aiops_service/api/v1/llm/aiops_base/embedding/delete", data, options);
|
13
13
|
exports.AiopsBaseApi_deleteEmbedding = AiopsBaseApi_deleteEmbedding;
|
14
14
|
//# sourceMappingURL=deleteEmbedding.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"deleteEmbedding.js","names":["_http","require","AiopsBaseApi_deleteEmbedding","data","options","http","post","exports"],"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","require","AiopsBaseApi_deleteEmbedding","data","options","http","post","exports"],"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,IAAAA,KAAA,GAAAC,OAAA;AAgBA;AACA;AACA;AACA;AACO,MAAMC,4BAA4B,GAAGA,CAC1CC,IAA6C,EAC7CC,OAAqB,KAErB,kEAAmEC,UAAI,CAACC,IAAI,CAC1E,4EAA4E,EAC5EH,IAAI,EACJC,OACF,CAAC;AAACG,OAAA,CAAAL,4BAAA,GAAAA,4BAAA","ignoreList":[]}
|
@@ -9,6 +9,6 @@ var _http = require("@next-core/http");
|
|
9
9
|
* @description 删除知识库
|
10
10
|
* @endpoint POST /api/v1/llm/aiops_base/knowledge/delete
|
11
11
|
*/
|
12
|
-
const AiopsBaseApi_deleteKnowledge = (data, options) => /**! @contract easyops.api.llm.aiops_base.DeleteKnowledge@1.0.0 */_http.http.post("api/gateway/llm.
|
12
|
+
const AiopsBaseApi_deleteKnowledge = (data, options) => /**! @contract easyops.api.llm.aiops_base.DeleteKnowledge@1.0.0 */_http.http.post("api/gateway/logic.llm.aiops_service/api/v1/llm/aiops_base/knowledge/delete", data, options);
|
13
13
|
exports.AiopsBaseApi_deleteKnowledge = AiopsBaseApi_deleteKnowledge;
|
14
14
|
//# sourceMappingURL=deleteKnowledge.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"deleteKnowledge.js","names":["_http","require","AiopsBaseApi_deleteKnowledge","data","options","http","post","exports"],"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","require","AiopsBaseApi_deleteKnowledge","data","options","http","post","exports"],"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,IAAAA,KAAA,GAAAC,OAAA;AAOA;AACA;AACA;AACA;AACO,MAAMC,4BAA4B,GAAGA,CAC1CC,IAA6C,EAC7CC,OAAqB,KAErB,kEAAmEC,UAAI,CAACC,IAAI,CAC1E,4EAA4E,EAC5EH,IAAI,EACJC,OACF,CAAC;AAACG,OAAA,CAAAL,4BAAA,GAAAA,4BAAA","ignoreList":[]}
|
@@ -9,6 +9,6 @@ var _http = require("@next-core/http");
|
|
9
9
|
* @description 导入document
|
10
10
|
* @endpoint POST /api/v1/llm/aiops_base/import_doc
|
11
11
|
*/
|
12
|
-
const AiopsBaseApi_importDocumentEmbeddings = async (data, options) => /**! @contract easyops.api.llm.aiops_base.ImportDocumentEmbeddings@1.0.0 */(await _http.http.post("api/gateway/llm.
|
12
|
+
const AiopsBaseApi_importDocumentEmbeddings = async (data, options) => /**! @contract easyops.api.llm.aiops_base.ImportDocumentEmbeddings@1.0.0 */(await _http.http.post("api/gateway/logic.llm.aiops_service/api/v1/llm/aiops_base/import_doc", data, options)).data;
|
13
13
|
exports.AiopsBaseApi_importDocumentEmbeddings = AiopsBaseApi_importDocumentEmbeddings;
|
14
14
|
//# sourceMappingURL=importDocumentEmbeddings.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"importDocumentEmbeddings.js","names":["_http","require","AiopsBaseApi_importDocumentEmbeddings","data","options","http","post","exports"],"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","require","AiopsBaseApi_importDocumentEmbeddings","data","options","http","post","exports"],"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,IAAAA,KAAA,GAAAC,OAAA;AAuBA;AACA;AACA;AACA;AACO,MAAMC,qCAAqC,GAAG,MAAAA,CACnDC,IAAsD,EACtDC,OAAqB,KAErB,2EAA4E,CAC1E,MAAMC,UAAI,CAACC,IAAI,CAGb,sEAAsE,EACtEH,IAAI,EACJC,OACF,CAAC,EACDD,IAAI;AAACI,OAAA,CAAAL,qCAAA,GAAAA,qCAAA","ignoreList":[]}
|
@@ -11,6 +11,6 @@ var _http = require("@next-core/http");
|
|
11
11
|
* @description 大模型聊天接口
|
12
12
|
* @endpoint POST /api/v1/llm/aiops_base/chat_service
|
13
13
|
*/
|
14
|
-
const AiopsBaseApi_llmChatServiceV1 = async (data, options) => /**! @contract easyops.api.llm.aiops_base.LLMChatServiceV1@1.0.0 */(await _http.http.post("api/gateway/llm.
|
14
|
+
const AiopsBaseApi_llmChatServiceV1 = async (data, options) => /**! @contract easyops.api.llm.aiops_base.LLMChatServiceV1@1.0.0 */(await _http.http.post("api/gateway/logic.llm.aiops_service/api/v1/llm/aiops_base/chat_service", data, options)).data;
|
15
15
|
exports.AiopsBaseApi_llmChatServiceV1 = AiopsBaseApi_llmChatServiceV1;
|
16
16
|
//# sourceMappingURL=llmChatServiceV1.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"llmChatServiceV1.js","names":["_http","require","AiopsBaseApi_llmChatServiceV1","data","options","http","post","exports"],"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","require","AiopsBaseApi_llmChatServiceV1","data","options","http","post","exports"],"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,IAAAA,KAAA,GAAAC,OAAA;AAUA;;AAIA;AACA;AACA;AACA;AACO,MAAMC,6BAA6B,GAAG,MAAAA,CAC3CC,IAA8C,EAC9CC,OAAqB,KAErB,mEAAoE,CAClE,MAAMC,UAAI,CAACC,IAAI,CAGb,wEAAwE,EACxEH,IAAI,EACJC,OACF,CAAC,EACDD,IAAI;AAACI,OAAA,CAAAL,6BAAA,GAAAA,6BAAA","ignoreList":[]}
|
@@ -11,6 +11,6 @@ var _http = require("@next-core/http");
|
|
11
11
|
* @description 通用大模型聊天接口, 直接转发返回大模型请求
|
12
12
|
* @endpoint POST /v1/chat/completions
|
13
13
|
*/
|
14
|
-
const AiopsBaseApi_openaiChat = (data, options) => /**! @contract easyops.api.llm.aiops_base.OpenaiChat@1.0.0 */_http.http.post("api/gateway/llm.
|
14
|
+
const AiopsBaseApi_openaiChat = (data, options) => /**! @contract easyops.api.llm.aiops_base.OpenaiChat@1.0.0 */_http.http.post("api/gateway/logic.llm.aiops_service/v1/chat/completions", data, options);
|
15
15
|
exports.AiopsBaseApi_openaiChat = AiopsBaseApi_openaiChat;
|
16
16
|
//# sourceMappingURL=openaiChat.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"openaiChat.js","names":["_http","require","AiopsBaseApi_openaiChat","data","options","http","post","exports"],"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","require","AiopsBaseApi_openaiChat","data","options","http","post","exports"],"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,IAAAA,KAAA,GAAAC,OAAA;AAQA;;AAIA;AACA;AACA;AACA;AACO,MAAMC,uBAAuB,GAAGA,CACrCC,IAAwC,EACxCC,OAAqB,KAErB,6DAA8DC,UAAI,CAACC,IAAI,CACrE,yDAAyD,EACzDH,IAAI,EACJC,OACF,CAAC;AAACG,OAAA,CAAAL,uBAAA,GAAAA,uBAAA","ignoreList":[]}
|
@@ -9,6 +9,6 @@ var _http = require("@next-core/http");
|
|
9
9
|
* @description 向向量数据库做相似查询
|
10
10
|
* @endpoint POST /api/v1/llm/aiops_base/embedding/search
|
11
11
|
*/
|
12
|
-
const AiopsBaseApi_searchEmbedding = async (data, options) => /**! @contract easyops.api.llm.aiops_base.SearchEmbedding@1.0.0 */(await _http.http.post("api/gateway/llm.
|
12
|
+
const AiopsBaseApi_searchEmbedding = async (data, options) => /**! @contract easyops.api.llm.aiops_base.SearchEmbedding@1.0.0 */(await _http.http.post("api/gateway/logic.llm.aiops_service/api/v1/llm/aiops_base/embedding/search", data, options)).data;
|
13
13
|
exports.AiopsBaseApi_searchEmbedding = AiopsBaseApi_searchEmbedding;
|
14
14
|
//# sourceMappingURL=searchEmbedding.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"searchEmbedding.js","names":["_http","require","AiopsBaseApi_searchEmbedding","data","options","http","post","exports"],"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","require","AiopsBaseApi_searchEmbedding","data","options","http","post","exports"],"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,IAAAA,KAAA,GAAAC,OAAA;AA0BA;AACA;AACA;AACA;AACO,MAAMC,4BAA4B,GAAG,MAAAA,CAC1CC,IAA6C,EAC7CC,OAAqB,KAErB,kEAAmE,CACjE,MAAMC,UAAI,CAACC,IAAI,CAGb,4EAA4E,EAC5EH,IAAI,EACJC,OACF,CAAC,EACDD,IAAI;AAACI,OAAA,CAAAL,4BAAA,GAAAA,4BAAA","ignoreList":[]}
|
@@ -9,6 +9,6 @@ var _http = require("@next-core/http");
|
|
9
9
|
* @description 更新或者插入文档
|
10
10
|
* @endpoint POST /api/v1/llm/aiops_base/upsert_doc
|
11
11
|
*/
|
12
|
-
const AiopsBaseApi_upsertDocument = async (data, options) => /**! @contract easyops.api.llm.aiops_base.UpsertDocument@1.0.0 */(await _http.http.post("api/gateway/llm.
|
12
|
+
const AiopsBaseApi_upsertDocument = async (data, options) => /**! @contract easyops.api.llm.aiops_base.UpsertDocument@1.0.0 */(await _http.http.post("api/gateway/logic.llm.aiops_service/api/v1/llm/aiops_base/upsert_doc", data, options)).data;
|
13
13
|
exports.AiopsBaseApi_upsertDocument = AiopsBaseApi_upsertDocument;
|
14
14
|
//# sourceMappingURL=upsertDocument.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"upsertDocument.js","names":["_http","require","AiopsBaseApi_upsertDocument","data","options","http","post","exports"],"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","require","AiopsBaseApi_upsertDocument","data","options","http","post","exports"],"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,IAAAA,KAAA,GAAAC,OAAA;AAoBA;AACA;AACA;AACA;AACO,MAAMC,2BAA2B,GAAG,MAAAA,CACzCC,IAA4C,EAC5CC,OAAqB,KAErB,iEAAkE,CAChE,MAAMC,UAAI,CAACC,IAAI,CAGb,sEAAsE,EACtEH,IAAI,EACJC,OACF,CAAC,EACDD,IAAI;AAACI,OAAA,CAAAL,2BAAA,GAAAA,2BAAA","ignoreList":[]}
|
@@ -9,6 +9,6 @@ var _http = require("@next-core/http");
|
|
9
9
|
* @description 根据DocId更新或者插入文档
|
10
10
|
* @endpoint POST /api/v1/llm/aiops_base/upsert_with_doc_id
|
11
11
|
*/
|
12
|
-
const AiopsBaseApi_upsertWithDocId = async (data, options) => /**! @contract easyops.api.llm.aiops_base.UpsertWithDocId@1.0.0 */(await _http.http.post("api/gateway/llm.
|
12
|
+
const AiopsBaseApi_upsertWithDocId = async (data, options) => /**! @contract easyops.api.llm.aiops_base.UpsertWithDocId@1.0.0 */(await _http.http.post("api/gateway/logic.llm.aiops_service/api/v1/llm/aiops_base/upsert_with_doc_id", data, options)).data;
|
13
13
|
exports.AiopsBaseApi_upsertWithDocId = AiopsBaseApi_upsertWithDocId;
|
14
14
|
//# sourceMappingURL=upsertWithDocId.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"upsertWithDocId.js","names":["_http","require","AiopsBaseApi_upsertWithDocId","data","options","http","post","exports"],"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","require","AiopsBaseApi_upsertWithDocId","data","options","http","post","exports"],"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,IAAAA,KAAA,GAAAC,OAAA;AAoBA;AACA;AACA;AACA;AACO,MAAMC,4BAA4B,GAAG,MAAAA,CAC1CC,IAA6C,EAC7CC,OAAqB,KAErB,kEAAmE,CACjE,MAAMC,UAAI,CAACC,IAAI,CAGb,8EAA8E,EAC9EH,IAAI,EACJC,OACF,CAAC,EACDD,IAAI;AAACI,OAAA,CAAAL,4BAAA,GAAAA,4BAAA","ignoreList":[]}
|
@@ -9,6 +9,6 @@ var _http = require("@next-core/http");
|
|
9
9
|
* @description 创建大模型记忆的调试环境
|
10
10
|
* @endpoint POST /api/v1/llm/aiops_service/memory/env/create
|
11
11
|
*/
|
12
|
-
const AiopsMemoryApi_createMemoryEnv = async (data, options) => /**! @contract easyops.api.llm.aiops_memory.CreateMemoryEnv@1.0.0 */(await _http.http.post("api/gateway/llm.
|
12
|
+
const AiopsMemoryApi_createMemoryEnv = async (data, options) => /**! @contract easyops.api.llm.aiops_memory.CreateMemoryEnv@1.0.0 */(await _http.http.post("api/gateway/logic.llm.aiops_service/api/v1/llm/aiops_service/memory/env/create", data, options)).data;
|
13
13
|
exports.AiopsMemoryApi_createMemoryEnv = AiopsMemoryApi_createMemoryEnv;
|
14
14
|
//# sourceMappingURL=createMemoryEnv.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"createMemoryEnv.js","names":["_http","require","AiopsMemoryApi_createMemoryEnv","data","options","http","post","exports"],"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","require","AiopsMemoryApi_createMemoryEnv","data","options","http","post","exports"],"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,IAAAA,KAAA,GAAAC,OAAA;AAUA;AACA;AACA;AACA;AACO,MAAMC,8BAA8B,GAAG,MAAAA,CAC5CC,IAA+C,EAC/CC,OAAqB,KAErB,oEAAqE,CACnE,MAAMC,UAAI,CAACC,IAAI,CAGb,gFAAgF,EAChFH,IAAI,EACJC,OACF,CAAC,EACDD,IAAI;AAACI,OAAA,CAAAL,8BAAA,GAAAA,8BAAA","ignoreList":[]}
|
@@ -9,6 +9,6 @@ var _http = require("@next-core/http");
|
|
9
9
|
* @description 通过会话id删除大模型记忆
|
10
10
|
* @endpoint DELETE /api/v1/llm/aiops_service/memory/delete/:conversationId
|
11
11
|
*/
|
12
|
-
const AiopsMemoryApi_deleteLlmMemoryWithConversationId = (conversationId, options) => /**! @contract easyops.api.llm.aiops_memory.DeleteLlmMemoryWithConversationId@1.0.0 */_http.http.delete(`api/gateway/llm.
|
12
|
+
const AiopsMemoryApi_deleteLlmMemoryWithConversationId = (conversationId, options) => /**! @contract easyops.api.llm.aiops_memory.DeleteLlmMemoryWithConversationId@1.0.0 */_http.http.delete(`api/gateway/logic.llm.aiops_service/api/v1/llm/aiops_service/memory/delete/${conversationId}`, options);
|
13
13
|
exports.AiopsMemoryApi_deleteLlmMemoryWithConversationId = AiopsMemoryApi_deleteLlmMemoryWithConversationId;
|
14
14
|
//# sourceMappingURL=deleteLlmMemoryWithConversationId.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"deleteLlmMemoryWithConversationId.js","names":["_http","require","AiopsMemoryApi_deleteLlmMemoryWithConversationId","conversationId","options","http","delete","exports"],"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","require","AiopsMemoryApi_deleteLlmMemoryWithConversationId","conversationId","options","http","delete","exports"],"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,IAAAA,KAAA,GAAAC,OAAA;AAEA;AACA;AACA;AACA;AACO,MAAMC,gDAAgD,GAAGA,CAC9DC,cAA+B,EAC/BC,OAAqB,KAErB,sFAAuFC,UAAI,CAACC,MAAM,CAChG,8EAA8EH,cAAc,EAAE,EAC9FC,OACF,CAAC;AAACG,OAAA,CAAAL,gDAAA,GAAAA,gDAAA","ignoreList":[]}
|
@@ -9,6 +9,6 @@ var _http = require("@next-core/http");
|
|
9
9
|
* @description 通过会话id和记忆key删除大模型记忆
|
10
10
|
* @endpoint POST /api/v1/llm/aiops_service/memory/delete/:conversationId/key
|
11
11
|
*/
|
12
|
-
const AiopsMemoryApi_deleteLlmMemoryWithConversationIdAndKey = (conversationId, data, options) => /**! @contract easyops.api.llm.aiops_memory.DeleteLlmMemoryWithConversationIdAndKey@1.0.0 */_http.http.post(`api/gateway/llm.
|
12
|
+
const AiopsMemoryApi_deleteLlmMemoryWithConversationIdAndKey = (conversationId, data, options) => /**! @contract easyops.api.llm.aiops_memory.DeleteLlmMemoryWithConversationIdAndKey@1.0.0 */_http.http.post(`api/gateway/logic.llm.aiops_service/api/v1/llm/aiops_service/memory/delete/${conversationId}/key`, data, options);
|
13
13
|
exports.AiopsMemoryApi_deleteLlmMemoryWithConversationIdAndKey = AiopsMemoryApi_deleteLlmMemoryWithConversationIdAndKey;
|
14
14
|
//# sourceMappingURL=deleteLlmMemoryWithConversationIdAndKey.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"deleteLlmMemoryWithConversationIdAndKey.js","names":["_http","require","AiopsMemoryApi_deleteLlmMemoryWithConversationIdAndKey","conversationId","data","options","http","post","exports"],"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","require","AiopsMemoryApi_deleteLlmMemoryWithConversationIdAndKey","conversationId","data","options","http","post","exports"],"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,IAAAA,KAAA,GAAAC,OAAA;AAOA;AACA;AACA;AACA;AACO,MAAMC,sDAAsD,GAAGA,CACpEC,cAA+B,EAC/BC,IAAuE,EACvEC,OAAqB,KAErB,4FAA6FC,UAAI,CAACC,IAAI,CACpG,8EAA8EJ,cAAc,MAAM,EAClGC,IAAI,EACJC,OACF,CAAC;AAACG,OAAA,CAAAN,sDAAA,GAAAA,sDAAA","ignoreList":[]}
|
@@ -9,6 +9,6 @@ var _http = require("@next-core/http");
|
|
9
9
|
* @description 删除大模型记忆的调试环境
|
10
10
|
* @endpoint DELETE /api/v1/llm/aiops_service/memory/env/:_row_id
|
11
11
|
*/
|
12
|
-
const AiopsMemoryApi_deleteMemoryEnv = (_row_id, options) => /**! @contract easyops.api.llm.aiops_memory.DeleteMemoryEnv@1.0.0 */_http.http.delete(`api/gateway/llm.
|
12
|
+
const AiopsMemoryApi_deleteMemoryEnv = (_row_id, options) => /**! @contract easyops.api.llm.aiops_memory.DeleteMemoryEnv@1.0.0 */_http.http.delete(`api/gateway/logic.llm.aiops_service/api/v1/llm/aiops_service/memory/env/${_row_id}`, options);
|
13
13
|
exports.AiopsMemoryApi_deleteMemoryEnv = AiopsMemoryApi_deleteMemoryEnv;
|
14
14
|
//# sourceMappingURL=deleteMemoryEnv.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"deleteMemoryEnv.js","names":["_http","require","AiopsMemoryApi_deleteMemoryEnv","_row_id","options","http","delete","exports"],"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","require","AiopsMemoryApi_deleteMemoryEnv","_row_id","options","http","delete","exports"],"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,IAAAA,KAAA,GAAAC,OAAA;AAEA;AACA;AACA;AACA;AACO,MAAMC,8BAA8B,GAAGA,CAC5CC,OAAwB,EACxBC,OAAqB,KAErB,oEAAqEC,UAAI,CAACC,MAAM,CAC9E,2EAA2EH,OAAO,EAAE,EACpFC,OACF,CAAC;AAACG,OAAA,CAAAL,8BAAA,GAAAA,8BAAA","ignoreList":[]}
|
@@ -9,6 +9,6 @@ var _http = require("@next-core/http");
|
|
9
9
|
* @description 通过会话id获取大模型记忆
|
10
10
|
* @endpoint POST /api/v1/llm/aiops_service/memory/get_with_conversation
|
11
11
|
*/
|
12
|
-
const AiopsMemoryApi_getLlmMemoryWithConversationId = async (data, options) => /**! @contract easyops.api.llm.aiops_memory.GetLlmMemoryWithConversationId@1.0.0 */(await _http.http.post("api/gateway/llm.
|
12
|
+
const AiopsMemoryApi_getLlmMemoryWithConversationId = async (data, options) => /**! @contract easyops.api.llm.aiops_memory.GetLlmMemoryWithConversationId@1.0.0 */(await _http.http.post("api/gateway/logic.llm.aiops_service/api/v1/llm/aiops_service/memory/get_with_conversation", data, options)).data;
|
13
13
|
exports.AiopsMemoryApi_getLlmMemoryWithConversationId = AiopsMemoryApi_getLlmMemoryWithConversationId;
|
14
14
|
//# sourceMappingURL=getLlmMemoryWithConversationId.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"getLlmMemoryWithConversationId.js","names":["_http","require","AiopsMemoryApi_getLlmMemoryWithConversationId","data","options","http","post","exports"],"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","require","AiopsMemoryApi_getLlmMemoryWithConversationId","data","options","http","post","exports"],"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,IAAAA,KAAA,GAAAC,OAAA;AAcA;AACA;AACA;AACA;AACO,MAAMC,6CAA6C,GAAG,MAAAA,CAC3DC,IAA8D,EAC9DC,OAAqB,KAErB,mFAAoF,CAClF,MAAMC,UAAI,CAACC,IAAI,CAGb,2FAA2F,EAC3FH,IAAI,EACJC,OACF,CAAC,EACDD,IAAI;AAACI,OAAA,CAAAL,6CAAA,GAAAA,6CAAA","ignoreList":[]}
|
@@ -9,6 +9,6 @@ var _http = require("@next-core/http");
|
|
9
9
|
* @description 通过会话id和记忆key获取大模型记忆
|
10
10
|
* @endpoint POST /api/v1/llm/aiops_service/memory/get_with_conversation_and_key
|
11
11
|
*/
|
12
|
-
const AiopsMemoryApi_getLlmMemoryWithConversationIdAndKey = async (data, options) => /**! @contract easyops.api.llm.aiops_memory.GetLlmMemoryWithConversationIdAndKey@1.0.0 */(await _http.http.post("api/gateway/llm.
|
12
|
+
const AiopsMemoryApi_getLlmMemoryWithConversationIdAndKey = async (data, options) => /**! @contract easyops.api.llm.aiops_memory.GetLlmMemoryWithConversationIdAndKey@1.0.0 */(await _http.http.post("api/gateway/logic.llm.aiops_service/api/v1/llm/aiops_service/memory/get_with_conversation_and_key", data, options)).data;
|
13
13
|
exports.AiopsMemoryApi_getLlmMemoryWithConversationIdAndKey = AiopsMemoryApi_getLlmMemoryWithConversationIdAndKey;
|
14
14
|
//# sourceMappingURL=getLlmMemoryWithConversationIdAndKey.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"getLlmMemoryWithConversationIdAndKey.js","names":["_http","require","AiopsMemoryApi_getLlmMemoryWithConversationIdAndKey","data","options","http","post","exports"],"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","require","AiopsMemoryApi_getLlmMemoryWithConversationIdAndKey","data","options","http","post","exports"],"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,IAAAA,KAAA,GAAAC,OAAA;AAiBA;AACA;AACA;AACA;AACO,MAAMC,mDAAmD,GAAG,MAAAA,CACjEC,IAAoE,EACpEC,OAAqB,KAErB,yFAA0F,CACxF,MAAMC,UAAI,CAACC,IAAI,CAGb,mGAAmG,EACnGH,IAAI,EACJC,OACF,CAAC,EACDD,IAAI;AAACI,OAAA,CAAAL,mDAAA,GAAAA,mDAAA","ignoreList":[]}
|
@@ -9,6 +9,6 @@ var _http = require("@next-core/http");
|
|
9
9
|
* @description 查询大模型记忆的调试环境
|
10
10
|
* @endpoint POST /api/v1/llm/aiops_service/memory/env/search
|
11
11
|
*/
|
12
|
-
const AiopsMemoryApi_searchMemoryEnv = async (data, options) => /**! @contract easyops.api.llm.aiops_memory.SearchMemoryEnv@1.0.0 */(await _http.http.post("api/gateway/llm.
|
12
|
+
const AiopsMemoryApi_searchMemoryEnv = async (data, options) => /**! @contract easyops.api.llm.aiops_memory.SearchMemoryEnv@1.0.0 */(await _http.http.post("api/gateway/logic.llm.aiops_service/api/v1/llm/aiops_service/memory/env/search", data, options)).data;
|
13
13
|
exports.AiopsMemoryApi_searchMemoryEnv = AiopsMemoryApi_searchMemoryEnv;
|
14
14
|
//# sourceMappingURL=searchMemoryEnv.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"searchMemoryEnv.js","names":["_http","require","AiopsMemoryApi_searchMemoryEnv","data","options","http","post","exports"],"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","require","AiopsMemoryApi_searchMemoryEnv","data","options","http","post","exports"],"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,IAAAA,KAAA,GAAAC,OAAA;AA0BA;AACA;AACA;AACA;AACO,MAAMC,8BAA8B,GAAG,MAAAA,CAC5CC,IAA+C,EAC/CC,OAAqB,KAErB,oEAAqE,CACnE,MAAMC,UAAI,CAACC,IAAI,CAGb,gFAAgF,EAChFH,IAAI,EACJC,OACF,CAAC,EACDD,IAAI;AAACI,OAAA,CAAAL,8BAAA,GAAAA,8BAAA","ignoreList":[]}
|
@@ -9,6 +9,6 @@ var _http = require("@next-core/http");
|
|
9
9
|
* @description 更新大模型记忆的调试环境
|
10
10
|
* @endpoint POST /api/v1/llm/aiops_service/memory/env/:_row_id/update
|
11
11
|
*/
|
12
|
-
const AiopsMemoryApi_updateMemoryEnv = (_row_id, data, options) => /**! @contract easyops.api.llm.aiops_memory.UpdateMemoryEnv@1.0.0 */_http.http.post(`api/gateway/llm.
|
12
|
+
const AiopsMemoryApi_updateMemoryEnv = (_row_id, data, options) => /**! @contract easyops.api.llm.aiops_memory.UpdateMemoryEnv@1.0.0 */_http.http.post(`api/gateway/logic.llm.aiops_service/api/v1/llm/aiops_service/memory/env/${_row_id}/update`, data, options);
|
13
13
|
exports.AiopsMemoryApi_updateMemoryEnv = AiopsMemoryApi_updateMemoryEnv;
|
14
14
|
//# sourceMappingURL=updateMemoryEnv.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"updateMemoryEnv.js","names":["_http","require","AiopsMemoryApi_updateMemoryEnv","_row_id","data","options","http","post","exports"],"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","require","AiopsMemoryApi_updateMemoryEnv","_row_id","data","options","http","post","exports"],"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,IAAAA,KAAA,GAAAC,OAAA;AAMA;AACA;AACA;AACA;AACO,MAAMC,8BAA8B,GAAGA,CAC5CC,OAAwB,EACxBC,IAA+C,EAC/CC,OAAqB,KAErB,oEAAqEC,UAAI,CAACC,IAAI,CAC5E,2EAA2EJ,OAAO,SAAS,EAC3FC,IAAI,EACJC,OACF,CAAC;AAACG,OAAA,CAAAN,8BAAA,GAAAA,8BAAA","ignoreList":[]}
|
@@ -9,6 +9,6 @@ var _http = require("@next-core/http");
|
|
9
9
|
* @description 通过会话id和记忆key导入大模型记忆
|
10
10
|
* @endpoint POST /api/v1/llm/aiops_service/memory/upsert/:conversationId
|
11
11
|
*/
|
12
|
-
const AiopsMemoryApi_upsertLlmMemoryWithConversationIdAndKey = (conversationId, data, options) => /**! @contract easyops.api.llm.aiops_memory.UpsertLlmMemoryWithConversationIdAndKey@1.0.0 */_http.http.post(`api/gateway/llm.
|
12
|
+
const AiopsMemoryApi_upsertLlmMemoryWithConversationIdAndKey = (conversationId, data, options) => /**! @contract easyops.api.llm.aiops_memory.UpsertLlmMemoryWithConversationIdAndKey@1.0.0 */_http.http.post(`api/gateway/logic.llm.aiops_service/api/v1/llm/aiops_service/memory/upsert/${conversationId}`, data, options);
|
13
13
|
exports.AiopsMemoryApi_upsertLlmMemoryWithConversationIdAndKey = AiopsMemoryApi_upsertLlmMemoryWithConversationIdAndKey;
|
14
14
|
//# sourceMappingURL=upsertLlmMemoryWithConversationIdAndKey.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"upsertLlmMemoryWithConversationIdAndKey.js","names":["_http","require","AiopsMemoryApi_upsertLlmMemoryWithConversationIdAndKey","conversationId","data","options","http","post","exports"],"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","require","AiopsMemoryApi_upsertLlmMemoryWithConversationIdAndKey","conversationId","data","options","http","post","exports"],"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,IAAAA,KAAA,GAAAC,OAAA;AAQA;AACA;AACA;AACA;AACO,MAAMC,sDAAsD,GAAGA,CACpEC,cAA+B,EAC/BC,IAAuE,EACvEC,OAAqB,KAErB,4FAA6FC,UAAI,CAACC,IAAI,CACpG,8EAA8EJ,cAAc,EAAE,EAC9FC,IAAI,EACJC,OACF,CAAC;AAACG,OAAA,CAAAN,sDAAA,GAAAA,sDAAA","ignoreList":[]}
|
@@ -9,6 +9,6 @@ var _http = require("@next-core/http");
|
|
9
9
|
* @description 删除提示词
|
10
10
|
* @endpoint POST /api/v1/llm/aiops_service/prompt/delete
|
11
11
|
*/
|
12
|
-
const AiopsPromptApi_llmDeletePrompt = async (data, options) => /**! @contract easyops.api.llm.aiops_prompt.LLMDeletePrompt@1.0.0 */(await _http.http.post("api/gateway/llm.
|
12
|
+
const AiopsPromptApi_llmDeletePrompt = async (data, options) => /**! @contract easyops.api.llm.aiops_prompt.LLMDeletePrompt@1.0.0 */(await _http.http.post("api/gateway/logic.llm.aiops_service/api/v1/llm/aiops_service/prompt/delete", data, options)).data;
|
13
13
|
exports.AiopsPromptApi_llmDeletePrompt = AiopsPromptApi_llmDeletePrompt;
|
14
14
|
//# sourceMappingURL=llmDeletePrompt.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"llmDeletePrompt.js","names":["_http","require","AiopsPromptApi_llmDeletePrompt","data","options","http","post","exports"],"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","require","AiopsPromptApi_llmDeletePrompt","data","options","http","post","exports"],"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,IAAAA,KAAA,GAAAC,OAAA;AAsBA;AACA;AACA;AACA;AACO,MAAMC,8BAA8B,GAAG,MAAAA,CAC5CC,IAA+C,EAC/CC,OAAqB,KAErB,oEAAqE,CACnE,MAAMC,UAAI,CAACC,IAAI,CAGb,4EAA4E,EAC5EH,IAAI,EACJC,OACF,CAAC,EACDD,IAAI;AAACI,OAAA,CAAAL,8BAAA,GAAAA,8BAAA","ignoreList":[]}
|
@@ -9,6 +9,6 @@ var _http = require("@next-core/http");
|
|
9
9
|
* @description 获取提示词
|
10
10
|
* @endpoint POST /api/v1/llm/aiops_service/prompt/get
|
11
11
|
*/
|
12
|
-
const AiopsPromptApi_llmGetPrompt = async (data, options) => /**! @contract easyops.api.llm.aiops_prompt.LLMGetPrompt@1.0.0 */(await _http.http.post("api/gateway/llm.
|
12
|
+
const AiopsPromptApi_llmGetPrompt = async (data, options) => /**! @contract easyops.api.llm.aiops_prompt.LLMGetPrompt@1.0.0 */(await _http.http.post("api/gateway/logic.llm.aiops_service/api/v1/llm/aiops_service/prompt/get", data, options)).data;
|
13
13
|
exports.AiopsPromptApi_llmGetPrompt = AiopsPromptApi_llmGetPrompt;
|
14
14
|
//# sourceMappingURL=llmGetPrompt.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"llmGetPrompt.js","names":["_http","require","AiopsPromptApi_llmGetPrompt","data","options","http","post","exports"],"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","require","AiopsPromptApi_llmGetPrompt","data","options","http","post","exports"],"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,IAAAA,KAAA,GAAAC,OAAA;AAmBA;AACA;AACA;AACA;AACO,MAAMC,2BAA2B,GAAG,MAAAA,CACzCC,IAA4C,EAC5CC,OAAqB,KAErB,iEAAkE,CAChE,MAAMC,UAAI,CAACC,IAAI,CAGb,yEAAyE,EACzEH,IAAI,EACJC,OACF,CAAC,EACDD,IAAI;AAACI,OAAA,CAAAL,2BAAA,GAAAA,2BAAA","ignoreList":[]}
|
@@ -9,6 +9,6 @@ var _http = require("@next-core/http");
|
|
9
9
|
* @description 插入或更新提示词
|
10
10
|
* @endpoint POST /api/v1/llm/aiops_service/prompt/upsert
|
11
11
|
*/
|
12
|
-
const AiopsPromptApi_llmUpsertPrompt = async (data, options) => /**! @contract easyops.api.llm.aiops_prompt.LLMUpsertPrompt@1.0.0 */(await _http.http.post("api/gateway/llm.
|
12
|
+
const AiopsPromptApi_llmUpsertPrompt = async (data, options) => /**! @contract easyops.api.llm.aiops_prompt.LLMUpsertPrompt@1.0.0 */(await _http.http.post("api/gateway/logic.llm.aiops_service/api/v1/llm/aiops_service/prompt/upsert", data, options)).data;
|
13
13
|
exports.AiopsPromptApi_llmUpsertPrompt = AiopsPromptApi_llmUpsertPrompt;
|
14
14
|
//# sourceMappingURL=llmUpsertPrompt.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"llmUpsertPrompt.js","names":["_http","require","AiopsPromptApi_llmUpsertPrompt","data","options","http","post","exports"],"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","require","AiopsPromptApi_llmUpsertPrompt","data","options","http","post","exports"],"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,IAAAA,KAAA,GAAAC,OAAA;AAyBA;AACA;AACA;AACA;AACO,MAAMC,8BAA8B,GAAG,MAAAA,CAC5CC,IAA+C,EAC/CC,OAAqB,KAErB,oEAAqE,CACnE,MAAMC,UAAI,CAACC,IAAI,CAGb,4EAA4E,EAC5EH,IAAI,EACJC,OACF,CAAC,EACDD,IAAI;AAACI,OAAA,CAAAL,8BAAA,GAAAA,8BAAA","ignoreList":[]}
|
@@ -9,6 +9,6 @@ var _http = require("@next-core/http");
|
|
9
9
|
* @description 增加同义词
|
10
10
|
* @endpoint POST /api/v1/llm/aiops_rag/add_synonyms_words
|
11
11
|
*/
|
12
|
-
const AiopsRagApi_addSynonymsWords = async (data, options) => /**! @contract easyops.api.llm.aiops_rag.AddSynonymsWords@1.0.0 */(await _http.http.post("api/gateway/llm.
|
12
|
+
const AiopsRagApi_addSynonymsWords = async (data, options) => /**! @contract easyops.api.llm.aiops_rag.AddSynonymsWords@1.0.0 */(await _http.http.post("api/gateway/logic.llm.aiops_service/api/v1/llm/aiops_rag/add_synonyms_words", data, options)).data;
|
13
13
|
exports.AiopsRagApi_addSynonymsWords = AiopsRagApi_addSynonymsWords;
|
14
14
|
//# sourceMappingURL=addSynonymsWords.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"addSynonymsWords.js","names":["_http","require","AiopsRagApi_addSynonymsWords","data","options","http","post","exports"],"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","require","AiopsRagApi_addSynonymsWords","data","options","http","post","exports"],"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,IAAAA,KAAA,GAAAC,OAAA;AAgBA;AACA;AACA;AACA;AACO,MAAMC,4BAA4B,GAAG,MAAAA,CAC1CC,IAA6C,EAC7CC,OAAqB,KAErB,kEAAmE,CACjE,MAAMC,UAAI,CAACC,IAAI,CAGb,6EAA6E,EAC7EH,IAAI,EACJC,OACF,CAAC,EACDD,IAAI;AAACI,OAAA,CAAAL,4BAAA,GAAAA,4BAAA","ignoreList":[]}
|
@@ -9,6 +9,6 @@ var _http = require("@next-core/http");
|
|
9
9
|
* @description 导入Confluence向量
|
10
10
|
* @endpoint POST /api/v1/llm/aiops_rag/import_confluence
|
11
11
|
*/
|
12
|
-
const AiopsRagApi_importConfluenceEmbedding = async (data, options) => /**! @contract easyops.api.llm.aiops_rag.ImportConfluenceEmbedding@1.0.0 */(await _http.http.post("api/gateway/llm.
|
12
|
+
const AiopsRagApi_importConfluenceEmbedding = async (data, options) => /**! @contract easyops.api.llm.aiops_rag.ImportConfluenceEmbedding@1.0.0 */(await _http.http.post("api/gateway/logic.llm.aiops_service/api/v1/llm/aiops_rag/import_confluence", data, options)).data;
|
13
13
|
exports.AiopsRagApi_importConfluenceEmbedding = AiopsRagApi_importConfluenceEmbedding;
|
14
14
|
//# sourceMappingURL=importConfluenceEmbedding.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"importConfluenceEmbedding.js","names":["_http","require","AiopsRagApi_importConfluenceEmbedding","data","options","http","post","exports"],"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","require","AiopsRagApi_importConfluenceEmbedding","data","options","http","post","exports"],"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,IAAAA,KAAA,GAAAC,OAAA;AAuBA;AACA;AACA;AACA;AACO,MAAMC,qCAAqC,GAAG,MAAAA,CACnDC,IAAsD,EACtDC,OAAqB,KAErB,2EAA4E,CAC1E,MAAMC,UAAI,CAACC,IAAI,CAGb,4EAA4E,EAC5EH,IAAI,EACJC,OACF,CAAC,EACDD,IAAI;AAACI,OAAA,CAAAL,qCAAA,GAAAA,qCAAA","ignoreList":[]}
|
@@ -9,6 +9,6 @@ var _http = require("@next-core/http");
|
|
9
9
|
* @description 向向量数据库中导入知识库文档
|
10
10
|
* @endpoint POST /api/v1/llm/aiops_rag/import_url
|
11
11
|
*/
|
12
|
-
const AiopsRagApi_importUrlEmbedding = async (data, options) => /**! @contract easyops.api.llm.aiops_rag.ImportURLEmbedding@1.0.0 */(await _http.http.post("api/gateway/llm.
|
12
|
+
const AiopsRagApi_importUrlEmbedding = async (data, options) => /**! @contract easyops.api.llm.aiops_rag.ImportURLEmbedding@1.0.0 */(await _http.http.post("api/gateway/logic.llm.aiops_service/api/v1/llm/aiops_rag/import_url", data, options)).data;
|
13
13
|
exports.AiopsRagApi_importUrlEmbedding = AiopsRagApi_importUrlEmbedding;
|
14
14
|
//# sourceMappingURL=importUrlEmbedding.js.map
|