@apaas-ai/server-sdk-node
Advanced tools
Comparing version 0.1.0-beta.3 to 0.1.0-beta.5
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.addTest = void 0; | ||
exports.addTest = addTest; | ||
const vitest_1 = require("vitest"); | ||
@@ -10,3 +10,2 @@ // 下面这是默认生成的测试代码,为了方便你开始使用,可以自行删除 | ||
} | ||
exports.addTest = addTest; | ||
(0, vitest_1.describe)('Default Test Case', () => { | ||
@@ -13,0 +12,0 @@ (0, vitest_1.it)('add', () => { |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.updateMessage = exports.sendMessage = void 0; | ||
exports.sendMessage = sendMessage; | ||
exports.updateMessage = updateMessage; | ||
const code_sdk_core_1 = require("@apaas-ai/code-sdk-core"); | ||
@@ -38,3 +39,2 @@ const uuid_1 = require("uuid"); | ||
} | ||
exports.sendMessage = sendMessage; | ||
function updateMessage(messageId, content) { | ||
@@ -45,3 +45,2 @@ // 实际的消息更新逻辑... | ||
} | ||
exports.updateMessage = updateMessage; | ||
//# sourceMappingURL=conversation.js.map |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.executeSql = exports.executeOql = void 0; | ||
exports.executeOql = executeOql; | ||
exports.executeSql = executeSql; | ||
const code_sdk_core_1 = require("@apaas-ai/code-sdk-core"); | ||
@@ -19,3 +20,2 @@ const OQL_API_NAME = 'action:brn:cn:spring:all:all:connector_action_runtime:/spring_sdk_oql_exec'; | ||
} | ||
exports.executeOql = executeOql; | ||
async function executeSql({ sql }) { | ||
@@ -30,3 +30,2 @@ const response = (await (0, code_sdk_core_1.callAction)(SQL_API_NAME, { query: sql })); | ||
} | ||
exports.executeSql = executeSql; | ||
//# sourceMappingURL=data.js.map |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.getUserAccessToken = exports.getTenantAccessToken = void 0; | ||
exports.getTenantAccessToken = getTenantAccessToken; | ||
exports.getUserAccessToken = getUserAccessToken; | ||
function getTenantAccessToken(tenantId, appId, appSecret) { | ||
@@ -15,3 +16,2 @@ /** | ||
} | ||
exports.getTenantAccessToken = getTenantAccessToken; | ||
function getUserAccessToken() { | ||
@@ -25,3 +25,2 @@ /** | ||
} | ||
exports.getUserAccessToken = getUserAccessToken; | ||
//# sourceMappingURL=feishu.js.map |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.retrieve = void 0; | ||
exports.retrieve = retrieve; | ||
const code_sdk_core_1 = require("@apaas-ai/code-sdk-core"); | ||
@@ -52,3 +52,2 @@ const KNOWLEDGE_API_NAME = 'action:brn:cn:spring:all:all:connector_action_runtime:/spring_sdk_wiki_recall'; | ||
} | ||
exports.retrieve = retrieve; | ||
//# sourceMappingURL=knowledge.js.map |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.chatCompletion = void 0; | ||
exports.chatCompletion = chatCompletion; | ||
const code_sdk_core_1 = require("@apaas-ai/code-sdk-core"); | ||
@@ -66,3 +66,2 @@ // import { ChatCompletionMessageParam, ChatCompletionToolParam, ChatCompletionToolChoiceOptionParam } from 'openai/types/chat'; | ||
} | ||
exports.chatCompletion = chatCompletion; | ||
//# sourceMappingURL=llm.js.map |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.addTest = void 0; | ||
exports.addTest = addTest; | ||
const vitest_1 = require("vitest"); | ||
@@ -10,3 +10,2 @@ // 下面这是默认生成的测试代码,为了方便你开始使用,可以自行删除 | ||
} | ||
exports.addTest = addTest; | ||
(0, vitest_1.describe)('Default Test Case', () => { | ||
@@ -13,0 +12,0 @@ (0, vitest_1.it)('add', () => { |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.invoke = void 0; | ||
exports.invoke = invoke; | ||
function invoke(skillId, params) { | ||
@@ -15,3 +15,2 @@ /** | ||
} | ||
exports.invoke = invoke; | ||
//# sourceMappingURL=skill.js.map |
{ | ||
"name": "@apaas-ai/server-sdk-node", | ||
"version": "0.1.0-beta.3", | ||
"version": "0.1.0-beta.5", | ||
"description": "Aily Server SDK", | ||
@@ -17,3 +17,3 @@ "license": "ISC", | ||
"uuid": "^9.0.0", | ||
"@apaas-ai/code-sdk-core": "0.1.0-beta.7" | ||
"@apaas-ai/code-sdk-core": "0.1.0-beta.9" | ||
}, | ||
@@ -20,0 +20,0 @@ "devDependencies": { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
43283
629
+ Added@apaas-ai/code-sdk-core@0.1.0-beta.9(transitive)
- Removed@apaas-ai/code-sdk-core@0.1.0-beta.7(transitive)