@next-api-sdk/llm-sdk 1.1.0
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/README.md +18 -0
- package/contracts.json +3486 -0
- package/dist/cjs/api/llm/agent/baseGeneralAgent.js +17 -0
- package/dist/cjs/api/llm/agent/baseGeneralAgent.js.map +1 -0
- package/dist/cjs/api/llm/agent/index.js +28 -0
- package/dist/cjs/api/llm/agent/index.js.map +1 -0
- package/dist/cjs/api/llm/agent/webSearchAgent.js +17 -0
- package/dist/cjs/api/llm/agent/webSearchAgent.js.map +1 -0
- package/dist/cjs/api/llm/aiops_base/deleteEmbedding.js +14 -0
- package/dist/cjs/api/llm/aiops_base/deleteEmbedding.js.map +1 -0
- package/dist/cjs/api/llm/aiops_base/deleteKnowledge.js +14 -0
- package/dist/cjs/api/llm/aiops_base/deleteKnowledge.js.map +1 -0
- package/dist/cjs/api/llm/aiops_base/importDocumentEmbeddings.js +14 -0
- package/dist/cjs/api/llm/aiops_base/importDocumentEmbeddings.js.map +1 -0
- package/dist/cjs/api/llm/aiops_base/index.js +94 -0
- package/dist/cjs/api/llm/aiops_base/index.js.map +1 -0
- package/dist/cjs/api/llm/aiops_base/llmChatServiceV1.js +16 -0
- package/dist/cjs/api/llm/aiops_base/llmChatServiceV1.js.map +1 -0
- package/dist/cjs/api/llm/aiops_base/openaiChat.js +16 -0
- package/dist/cjs/api/llm/aiops_base/openaiChat.js.map +1 -0
- package/dist/cjs/api/llm/aiops_base/searchEmbedding.js +14 -0
- package/dist/cjs/api/llm/aiops_base/searchEmbedding.js.map +1 -0
- package/dist/cjs/api/llm/aiops_base/upsertDocument.js +14 -0
- package/dist/cjs/api/llm/aiops_base/upsertDocument.js.map +1 -0
- package/dist/cjs/api/llm/aiops_base/upsertWithDocId.js +14 -0
- package/dist/cjs/api/llm/aiops_base/upsertWithDocId.js.map +1 -0
- package/dist/cjs/api/llm/aiops_memory/createMemoryEnv.js +14 -0
- package/dist/cjs/api/llm/aiops_memory/createMemoryEnv.js.map +1 -0
- package/dist/cjs/api/llm/aiops_memory/deleteLlmMemoryWithConversationId.js +14 -0
- package/dist/cjs/api/llm/aiops_memory/deleteLlmMemoryWithConversationId.js.map +1 -0
- package/dist/cjs/api/llm/aiops_memory/deleteLlmMemoryWithConversationIdAndKey.js +14 -0
- package/dist/cjs/api/llm/aiops_memory/deleteLlmMemoryWithConversationIdAndKey.js.map +1 -0
- package/dist/cjs/api/llm/aiops_memory/deleteMemoryEnv.js +14 -0
- package/dist/cjs/api/llm/aiops_memory/deleteMemoryEnv.js.map +1 -0
- package/dist/cjs/api/llm/aiops_memory/getLlmMemoryWithConversationId.js +14 -0
- package/dist/cjs/api/llm/aiops_memory/getLlmMemoryWithConversationId.js.map +1 -0
- package/dist/cjs/api/llm/aiops_memory/getLlmMemoryWithConversationIdAndKey.js +14 -0
- package/dist/cjs/api/llm/aiops_memory/getLlmMemoryWithConversationIdAndKey.js.map +1 -0
- package/dist/cjs/api/llm/aiops_memory/index.js +105 -0
- package/dist/cjs/api/llm/aiops_memory/index.js.map +1 -0
- package/dist/cjs/api/llm/aiops_memory/searchMemoryEnv.js +14 -0
- package/dist/cjs/api/llm/aiops_memory/searchMemoryEnv.js.map +1 -0
- package/dist/cjs/api/llm/aiops_memory/updateMemoryEnv.js +14 -0
- package/dist/cjs/api/llm/aiops_memory/updateMemoryEnv.js.map +1 -0
- package/dist/cjs/api/llm/aiops_memory/upsertLlmMemoryWithConversationIdAndKey.js +14 -0
- package/dist/cjs/api/llm/aiops_memory/upsertLlmMemoryWithConversationIdAndKey.js.map +1 -0
- package/dist/cjs/api/llm/aiops_prompt/index.js +39 -0
- package/dist/cjs/api/llm/aiops_prompt/index.js.map +1 -0
- package/dist/cjs/api/llm/aiops_prompt/llmDeletePrompt.js +14 -0
- package/dist/cjs/api/llm/aiops_prompt/llmDeletePrompt.js.map +1 -0
- package/dist/cjs/api/llm/aiops_prompt/llmGetPrompt.js +14 -0
- package/dist/cjs/api/llm/aiops_prompt/llmGetPrompt.js.map +1 -0
- package/dist/cjs/api/llm/aiops_prompt/llmUpsertPrompt.js +14 -0
- package/dist/cjs/api/llm/aiops_prompt/llmUpsertPrompt.js.map +1 -0
- package/dist/cjs/api/llm/aiops_rag/addSynonymsWords.js +14 -0
- package/dist/cjs/api/llm/aiops_rag/addSynonymsWords.js.map +1 -0
- package/dist/cjs/api/llm/aiops_rag/importConfluenceEmbedding.js +14 -0
- package/dist/cjs/api/llm/aiops_rag/importConfluenceEmbedding.js.map +1 -0
- package/dist/cjs/api/llm/aiops_rag/importUrlEmbedding.js +14 -0
- package/dist/cjs/api/llm/aiops_rag/importUrlEmbedding.js.map +1 -0
- package/dist/cjs/api/llm/aiops_rag/index.js +50 -0
- package/dist/cjs/api/llm/aiops_rag/index.js.map +1 -0
- package/dist/cjs/api/llm/aiops_rag/upsertKnowledgeDocument.js +14 -0
- package/dist/cjs/api/llm/aiops_rag/upsertKnowledgeDocument.js.map +1 -0
- package/dist/cjs/api/llm/aiops_service/exportAgents.js +17 -0
- package/dist/cjs/api/llm/aiops_service/exportAgents.js.map +1 -0
- package/dist/cjs/api/llm/aiops_service/exportConversation.js +17 -0
- package/dist/cjs/api/llm/aiops_service/exportConversation.js.map +1 -0
- package/dist/cjs/api/llm/aiops_service/exportRobots.js +17 -0
- package/dist/cjs/api/llm/aiops_service/exportRobots.js.map +1 -0
- package/dist/cjs/api/llm/aiops_service/exportTools.js +17 -0
- package/dist/cjs/api/llm/aiops_service/exportTools.js.map +1 -0
- package/dist/cjs/api/llm/aiops_service/importAgents.js +27 -0
- package/dist/cjs/api/llm/aiops_service/importAgents.js.map +1 -0
- package/dist/cjs/api/llm/aiops_service/importConfluenceEmbedding.js +14 -0
- package/dist/cjs/api/llm/aiops_service/importConfluenceEmbedding.js.map +1 -0
- package/dist/cjs/api/llm/aiops_service/importDocumentEmbedding.js +14 -0
- package/dist/cjs/api/llm/aiops_service/importDocumentEmbedding.js.map +1 -0
- package/dist/cjs/api/llm/aiops_service/importRobots.js +27 -0
- package/dist/cjs/api/llm/aiops_service/importRobots.js.map +1 -0
- package/dist/cjs/api/llm/aiops_service/importTools.js +27 -0
- package/dist/cjs/api/llm/aiops_service/importTools.js.map +1 -0
- package/dist/cjs/api/llm/aiops_service/index.js +215 -0
- package/dist/cjs/api/llm/aiops_service/index.js.map +1 -0
- package/dist/cjs/api/llm/aiops_service/llmAgentChat.js +17 -0
- package/dist/cjs/api/llm/aiops_service/llmAgentChat.js.map +1 -0
- package/dist/cjs/api/llm/aiops_service/llmChatSelectAgent.js +16 -0
- package/dist/cjs/api/llm/aiops_service/llmChatSelectAgent.js.map +1 -0
- package/dist/cjs/api/llm/aiops_service/llmChatService.js +16 -0
- package/dist/cjs/api/llm/aiops_service/llmChatService.js.map +1 -0
- package/dist/cjs/api/llm/aiops_service/llmCreateConversation.js +14 -0
- package/dist/cjs/api/llm/aiops_service/llmCreateConversation.js.map +1 -0
- package/dist/cjs/api/llm/aiops_service/llmEmbeddingDeleteDocs.js +14 -0
- package/dist/cjs/api/llm/aiops_service/llmEmbeddingDeleteDocs.js.map +1 -0
- package/dist/cjs/api/llm/aiops_service/llmEmbeddingImportUrl.js +14 -0
- package/dist/cjs/api/llm/aiops_service/llmEmbeddingImportUrl.js.map +1 -0
- package/dist/cjs/api/llm/aiops_service/llmEmbeddingSearch.js +14 -0
- package/dist/cjs/api/llm/aiops_service/llmEmbeddingSearch.js.map +1 -0
- package/dist/cjs/api/llm/aiops_service/llmExecTools.js +14 -0
- package/dist/cjs/api/llm/aiops_service/llmExecTools.js.map +1 -0
- package/dist/cjs/api/llm/aiops_service/llmRobotChat.js +17 -0
- package/dist/cjs/api/llm/aiops_service/llmRobotChat.js.map +1 -0
- package/dist/cjs/api/llm/aiops_service/llmStreamChatService.js +14 -0
- package/dist/cjs/api/llm/aiops_service/llmStreamChatService.js.map +1 -0
- package/dist/cjs/api/llm/aiops_tools/index.js +28 -0
- package/dist/cjs/api/llm/aiops_tools/index.js.map +1 -0
- package/dist/cjs/api/llm/aiops_tools/summaryQuestionV2.js +14 -0
- package/dist/cjs/api/llm/aiops_tools/summaryQuestionV2.js.map +1 -0
- package/dist/cjs/api/llm/aiops_tools/templateLlmChatV2.js +14 -0
- package/dist/cjs/api/llm/aiops_tools/templateLlmChatV2.js.map +1 -0
- package/dist/cjs/api/llm/virtual_builder/generateStoryboard.js +14 -0
- package/dist/cjs/api/llm/virtual_builder/generateStoryboard.js.map +1 -0
- package/dist/cjs/api/llm/virtual_builder/generateStoryboardStream.js +14 -0
- package/dist/cjs/api/llm/virtual_builder/generateStoryboardStream.js.map +1 -0
- package/dist/cjs/api/llm/virtual_builder/index.js +28 -0
- package/dist/cjs/api/llm/virtual_builder/index.js.map +1 -0
- package/dist/cjs/index.js +112 -0
- package/dist/cjs/index.js.map +1 -0
- package/dist/cjs/model/aiops_service/ModelLlmChatAgentTaskRequest.js +6 -0
- package/dist/cjs/model/aiops_service/ModelLlmChatAgentTaskRequest.js.map +1 -0
- package/dist/cjs/model/aiops_service/ModelLlmChatAgentTaskResponse.js +6 -0
- package/dist/cjs/model/aiops_service/ModelLlmChatAgentTaskResponse.js.map +1 -0
- package/dist/cjs/model/aiops_service/ModelLlmChatMessage.js +6 -0
- package/dist/cjs/model/aiops_service/ModelLlmChatMessage.js.map +1 -0
- package/dist/cjs/model/aiops_service/ModelLlmChatRequest.js +6 -0
- package/dist/cjs/model/aiops_service/ModelLlmChatRequest.js.map +1 -0
- package/dist/cjs/model/aiops_service/ModelLlmChatResponse.js +6 -0
- package/dist/cjs/model/aiops_service/ModelLlmChatResponse.js.map +1 -0
- package/dist/cjs/model/aiops_service/ModelLlmChatSelectAgentRequest.js +6 -0
- package/dist/cjs/model/aiops_service/ModelLlmChatSelectAgentRequest.js.map +1 -0
- package/dist/cjs/model/aiops_service/ModelLlmChatSelectAgentResponse.js +6 -0
- package/dist/cjs/model/aiops_service/ModelLlmChatSelectAgentResponse.js.map +1 -0
- package/dist/cjs/model/aiops_service/ModelLlmChatTools.js +6 -0
- package/dist/cjs/model/aiops_service/ModelLlmChatTools.js.map +1 -0
- package/dist/cjs/model/aiops_service/index.js +94 -0
- package/dist/cjs/model/aiops_service/index.js.map +1 -0
- package/dist/cjs/model/llm/ModelLlmDocument.js +6 -0
- package/dist/cjs/model/llm/ModelLlmDocument.js.map +1 -0
- package/dist/cjs/model/llm/ModelLlmMemory.js +6 -0
- package/dist/cjs/model/llm/ModelLlmMemory.js.map +1 -0
- package/dist/cjs/model/llm/ModelLlmMemoryEnv.js +6 -0
- package/dist/cjs/model/llm/ModelLlmMemoryEnv.js.map +1 -0
- package/dist/cjs/model/llm/index.js +39 -0
- package/dist/cjs/model/llm/index.js.map +1 -0
- package/dist/cjs/wrapper.js +6 -0
- package/dist/cjs/wrapper.js.map +1 -0
- package/dist/esm/api/llm/agent/baseGeneralAgent.js +11 -0
- package/dist/esm/api/llm/agent/baseGeneralAgent.js.map +1 -0
- package/dist/esm/api/llm/agent/index.js +3 -0
- package/dist/esm/api/llm/agent/index.js.map +1 -0
- package/dist/esm/api/llm/agent/webSearchAgent.js +11 -0
- package/dist/esm/api/llm/agent/webSearchAgent.js.map +1 -0
- package/dist/esm/api/llm/aiops_base/deleteEmbedding.js +7 -0
- package/dist/esm/api/llm/aiops_base/deleteEmbedding.js.map +1 -0
- package/dist/esm/api/llm/aiops_base/deleteKnowledge.js +7 -0
- package/dist/esm/api/llm/aiops_base/deleteKnowledge.js.map +1 -0
- package/dist/esm/api/llm/aiops_base/importDocumentEmbeddings.js +7 -0
- package/dist/esm/api/llm/aiops_base/importDocumentEmbeddings.js.map +1 -0
- package/dist/esm/api/llm/aiops_base/index.js +9 -0
- package/dist/esm/api/llm/aiops_base/index.js.map +1 -0
- package/dist/esm/api/llm/aiops_base/llmChatServiceV1.js +10 -0
- package/dist/esm/api/llm/aiops_base/llmChatServiceV1.js.map +1 -0
- package/dist/esm/api/llm/aiops_base/openaiChat.js +10 -0
- package/dist/esm/api/llm/aiops_base/openaiChat.js.map +1 -0
- package/dist/esm/api/llm/aiops_base/searchEmbedding.js +7 -0
- package/dist/esm/api/llm/aiops_base/searchEmbedding.js.map +1 -0
- package/dist/esm/api/llm/aiops_base/upsertDocument.js +7 -0
- package/dist/esm/api/llm/aiops_base/upsertDocument.js.map +1 -0
- package/dist/esm/api/llm/aiops_base/upsertWithDocId.js +7 -0
- package/dist/esm/api/llm/aiops_base/upsertWithDocId.js.map +1 -0
- package/dist/esm/api/llm/aiops_memory/createMemoryEnv.js +7 -0
- package/dist/esm/api/llm/aiops_memory/createMemoryEnv.js.map +1 -0
- package/dist/esm/api/llm/aiops_memory/deleteLlmMemoryWithConversationId.js +8 -0
- package/dist/esm/api/llm/aiops_memory/deleteLlmMemoryWithConversationId.js.map +1 -0
- package/dist/esm/api/llm/aiops_memory/deleteLlmMemoryWithConversationIdAndKey.js +7 -0
- package/dist/esm/api/llm/aiops_memory/deleteLlmMemoryWithConversationIdAndKey.js.map +1 -0
- package/dist/esm/api/llm/aiops_memory/deleteMemoryEnv.js +8 -0
- package/dist/esm/api/llm/aiops_memory/deleteMemoryEnv.js.map +1 -0
- package/dist/esm/api/llm/aiops_memory/getLlmMemoryWithConversationId.js +7 -0
- package/dist/esm/api/llm/aiops_memory/getLlmMemoryWithConversationId.js.map +1 -0
- package/dist/esm/api/llm/aiops_memory/getLlmMemoryWithConversationIdAndKey.js +7 -0
- package/dist/esm/api/llm/aiops_memory/getLlmMemoryWithConversationIdAndKey.js.map +1 -0
- package/dist/esm/api/llm/aiops_memory/index.js +10 -0
- package/dist/esm/api/llm/aiops_memory/index.js.map +1 -0
- package/dist/esm/api/llm/aiops_memory/searchMemoryEnv.js +7 -0
- package/dist/esm/api/llm/aiops_memory/searchMemoryEnv.js.map +1 -0
- package/dist/esm/api/llm/aiops_memory/updateMemoryEnv.js +7 -0
- package/dist/esm/api/llm/aiops_memory/updateMemoryEnv.js.map +1 -0
- package/dist/esm/api/llm/aiops_memory/upsertLlmMemoryWithConversationIdAndKey.js +7 -0
- package/dist/esm/api/llm/aiops_memory/upsertLlmMemoryWithConversationIdAndKey.js.map +1 -0
- package/dist/esm/api/llm/aiops_prompt/index.js +4 -0
- package/dist/esm/api/llm/aiops_prompt/index.js.map +1 -0
- package/dist/esm/api/llm/aiops_prompt/llmDeletePrompt.js +7 -0
- package/dist/esm/api/llm/aiops_prompt/llmDeletePrompt.js.map +1 -0
- package/dist/esm/api/llm/aiops_prompt/llmGetPrompt.js +7 -0
- package/dist/esm/api/llm/aiops_prompt/llmGetPrompt.js.map +1 -0
- package/dist/esm/api/llm/aiops_prompt/llmUpsertPrompt.js +7 -0
- package/dist/esm/api/llm/aiops_prompt/llmUpsertPrompt.js.map +1 -0
- package/dist/esm/api/llm/aiops_rag/addSynonymsWords.js +7 -0
- package/dist/esm/api/llm/aiops_rag/addSynonymsWords.js.map +1 -0
- package/dist/esm/api/llm/aiops_rag/importConfluenceEmbedding.js +7 -0
- package/dist/esm/api/llm/aiops_rag/importConfluenceEmbedding.js.map +1 -0
- package/dist/esm/api/llm/aiops_rag/importUrlEmbedding.js +7 -0
- package/dist/esm/api/llm/aiops_rag/importUrlEmbedding.js.map +1 -0
- package/dist/esm/api/llm/aiops_rag/index.js +5 -0
- package/dist/esm/api/llm/aiops_rag/index.js.map +1 -0
- package/dist/esm/api/llm/aiops_rag/upsertKnowledgeDocument.js +7 -0
- package/dist/esm/api/llm/aiops_rag/upsertKnowledgeDocument.js.map +1 -0
- package/dist/esm/api/llm/aiops_service/exportAgents.js +10 -0
- package/dist/esm/api/llm/aiops_service/exportAgents.js.map +1 -0
- package/dist/esm/api/llm/aiops_service/exportConversation.js +10 -0
- package/dist/esm/api/llm/aiops_service/exportConversation.js.map +1 -0
- package/dist/esm/api/llm/aiops_service/exportRobots.js +10 -0
- package/dist/esm/api/llm/aiops_service/exportRobots.js.map +1 -0
- package/dist/esm/api/llm/aiops_service/exportTools.js +10 -0
- package/dist/esm/api/llm/aiops_service/exportTools.js.map +1 -0
- package/dist/esm/api/llm/aiops_service/importAgents.js +20 -0
- package/dist/esm/api/llm/aiops_service/importAgents.js.map +1 -0
- package/dist/esm/api/llm/aiops_service/importConfluenceEmbedding.js +7 -0
- package/dist/esm/api/llm/aiops_service/importConfluenceEmbedding.js.map +1 -0
- package/dist/esm/api/llm/aiops_service/importDocumentEmbedding.js +7 -0
- package/dist/esm/api/llm/aiops_service/importDocumentEmbedding.js.map +1 -0
- package/dist/esm/api/llm/aiops_service/importRobots.js +20 -0
- package/dist/esm/api/llm/aiops_service/importRobots.js.map +1 -0
- package/dist/esm/api/llm/aiops_service/importTools.js +20 -0
- package/dist/esm/api/llm/aiops_service/importTools.js.map +1 -0
- package/dist/esm/api/llm/aiops_service/index.js +20 -0
- package/dist/esm/api/llm/aiops_service/index.js.map +1 -0
- package/dist/esm/api/llm/aiops_service/llmAgentChat.js +11 -0
- package/dist/esm/api/llm/aiops_service/llmAgentChat.js.map +1 -0
- package/dist/esm/api/llm/aiops_service/llmChatSelectAgent.js +10 -0
- package/dist/esm/api/llm/aiops_service/llmChatSelectAgent.js.map +1 -0
- package/dist/esm/api/llm/aiops_service/llmChatService.js +10 -0
- package/dist/esm/api/llm/aiops_service/llmChatService.js.map +1 -0
- package/dist/esm/api/llm/aiops_service/llmCreateConversation.js +7 -0
- package/dist/esm/api/llm/aiops_service/llmCreateConversation.js.map +1 -0
- package/dist/esm/api/llm/aiops_service/llmEmbeddingDeleteDocs.js +7 -0
- package/dist/esm/api/llm/aiops_service/llmEmbeddingDeleteDocs.js.map +1 -0
- package/dist/esm/api/llm/aiops_service/llmEmbeddingImportUrl.js +7 -0
- package/dist/esm/api/llm/aiops_service/llmEmbeddingImportUrl.js.map +1 -0
- package/dist/esm/api/llm/aiops_service/llmEmbeddingSearch.js +7 -0
- package/dist/esm/api/llm/aiops_service/llmEmbeddingSearch.js.map +1 -0
- package/dist/esm/api/llm/aiops_service/llmExecTools.js +7 -0
- package/dist/esm/api/llm/aiops_service/llmExecTools.js.map +1 -0
- package/dist/esm/api/llm/aiops_service/llmRobotChat.js +11 -0
- package/dist/esm/api/llm/aiops_service/llmRobotChat.js.map +1 -0
- package/dist/esm/api/llm/aiops_service/llmStreamChatService.js +7 -0
- package/dist/esm/api/llm/aiops_service/llmStreamChatService.js.map +1 -0
- package/dist/esm/api/llm/aiops_tools/index.js +3 -0
- package/dist/esm/api/llm/aiops_tools/index.js.map +1 -0
- package/dist/esm/api/llm/aiops_tools/summaryQuestionV2.js +7 -0
- package/dist/esm/api/llm/aiops_tools/summaryQuestionV2.js.map +1 -0
- package/dist/esm/api/llm/aiops_tools/templateLlmChatV2.js +7 -0
- package/dist/esm/api/llm/aiops_tools/templateLlmChatV2.js.map +1 -0
- package/dist/esm/api/llm/virtual_builder/generateStoryboard.js +7 -0
- package/dist/esm/api/llm/virtual_builder/generateStoryboard.js.map +1 -0
- package/dist/esm/api/llm/virtual_builder/generateStoryboardStream.js +7 -0
- package/dist/esm/api/llm/virtual_builder/generateStoryboardStream.js.map +1 -0
- package/dist/esm/api/llm/virtual_builder/index.js +3 -0
- package/dist/esm/api/llm/virtual_builder/index.js.map +1 -0
- package/dist/esm/index.js +13 -0
- package/dist/esm/index.js.map +1 -0
- package/dist/esm/model/aiops_service/ModelLlmChatAgentTaskRequest.js +2 -0
- package/dist/esm/model/aiops_service/ModelLlmChatAgentTaskRequest.js.map +1 -0
- package/dist/esm/model/aiops_service/ModelLlmChatAgentTaskResponse.js +2 -0
- package/dist/esm/model/aiops_service/ModelLlmChatAgentTaskResponse.js.map +1 -0
- package/dist/esm/model/aiops_service/ModelLlmChatMessage.js +2 -0
- package/dist/esm/model/aiops_service/ModelLlmChatMessage.js.map +1 -0
- package/dist/esm/model/aiops_service/ModelLlmChatRequest.js +2 -0
- package/dist/esm/model/aiops_service/ModelLlmChatRequest.js.map +1 -0
- package/dist/esm/model/aiops_service/ModelLlmChatResponse.js +2 -0
- package/dist/esm/model/aiops_service/ModelLlmChatResponse.js.map +1 -0
- package/dist/esm/model/aiops_service/ModelLlmChatSelectAgentRequest.js +2 -0
- package/dist/esm/model/aiops_service/ModelLlmChatSelectAgentRequest.js.map +1 -0
- package/dist/esm/model/aiops_service/ModelLlmChatSelectAgentResponse.js +2 -0
- package/dist/esm/model/aiops_service/ModelLlmChatSelectAgentResponse.js.map +1 -0
- package/dist/esm/model/aiops_service/ModelLlmChatTools.js +2 -0
- package/dist/esm/model/aiops_service/ModelLlmChatTools.js.map +1 -0
- package/dist/esm/model/aiops_service/index.js +9 -0
- package/dist/esm/model/aiops_service/index.js.map +1 -0
- package/dist/esm/model/llm/ModelLlmDocument.js +2 -0
- package/dist/esm/model/llm/ModelLlmDocument.js.map +1 -0
- package/dist/esm/model/llm/ModelLlmMemory.js +2 -0
- package/dist/esm/model/llm/ModelLlmMemory.js.map +1 -0
- package/dist/esm/model/llm/ModelLlmMemoryEnv.js +2 -0
- package/dist/esm/model/llm/ModelLlmMemoryEnv.js.map +1 -0
- package/dist/esm/model/llm/index.js +4 -0
- package/dist/esm/model/llm/index.js.map +1 -0
- package/dist/esm/wrapper.js +2 -0
- package/dist/esm/wrapper.js.map +1 -0
- package/dist/types/api/llm/agent/baseGeneralAgent.d.ts +11 -0
- package/dist/types/api/llm/agent/index.d.ts +2 -0
- package/dist/types/api/llm/agent/webSearchAgent.d.ts +11 -0
- package/dist/types/api/llm/aiops_base/deleteEmbedding.d.ts +16 -0
- package/dist/types/api/llm/aiops_base/deleteKnowledge.d.ts +10 -0
- package/dist/types/api/llm/aiops_base/importDocumentEmbeddings.d.ts +27 -0
- package/dist/types/api/llm/aiops_base/index.d.ts +8 -0
- package/dist/types/api/llm/aiops_base/llmChatServiceV1.d.ts +14 -0
- package/dist/types/api/llm/aiops_base/openaiChat.d.ts +14 -0
- package/dist/types/api/llm/aiops_base/searchEmbedding.d.ts +23 -0
- package/dist/types/api/llm/aiops_base/upsertDocument.d.ts +25 -0
- package/dist/types/api/llm/aiops_base/upsertWithDocId.d.ts +25 -0
- package/dist/types/api/llm/aiops_memory/createMemoryEnv.d.ts +9 -0
- package/dist/types/api/llm/aiops_memory/deleteLlmMemoryWithConversationId.d.ts +6 -0
- package/dist/types/api/llm/aiops_memory/deleteLlmMemoryWithConversationIdAndKey.d.ts +10 -0
- package/dist/types/api/llm/aiops_memory/deleteMemoryEnv.d.ts +6 -0
- package/dist/types/api/llm/aiops_memory/getLlmMemoryWithConversationId.d.ts +15 -0
- package/dist/types/api/llm/aiops_memory/getLlmMemoryWithConversationIdAndKey.d.ts +17 -0
- package/dist/types/api/llm/aiops_memory/index.d.ts +9 -0
- package/dist/types/api/llm/aiops_memory/searchMemoryEnv.d.ts +23 -0
- package/dist/types/api/llm/aiops_memory/updateMemoryEnv.d.ts +8 -0
- package/dist/types/api/llm/aiops_memory/upsertLlmMemoryWithConversationIdAndKey.d.ts +11 -0
- package/dist/types/api/llm/aiops_prompt/index.d.ts +3 -0
- package/dist/types/api/llm/aiops_prompt/llmDeletePrompt.d.ts +20 -0
- package/dist/types/api/llm/aiops_prompt/llmGetPrompt.d.ts +18 -0
- package/dist/types/api/llm/aiops_prompt/llmUpsertPrompt.d.ts +22 -0
- package/dist/types/api/llm/aiops_rag/addSynonymsWords.d.ts +20 -0
- package/dist/types/api/llm/aiops_rag/importConfluenceEmbedding.d.ts +37 -0
- package/dist/types/api/llm/aiops_rag/importUrlEmbedding.d.ts +27 -0
- package/dist/types/api/llm/aiops_rag/index.d.ts +4 -0
- package/dist/types/api/llm/aiops_rag/upsertKnowledgeDocument.d.ts +14 -0
- package/dist/types/api/llm/aiops_service/exportAgents.d.ts +10 -0
- package/dist/types/api/llm/aiops_service/exportConversation.d.ts +22 -0
- package/dist/types/api/llm/aiops_service/exportRobots.d.ts +10 -0
- package/dist/types/api/llm/aiops_service/exportTools.d.ts +10 -0
- package/dist/types/api/llm/aiops_service/importAgents.d.ts +16 -0
- package/dist/types/api/llm/aiops_service/importConfluenceEmbedding.d.ts +37 -0
- package/dist/types/api/llm/aiops_service/importDocumentEmbedding.d.ts +27 -0
- package/dist/types/api/llm/aiops_service/importRobots.d.ts +16 -0
- package/dist/types/api/llm/aiops_service/importTools.d.ts +16 -0
- package/dist/types/api/llm/aiops_service/index.d.ts +19 -0
- package/dist/types/api/llm/aiops_service/llmAgentChat.d.ts +46 -0
- package/dist/types/api/llm/aiops_service/llmChatSelectAgent.d.ts +10 -0
- package/dist/types/api/llm/aiops_service/llmChatService.d.ts +14 -0
- package/dist/types/api/llm/aiops_service/llmCreateConversation.d.ts +18 -0
- package/dist/types/api/llm/aiops_service/llmEmbeddingDeleteDocs.d.ts +15 -0
- package/dist/types/api/llm/aiops_service/llmEmbeddingImportUrl.d.ts +25 -0
- package/dist/types/api/llm/aiops_service/llmEmbeddingSearch.d.ts +21 -0
- package/dist/types/api/llm/aiops_service/llmExecTools.d.ts +24 -0
- package/dist/types/api/llm/aiops_service/llmRobotChat.d.ts +11 -0
- package/dist/types/api/llm/aiops_service/llmStreamChatService.d.ts +12 -0
- package/dist/types/api/llm/aiops_tools/index.d.ts +2 -0
- package/dist/types/api/llm/aiops_tools/summaryQuestionV2.d.ts +29 -0
- package/dist/types/api/llm/aiops_tools/templateLlmChatV2.d.ts +44 -0
- package/dist/types/api/llm/virtual_builder/generateStoryboard.d.ts +24 -0
- package/dist/types/api/llm/virtual_builder/generateStoryboardStream.d.ts +24 -0
- package/dist/types/api/llm/virtual_builder/index.d.ts +2 -0
- package/dist/types/index.d.ts +10 -0
- package/dist/types/model/aiops_service/ModelLlmChatAgentTaskRequest.d.ts +26 -0
- package/dist/types/model/aiops_service/ModelLlmChatAgentTaskResponse.d.ts +26 -0
- package/dist/types/model/aiops_service/ModelLlmChatMessage.d.ts +27 -0
- package/dist/types/model/aiops_service/ModelLlmChatRequest.d.ts +28 -0
- package/dist/types/model/aiops_service/ModelLlmChatResponse.d.ts +32 -0
- package/dist/types/model/aiops_service/ModelLlmChatSelectAgentRequest.d.ts +19 -0
- package/dist/types/model/aiops_service/ModelLlmChatSelectAgentResponse.d.ts +12 -0
- package/dist/types/model/aiops_service/ModelLlmChatTools.d.ts +31 -0
- package/dist/types/model/aiops_service/index.d.ts +8 -0
- package/dist/types/model/llm/ModelLlmDocument.d.ts +13 -0
- package/dist/types/model/llm/ModelLlmMemory.d.ts +15 -0
- package/dist/types/model/llm/ModelLlmMemoryEnv.d.ts +11 -0
- package/dist/types/model/llm/index.d.ts +3 -0
- package/dist/types/wrapper.d.ts +12 -0
- package/package.json +47 -0
@@ -0,0 +1,14 @@
|
|
1
|
+
import { HttpOptions } from "@next-core/http";
|
2
|
+
import { ModelLlmChatRequest, ModelLlmChatResponse } from "../../../model/aiops_service/index.js";
|
3
|
+
export type AiopsBaseApi_OpenaiChatRequestBody = Partial<ModelLlmChatRequest>;
|
4
|
+
/** 接口返回,有两种格式,流式返回为sseDataList:[{"role":"assistant","content":"abc"}],非流式返回为LLMChatResponse */
|
5
|
+
export type AiopsBaseApi_OpenaiChatResponseBody = Partial<ModelLlmChatResponse> & AiopsBaseApi_OpenaiChatResponseBody_2;
|
6
|
+
/**
|
7
|
+
* @description 通用大模型聊天接口, 直接转发返回大模型请求
|
8
|
+
* @endpoint POST /v1/chat/completions
|
9
|
+
*/
|
10
|
+
export declare const AiopsBaseApi_openaiChat: (data: AiopsBaseApi_OpenaiChatRequestBody, options?: HttpOptions) => Promise<AiopsBaseApi_OpenaiChatResponseBody>;
|
11
|
+
export interface AiopsBaseApi_OpenaiChatResponseBody_2 {
|
12
|
+
/** 流式数据列表 */
|
13
|
+
sseDataList?: any[];
|
14
|
+
}
|
@@ -0,0 +1,23 @@
|
|
1
|
+
import { HttpOptions } from "@next-core/http";
|
2
|
+
import { ModelLlmDocument } from "../../../model/llm/index.js";
|
3
|
+
export interface AiopsBaseApi_SearchEmbeddingRequestBody {
|
4
|
+
/** 命名空间 */
|
5
|
+
namespace?: string;
|
6
|
+
/** 查询的句子 */
|
7
|
+
query?: string;
|
8
|
+
/** 过滤条件 */
|
9
|
+
filter?: Record<string, any>;
|
10
|
+
/** 返回topk条记录 */
|
11
|
+
topk?: number;
|
12
|
+
/** 是否按文档内容去重 */
|
13
|
+
uniqWithContent?: boolean;
|
14
|
+
}
|
15
|
+
export interface AiopsBaseApi_SearchEmbeddingResponseBody {
|
16
|
+
/** 相似查询结果 */
|
17
|
+
matchedDocs?: Partial<ModelLlmDocument>[];
|
18
|
+
}
|
19
|
+
/**
|
20
|
+
* @description 向向量数据库做相似查询
|
21
|
+
* @endpoint POST /api/v1/llm/aiops_base/embedding/search
|
22
|
+
*/
|
23
|
+
export declare const AiopsBaseApi_searchEmbedding: (data: AiopsBaseApi_SearchEmbeddingRequestBody, options?: HttpOptions) => Promise<AiopsBaseApi_SearchEmbeddingResponseBody>;
|
@@ -0,0 +1,25 @@
|
|
1
|
+
import { HttpOptions } from "@next-core/http";
|
2
|
+
import { ModelLlmDocument } from "../../../model/llm/index.js";
|
3
|
+
export interface AiopsBaseApi_UpsertDocumentRequestBody {
|
4
|
+
/** 导入的namespace */
|
5
|
+
namespace?: string;
|
6
|
+
/** 过滤条件 */
|
7
|
+
filter?: Record<string, any>;
|
8
|
+
/** 导入的document */
|
9
|
+
docList?: AiopsBaseApi_UpsertDocumentRequestBody_docList_item[];
|
10
|
+
}
|
11
|
+
export interface AiopsBaseApi_UpsertDocumentResponseBody {
|
12
|
+
/** 解析的文档内容 */
|
13
|
+
docs?: Partial<ModelLlmDocument>[];
|
14
|
+
}
|
15
|
+
/**
|
16
|
+
* @description 更新或者插入文档
|
17
|
+
* @endpoint POST /api/v1/llm/aiops_base/upsert_doc
|
18
|
+
*/
|
19
|
+
export declare const AiopsBaseApi_upsertDocument: (data: AiopsBaseApi_UpsertDocumentRequestBody, options?: HttpOptions) => Promise<AiopsBaseApi_UpsertDocumentResponseBody>;
|
20
|
+
export interface AiopsBaseApi_UpsertDocumentRequestBody_docList_item {
|
21
|
+
/** 内容 */
|
22
|
+
pageContent?: string;
|
23
|
+
/** metadata */
|
24
|
+
metadata?: Record<string, any>;
|
25
|
+
}
|
@@ -0,0 +1,25 @@
|
|
1
|
+
import { HttpOptions } from "@next-core/http";
|
2
|
+
import { ModelLlmDocument } from "../../../model/llm/index.js";
|
3
|
+
export interface AiopsBaseApi_UpsertWithDocIdRequestBody {
|
4
|
+
/** 导入的namespace */
|
5
|
+
namespace?: string;
|
6
|
+
/** 文档id */
|
7
|
+
docId?: string;
|
8
|
+
/** 导入的document */
|
9
|
+
docList?: AiopsBaseApi_UpsertWithDocIdRequestBody_docList_item[];
|
10
|
+
}
|
11
|
+
export interface AiopsBaseApi_UpsertWithDocIdResponseBody {
|
12
|
+
/** 解析的文档内容 */
|
13
|
+
docs?: Partial<ModelLlmDocument>[];
|
14
|
+
}
|
15
|
+
/**
|
16
|
+
* @description 根据DocId更新或者插入文档
|
17
|
+
* @endpoint POST /api/v1/llm/aiops_base/upsert_with_doc_id
|
18
|
+
*/
|
19
|
+
export declare const AiopsBaseApi_upsertWithDocId: (data: AiopsBaseApi_UpsertWithDocIdRequestBody, options?: HttpOptions) => Promise<AiopsBaseApi_UpsertWithDocIdResponseBody>;
|
20
|
+
export interface AiopsBaseApi_UpsertWithDocIdRequestBody_docList_item {
|
21
|
+
/** 内容 */
|
22
|
+
pageContent?: string;
|
23
|
+
/** metadata */
|
24
|
+
metadata?: Record<string, any>;
|
25
|
+
}
|
@@ -0,0 +1,9 @@
|
|
1
|
+
import { HttpOptions } from "@next-core/http";
|
2
|
+
import { ModelLlmMemoryEnv } from "../../../model/llm/index.js";
|
3
|
+
export type AiopsMemoryApi_CreateMemoryEnvRequestBody = Partial<ModelLlmMemoryEnv>;
|
4
|
+
export type AiopsMemoryApi_CreateMemoryEnvResponseBody = Partial<ModelLlmMemoryEnv>;
|
5
|
+
/**
|
6
|
+
* @description 创建大模型记忆的调试环境
|
7
|
+
* @endpoint POST /api/v1/llm/aiops_service/memory/env/create
|
8
|
+
*/
|
9
|
+
export declare const AiopsMemoryApi_createMemoryEnv: (data: AiopsMemoryApi_CreateMemoryEnvRequestBody, options?: HttpOptions) => Promise<AiopsMemoryApi_CreateMemoryEnvResponseBody>;
|
@@ -0,0 +1,6 @@
|
|
1
|
+
import { HttpOptions } from "@next-core/http";
|
2
|
+
/**
|
3
|
+
* @description 通过会话id删除大模型记忆
|
4
|
+
* @endpoint DELETE /api/v1/llm/aiops_service/memory/delete/:conversationId
|
5
|
+
*/
|
6
|
+
export declare const AiopsMemoryApi_deleteLlmMemoryWithConversationId: (conversationId: string | number, options?: HttpOptions) => Promise<void>;
|
@@ -0,0 +1,10 @@
|
|
1
|
+
import { HttpOptions } from "@next-core/http";
|
2
|
+
export interface AiopsMemoryApi_DeleteLlmMemoryWithConversationIdAndKeyRequestBody {
|
3
|
+
/** 记忆key */
|
4
|
+
memKey?: string;
|
5
|
+
}
|
6
|
+
/**
|
7
|
+
* @description 通过会话id和记忆key删除大模型记忆
|
8
|
+
* @endpoint POST /api/v1/llm/aiops_service/memory/delete/:conversationId/key
|
9
|
+
*/
|
10
|
+
export declare const AiopsMemoryApi_deleteLlmMemoryWithConversationIdAndKey: (conversationId: string | number, data: AiopsMemoryApi_DeleteLlmMemoryWithConversationIdAndKeyRequestBody, options?: HttpOptions) => Promise<void>;
|
@@ -0,0 +1,6 @@
|
|
1
|
+
import { HttpOptions } from "@next-core/http";
|
2
|
+
/**
|
3
|
+
* @description 删除大模型记忆的调试环境
|
4
|
+
* @endpoint DELETE /api/v1/llm/aiops_service/memory/env/:_row_id
|
5
|
+
*/
|
6
|
+
export declare const AiopsMemoryApi_deleteMemoryEnv: (_row_id: string | number, options?: HttpOptions) => Promise<void>;
|
@@ -0,0 +1,15 @@
|
|
1
|
+
import { HttpOptions } from "@next-core/http";
|
2
|
+
import { ModelLlmMemory } from "../../../model/llm/index.js";
|
3
|
+
export interface AiopsMemoryApi_GetLlmMemoryWithConversationIdRequestBody {
|
4
|
+
/** 会话id */
|
5
|
+
conversationId?: string;
|
6
|
+
}
|
7
|
+
export interface AiopsMemoryApi_GetLlmMemoryWithConversationIdResponseBody {
|
8
|
+
/** 大模型记忆 */
|
9
|
+
memories?: Partial<ModelLlmMemory>[];
|
10
|
+
}
|
11
|
+
/**
|
12
|
+
* @description 通过会话id获取大模型记忆
|
13
|
+
* @endpoint POST /api/v1/llm/aiops_service/memory/get_with_conversation
|
14
|
+
*/
|
15
|
+
export declare const AiopsMemoryApi_getLlmMemoryWithConversationId: (data: AiopsMemoryApi_GetLlmMemoryWithConversationIdRequestBody, options?: HttpOptions) => Promise<AiopsMemoryApi_GetLlmMemoryWithConversationIdResponseBody>;
|
@@ -0,0 +1,17 @@
|
|
1
|
+
import { HttpOptions } from "@next-core/http";
|
2
|
+
import { ModelLlmMemory } from "../../../model/llm/index.js";
|
3
|
+
export interface AiopsMemoryApi_GetLlmMemoryWithConversationIdAndKeyRequestBody {
|
4
|
+
/** 会话id */
|
5
|
+
conversationId?: string;
|
6
|
+
/** 记忆key */
|
7
|
+
memKey?: string;
|
8
|
+
}
|
9
|
+
export interface AiopsMemoryApi_GetLlmMemoryWithConversationIdAndKeyResponseBody {
|
10
|
+
/** 大模型记忆 */
|
11
|
+
memory?: Partial<ModelLlmMemory>;
|
12
|
+
}
|
13
|
+
/**
|
14
|
+
* @description 通过会话id和记忆key获取大模型记忆
|
15
|
+
* @endpoint POST /api/v1/llm/aiops_service/memory/get_with_conversation_and_key
|
16
|
+
*/
|
17
|
+
export declare const AiopsMemoryApi_getLlmMemoryWithConversationIdAndKey: (data: AiopsMemoryApi_GetLlmMemoryWithConversationIdAndKeyRequestBody, options?: HttpOptions) => Promise<AiopsMemoryApi_GetLlmMemoryWithConversationIdAndKeyResponseBody>;
|
@@ -0,0 +1,9 @@
|
|
1
|
+
export * from "./createMemoryEnv.js";
|
2
|
+
export * from "./deleteLlmMemoryWithConversationId.js";
|
3
|
+
export * from "./deleteLlmMemoryWithConversationIdAndKey.js";
|
4
|
+
export * from "./deleteMemoryEnv.js";
|
5
|
+
export * from "./getLlmMemoryWithConversationId.js";
|
6
|
+
export * from "./getLlmMemoryWithConversationIdAndKey.js";
|
7
|
+
export * from "./searchMemoryEnv.js";
|
8
|
+
export * from "./updateMemoryEnv.js";
|
9
|
+
export * from "./upsertLlmMemoryWithConversationIdAndKey.js";
|
@@ -0,0 +1,23 @@
|
|
1
|
+
import { HttpOptions } from "@next-core/http";
|
2
|
+
import { ModelLlmMemoryEnv } from "../../../model/llm/index.js";
|
3
|
+
export interface AiopsMemoryApi_SearchMemoryEnvRequestBody {
|
4
|
+
/** 返回限制的数量 */
|
5
|
+
limit?: number;
|
6
|
+
/** 上一页,或者下一页的token */
|
7
|
+
nextToken?: string;
|
8
|
+
/** 查询关键字,使用字符串模糊匹配 */
|
9
|
+
query?: string;
|
10
|
+
}
|
11
|
+
export interface AiopsMemoryApi_SearchMemoryEnvResponseBody {
|
12
|
+
/** 环境 列表 */
|
13
|
+
list?: Partial<ModelLlmMemoryEnv>[];
|
14
|
+
/** 本次调用返回的查询凭证(Token)。当该返回值为空时,表示该页为末页,不再有后续页。 */
|
15
|
+
nextToken?: string;
|
16
|
+
/** 上一页token */
|
17
|
+
previousToken?: string;
|
18
|
+
}
|
19
|
+
/**
|
20
|
+
* @description 查询大模型记忆的调试环境
|
21
|
+
* @endpoint POST /api/v1/llm/aiops_service/memory/env/search
|
22
|
+
*/
|
23
|
+
export declare const AiopsMemoryApi_searchMemoryEnv: (data: AiopsMemoryApi_SearchMemoryEnvRequestBody, options?: HttpOptions) => Promise<AiopsMemoryApi_SearchMemoryEnvResponseBody>;
|
@@ -0,0 +1,8 @@
|
|
1
|
+
import { HttpOptions } from "@next-core/http";
|
2
|
+
import { ModelLlmMemoryEnv } from "../../../model/llm/index.js";
|
3
|
+
export type AiopsMemoryApi_UpdateMemoryEnvRequestBody = Partial<ModelLlmMemoryEnv>;
|
4
|
+
/**
|
5
|
+
* @description 更新大模型记忆的调试环境
|
6
|
+
* @endpoint POST /api/v1/llm/aiops_service/memory/env/:_row_id/update
|
7
|
+
*/
|
8
|
+
export declare const AiopsMemoryApi_updateMemoryEnv: (_row_id: string | number, data: AiopsMemoryApi_UpdateMemoryEnvRequestBody, options?: HttpOptions) => Promise<void>;
|
@@ -0,0 +1,11 @@
|
|
1
|
+
import { HttpOptions } from "@next-core/http";
|
2
|
+
import { ModelLlmMemory } from "../../../model/llm/index.js";
|
3
|
+
export interface AiopsMemoryApi_UpsertLlmMemoryWithConversationIdAndKeyRequestBody {
|
4
|
+
/** 需要更新或插入的记忆 */
|
5
|
+
memories?: Partial<ModelLlmMemory>[];
|
6
|
+
}
|
7
|
+
/**
|
8
|
+
* @description 通过会话id和记忆key导入大模型记忆
|
9
|
+
* @endpoint POST /api/v1/llm/aiops_service/memory/upsert/:conversationId
|
10
|
+
*/
|
11
|
+
export declare const AiopsMemoryApi_upsertLlmMemoryWithConversationIdAndKey: (conversationId: string | number, data: AiopsMemoryApi_UpsertLlmMemoryWithConversationIdAndKeyRequestBody, options?: HttpOptions) => Promise<void>;
|
@@ -0,0 +1,20 @@
|
|
1
|
+
import { HttpOptions } from "@next-core/http";
|
2
|
+
export interface AiopsPromptApi_LlmDeletePromptRequestBody {
|
3
|
+
/** instanceId */
|
4
|
+
instanceId?: string;
|
5
|
+
/** agent的id */
|
6
|
+
agentId?: string;
|
7
|
+
/** 对应的key */
|
8
|
+
key?: string;
|
9
|
+
/** 对应模型的id */
|
10
|
+
modelId?: string;
|
11
|
+
}
|
12
|
+
export interface AiopsPromptApi_LlmDeletePromptResponseBody {
|
13
|
+
/** 删除的提示词的数量 */
|
14
|
+
nums?: number;
|
15
|
+
}
|
16
|
+
/**
|
17
|
+
* @description 删除提示词
|
18
|
+
* @endpoint POST /api/v1/llm/aiops_service/prompt/delete
|
19
|
+
*/
|
20
|
+
export declare const AiopsPromptApi_llmDeletePrompt: (data: AiopsPromptApi_LlmDeletePromptRequestBody, options?: HttpOptions) => Promise<AiopsPromptApi_LlmDeletePromptResponseBody>;
|
@@ -0,0 +1,18 @@
|
|
1
|
+
import { HttpOptions } from "@next-core/http";
|
2
|
+
export interface AiopsPromptApi_LlmGetPromptRequestBody {
|
3
|
+
/** agent的id */
|
4
|
+
agentId: string;
|
5
|
+
/** 对应的key */
|
6
|
+
key: string;
|
7
|
+
/** 对应模型的id */
|
8
|
+
modelId?: string;
|
9
|
+
}
|
10
|
+
export interface AiopsPromptApi_LlmGetPromptResponseBody {
|
11
|
+
/** 获取到的提示词 */
|
12
|
+
prompt?: string;
|
13
|
+
}
|
14
|
+
/**
|
15
|
+
* @description 获取提示词
|
16
|
+
* @endpoint POST /api/v1/llm/aiops_service/prompt/get
|
17
|
+
*/
|
18
|
+
export declare const AiopsPromptApi_llmGetPrompt: (data: AiopsPromptApi_LlmGetPromptRequestBody, options?: HttpOptions) => Promise<AiopsPromptApi_LlmGetPromptResponseBody>;
|
@@ -0,0 +1,22 @@
|
|
1
|
+
import { HttpOptions } from "@next-core/http";
|
2
|
+
export interface AiopsPromptApi_LlmUpsertPromptRequestBody {
|
3
|
+
/** agent的id */
|
4
|
+
agentId: string;
|
5
|
+
/** 对应的key */
|
6
|
+
key: string;
|
7
|
+
/** 对应模型的id */
|
8
|
+
modelId?: string;
|
9
|
+
/** 描述 */
|
10
|
+
description?: string;
|
11
|
+
/** 对应的提示词 */
|
12
|
+
prompt: string;
|
13
|
+
}
|
14
|
+
export interface AiopsPromptApi_LlmUpsertPromptResponseBody {
|
15
|
+
/** 插入或更新的实例的instanceId */
|
16
|
+
instanceId?: string;
|
17
|
+
}
|
18
|
+
/**
|
19
|
+
* @description 插入或更新提示词
|
20
|
+
* @endpoint POST /api/v1/llm/aiops_service/prompt/upsert
|
21
|
+
*/
|
22
|
+
export declare const AiopsPromptApi_llmUpsertPrompt: (data: AiopsPromptApi_LlmUpsertPromptRequestBody, options?: HttpOptions) => Promise<AiopsPromptApi_LlmUpsertPromptResponseBody>;
|
@@ -0,0 +1,20 @@
|
|
1
|
+
import { HttpOptions } from "@next-core/http";
|
2
|
+
export interface AiopsRagApi_AddSynonymsWordsRequestBody {
|
3
|
+
/** url */
|
4
|
+
url?: string;
|
5
|
+
/** 同义词列表 */
|
6
|
+
synonyms?: AiopsRagApi_AddSynonymsWordsRequestBody_synonyms_item[];
|
7
|
+
}
|
8
|
+
export interface AiopsRagApi_AddSynonymsWordsResponseBody {
|
9
|
+
/** 导入的同义词数量 */
|
10
|
+
words?: number;
|
11
|
+
}
|
12
|
+
/**
|
13
|
+
* @description 增加同义词
|
14
|
+
* @endpoint POST /api/v1/llm/aiops_rag/add_synonyms_words
|
15
|
+
*/
|
16
|
+
export declare const AiopsRagApi_addSynonymsWords: (data: AiopsRagApi_AddSynonymsWordsRequestBody, options?: HttpOptions) => Promise<AiopsRagApi_AddSynonymsWordsResponseBody>;
|
17
|
+
export interface AiopsRagApi_AddSynonymsWordsRequestBody_synonyms_item {
|
18
|
+
/** 同义词 */
|
19
|
+
words?: string[];
|
20
|
+
}
|
@@ -0,0 +1,37 @@
|
|
1
|
+
import { HttpOptions } from "@next-core/http";
|
2
|
+
import { ModelLlmDocument } from "../../../model/llm/index.js";
|
3
|
+
export interface AiopsRagApi_ImportConfluenceEmbeddingRequestBody {
|
4
|
+
/** 知识库id/namespace */
|
5
|
+
namespace?: string;
|
6
|
+
/** 文档的id,非instanceId */
|
7
|
+
docId?: string;
|
8
|
+
/** 是否append */
|
9
|
+
append?: boolean;
|
10
|
+
/** confluence配置信息 */
|
11
|
+
confluenceMeta?: AiopsRagApi_ImportConfluenceEmbeddingRequestBody_confluenceMeta;
|
12
|
+
}
|
13
|
+
export interface AiopsRagApi_ImportConfluenceEmbeddingResponseBody {
|
14
|
+
/** 解析的文档内容 */
|
15
|
+
docs?: Partial<ModelLlmDocument>[];
|
16
|
+
}
|
17
|
+
/**
|
18
|
+
* @description 导入Confluence向量
|
19
|
+
* @endpoint POST /api/v1/llm/aiops_rag/import_confluence
|
20
|
+
*/
|
21
|
+
export declare const AiopsRagApi_importConfluenceEmbedding: (data: AiopsRagApi_ImportConfluenceEmbeddingRequestBody, options?: HttpOptions) => Promise<AiopsRagApi_ImportConfluenceEmbeddingResponseBody>;
|
22
|
+
export interface AiopsRagApi_ImportConfluenceEmbeddingRequestBody_confluenceMeta {
|
23
|
+
/** confluence终端,如:http://tapd.easyops.local */
|
24
|
+
url?: string;
|
25
|
+
/** 认证token */
|
26
|
+
token?: string;
|
27
|
+
/** username */
|
28
|
+
username?: string;
|
29
|
+
/** api_key/password */
|
30
|
+
apiKey?: string;
|
31
|
+
/** confluence space key */
|
32
|
+
spaceKey?: string;
|
33
|
+
/** 最大page条目 */
|
34
|
+
maxPages?: number;
|
35
|
+
/** 是否包含附件 */
|
36
|
+
includeAttachments?: boolean;
|
37
|
+
}
|
@@ -0,0 +1,27 @@
|
|
1
|
+
import { HttpOptions } from "@next-core/http";
|
2
|
+
import { ModelLlmDocument } from "../../../model/llm/index.js";
|
3
|
+
export interface AiopsRagApi_ImportUrlEmbeddingRequestBody {
|
4
|
+
/** 知识库id,同search中的命名空间 */
|
5
|
+
namespace?: string;
|
6
|
+
/** 文档id */
|
7
|
+
docId?: string;
|
8
|
+
/** 文档链接 */
|
9
|
+
url?: string;
|
10
|
+
/** 优先使用openapiUrl,上面的url目前不生效 */
|
11
|
+
openapiUrl?: string;
|
12
|
+
/** 文档类型,为file或者url */
|
13
|
+
docType?: string;
|
14
|
+
/** 是否为append */
|
15
|
+
append?: boolean;
|
16
|
+
/** 文档内容类型,QA:问答对,document:普通文档 */
|
17
|
+
contentType?: string;
|
18
|
+
}
|
19
|
+
export interface AiopsRagApi_ImportUrlEmbeddingResponseBody {
|
20
|
+
/** 解析的文档内容 */
|
21
|
+
docs?: Partial<ModelLlmDocument>[];
|
22
|
+
}
|
23
|
+
/**
|
24
|
+
* @description 向向量数据库中导入知识库文档
|
25
|
+
* @endpoint POST /api/v1/llm/aiops_rag/import_url
|
26
|
+
*/
|
27
|
+
export declare const AiopsRagApi_importUrlEmbedding: (data: AiopsRagApi_ImportUrlEmbeddingRequestBody, options?: HttpOptions) => Promise<AiopsRagApi_ImportUrlEmbeddingResponseBody>;
|
@@ -0,0 +1,14 @@
|
|
1
|
+
import { HttpOptions } from "@next-core/http";
|
2
|
+
export interface AiopsRagApi_UpsertKnowledgeDocumentRequestBody {
|
3
|
+
/** knowledge instanceId */
|
4
|
+
instanceId?: string;
|
5
|
+
}
|
6
|
+
export interface AiopsRagApi_UpsertKnowledgeDocumentResponseBody {
|
7
|
+
/** 插入或更新的文档数量 */
|
8
|
+
docs?: number;
|
9
|
+
}
|
10
|
+
/**
|
11
|
+
* @description 根据knowledge instanceId导入数据到向量库
|
12
|
+
* @endpoint POST /api/v1/llm/aiops_rag/upsert_knowledge_document
|
13
|
+
*/
|
14
|
+
export declare const AiopsRagApi_upsertKnowledgeDocument: (data: AiopsRagApi_UpsertKnowledgeDocumentRequestBody, options?: HttpOptions) => Promise<AiopsRagApi_UpsertKnowledgeDocumentResponseBody>;
|
@@ -0,0 +1,10 @@
|
|
1
|
+
import { HttpOptions } from "@next-core/http";
|
2
|
+
export interface AiopsServiceApi_ExportAgentsRequestBody {
|
3
|
+
/** 需要导出的agent id */
|
4
|
+
agents: string[];
|
5
|
+
}
|
6
|
+
/**
|
7
|
+
* @description 导出agent
|
8
|
+
* @endpoint POST /api/v1/llm/aiops_service/agents/export
|
9
|
+
*/
|
10
|
+
export declare const AiopsServiceApi_exportAgents: (data: AiopsServiceApi_ExportAgentsRequestBody, options?: HttpOptions) => Promise<Blob>;
|
@@ -0,0 +1,22 @@
|
|
1
|
+
import { HttpOptions } from "@next-core/http";
|
2
|
+
export interface AiopsServiceApi_ExportConversationRequestBody {
|
3
|
+
/** 开始时间 */
|
4
|
+
start_time: number;
|
5
|
+
/** 结束时间 */
|
6
|
+
end_time: number;
|
7
|
+
/** 指定智能体 */
|
8
|
+
agent_id?: string;
|
9
|
+
/** 指定助手 */
|
10
|
+
robot_id?: string;
|
11
|
+
/** is_like */
|
12
|
+
is_like?: boolean;
|
13
|
+
/** is_solve */
|
14
|
+
is_solve?: boolean;
|
15
|
+
/** 按用户搜索 */
|
16
|
+
user_name?: string;
|
17
|
+
}
|
18
|
+
/**
|
19
|
+
* @description 导出会话历史
|
20
|
+
* @endpoint POST /api/v1/llm/aiops_service/conversation/export
|
21
|
+
*/
|
22
|
+
export declare const AiopsServiceApi_exportConversation: (data: AiopsServiceApi_ExportConversationRequestBody, options?: HttpOptions) => Promise<Blob>;
|
@@ -0,0 +1,10 @@
|
|
1
|
+
import { HttpOptions } from "@next-core/http";
|
2
|
+
export interface AiopsServiceApi_ExportRobotsRequestBody {
|
3
|
+
/** 需要导出的robot id */
|
4
|
+
robots: string[];
|
5
|
+
}
|
6
|
+
/**
|
7
|
+
* @description 导出robots
|
8
|
+
* @endpoint POST /api/v1/llm/aiops_service/robots/export
|
9
|
+
*/
|
10
|
+
export declare const AiopsServiceApi_exportRobots: (data: AiopsServiceApi_ExportRobotsRequestBody, options?: HttpOptions) => Promise<Blob>;
|
@@ -0,0 +1,10 @@
|
|
1
|
+
import { HttpOptions } from "@next-core/http";
|
2
|
+
export interface AiopsServiceApi_ExportToolsRequestBody {
|
3
|
+
/** 需要导出的tool id */
|
4
|
+
tools: string[];
|
5
|
+
}
|
6
|
+
/**
|
7
|
+
* @description 导出工具
|
8
|
+
* @endpoint POST /api/v1/llm/aiops_service/tools/export
|
9
|
+
*/
|
10
|
+
export declare const AiopsServiceApi_exportTools: (data: AiopsServiceApi_ExportToolsRequestBody, options?: HttpOptions) => Promise<Blob>;
|
@@ -0,0 +1,16 @@
|
|
1
|
+
import { HttpOptions } from "@next-core/http";
|
2
|
+
export interface AiopsServiceApi_ImportAgentsRequestBody {
|
3
|
+
/** 需要导入的文件 */
|
4
|
+
agents: File;
|
5
|
+
/** 是否覆盖原来的 */
|
6
|
+
update?: boolean;
|
7
|
+
}
|
8
|
+
export interface AiopsServiceApi_ImportAgentsResponseBody {
|
9
|
+
/** 导入成功的agent数量 */
|
10
|
+
agents?: number;
|
11
|
+
}
|
12
|
+
/**
|
13
|
+
* @description 导入agent
|
14
|
+
* @endpoint POST /api/v1/llm/aiops_service/agents/import
|
15
|
+
*/
|
16
|
+
export declare const AiopsServiceApi_importAgents: (data: AiopsServiceApi_ImportAgentsRequestBody, options?: HttpOptions) => Promise<AiopsServiceApi_ImportAgentsResponseBody>;
|
@@ -0,0 +1,37 @@
|
|
1
|
+
import { HttpOptions } from "@next-core/http";
|
2
|
+
import { ModelLlmDocument } from "../../../model/llm/index.js";
|
3
|
+
export interface AiopsServiceApi_ImportConfluenceEmbeddingRequestBody {
|
4
|
+
/** 知识库id/namespace */
|
5
|
+
namespace?: string;
|
6
|
+
/** 文档的id,非instanceId */
|
7
|
+
doc_id?: string;
|
8
|
+
/** 是否append */
|
9
|
+
append?: boolean;
|
10
|
+
/** confluence配置信息 */
|
11
|
+
confluence_meta?: AiopsServiceApi_ImportConfluenceEmbeddingRequestBody_confluence_meta;
|
12
|
+
}
|
13
|
+
export interface AiopsServiceApi_ImportConfluenceEmbeddingResponseBody {
|
14
|
+
/** 解析的文档内容 */
|
15
|
+
docs?: Partial<ModelLlmDocument>[];
|
16
|
+
}
|
17
|
+
/**
|
18
|
+
* @description 导入Confluence向量
|
19
|
+
* @endpoint POST /api/v1/llm/aiops_service/import_confluence
|
20
|
+
*/
|
21
|
+
export declare const AiopsServiceApi_importConfluenceEmbedding: (data: AiopsServiceApi_ImportConfluenceEmbeddingRequestBody, options?: HttpOptions) => Promise<AiopsServiceApi_ImportConfluenceEmbeddingResponseBody>;
|
22
|
+
export interface AiopsServiceApi_ImportConfluenceEmbeddingRequestBody_confluence_meta {
|
23
|
+
/** confluence终端,如:http://tapd.easyops.local */
|
24
|
+
url?: string;
|
25
|
+
/** 认证token */
|
26
|
+
token?: string;
|
27
|
+
/** username */
|
28
|
+
username?: string;
|
29
|
+
/** api_key/password */
|
30
|
+
api_key?: string;
|
31
|
+
/** confluence space key */
|
32
|
+
space_key?: string;
|
33
|
+
/** 最大page条目 */
|
34
|
+
max_pages?: number;
|
35
|
+
/** 是否包含附件 */
|
36
|
+
include_attachments?: boolean;
|
37
|
+
}
|
@@ -0,0 +1,27 @@
|
|
1
|
+
import { HttpOptions } from "@next-core/http";
|
2
|
+
import { ModelLlmDocument } from "../../../model/llm/index.js";
|
3
|
+
export interface AiopsServiceApi_ImportDocumentEmbeddingRequestBody {
|
4
|
+
/** 导入的namespace */
|
5
|
+
namespace?: string;
|
6
|
+
/** doc id */
|
7
|
+
doc_id?: string;
|
8
|
+
/** 导入的document */
|
9
|
+
docList?: AiopsServiceApi_ImportDocumentEmbeddingRequestBody_docList_item[];
|
10
|
+
/** 是否append */
|
11
|
+
append?: boolean;
|
12
|
+
}
|
13
|
+
export interface AiopsServiceApi_ImportDocumentEmbeddingResponseBody {
|
14
|
+
/** 解析的文档内容 */
|
15
|
+
docs?: Partial<ModelLlmDocument>[];
|
16
|
+
}
|
17
|
+
/**
|
18
|
+
* @description 导入document
|
19
|
+
* @endpoint POST /api/v1/llm/aiops_service/import_doc
|
20
|
+
*/
|
21
|
+
export declare const AiopsServiceApi_importDocumentEmbedding: (data: AiopsServiceApi_ImportDocumentEmbeddingRequestBody, options?: HttpOptions) => Promise<AiopsServiceApi_ImportDocumentEmbeddingResponseBody>;
|
22
|
+
export interface AiopsServiceApi_ImportDocumentEmbeddingRequestBody_docList_item {
|
23
|
+
/** 内容 */
|
24
|
+
page_content?: string;
|
25
|
+
/** metadata */
|
26
|
+
metadata?: Record<string, any>;
|
27
|
+
}
|
@@ -0,0 +1,16 @@
|
|
1
|
+
import { HttpOptions } from "@next-core/http";
|
2
|
+
export interface AiopsServiceApi_ImportRobotsRequestBody {
|
3
|
+
/** 需要导入的文件 */
|
4
|
+
robots: File;
|
5
|
+
/** 是否覆盖原来的 */
|
6
|
+
update?: boolean;
|
7
|
+
}
|
8
|
+
export interface AiopsServiceApi_ImportRobotsResponseBody {
|
9
|
+
/** 导入成功的robot数量 */
|
10
|
+
robots?: number;
|
11
|
+
}
|
12
|
+
/**
|
13
|
+
* @description 导入robots
|
14
|
+
* @endpoint POST /api/v1/llm/aiops_service/robots/import
|
15
|
+
*/
|
16
|
+
export declare const AiopsServiceApi_importRobots: (data: AiopsServiceApi_ImportRobotsRequestBody, options?: HttpOptions) => Promise<AiopsServiceApi_ImportRobotsResponseBody>;
|
@@ -0,0 +1,16 @@
|
|
1
|
+
import { HttpOptions } from "@next-core/http";
|
2
|
+
export interface AiopsServiceApi_ImportToolsRequestBody {
|
3
|
+
/** 需要导入的文件 */
|
4
|
+
tools: File;
|
5
|
+
/** 是否覆盖原来的 */
|
6
|
+
update?: boolean;
|
7
|
+
}
|
8
|
+
export interface AiopsServiceApi_ImportToolsResponseBody {
|
9
|
+
/** 导入成功的agent数量 */
|
10
|
+
tools?: number;
|
11
|
+
}
|
12
|
+
/**
|
13
|
+
* @description 导入tools
|
14
|
+
* @endpoint POST /api/v1/llm/aiops_service/tools/import
|
15
|
+
*/
|
16
|
+
export declare const AiopsServiceApi_importTools: (data: AiopsServiceApi_ImportToolsRequestBody, options?: HttpOptions) => Promise<AiopsServiceApi_ImportToolsResponseBody>;
|
@@ -0,0 +1,19 @@
|
|
1
|
+
export * from "./llmEmbeddingDeleteDocs.js";
|
2
|
+
export * from "./llmEmbeddingImportUrl.js";
|
3
|
+
export * from "./llmEmbeddingSearch.js";
|
4
|
+
export * from "./llmExecTools.js";
|
5
|
+
export * from "./exportAgents.js";
|
6
|
+
export * from "./exportConversation.js";
|
7
|
+
export * from "./exportRobots.js";
|
8
|
+
export * from "./exportTools.js";
|
9
|
+
export * from "./importAgents.js";
|
10
|
+
export * from "./importConfluenceEmbedding.js";
|
11
|
+
export * from "./importDocumentEmbedding.js";
|
12
|
+
export * from "./importRobots.js";
|
13
|
+
export * from "./importTools.js";
|
14
|
+
export * from "./llmAgentChat.js";
|
15
|
+
export * from "./llmChatSelectAgent.js";
|
16
|
+
export * from "./llmChatService.js";
|
17
|
+
export * from "./llmCreateConversation.js";
|
18
|
+
export * from "./llmRobotChat.js";
|
19
|
+
export * from "./llmStreamChatService.js";
|