dots-wrapper
Version:
Digital Ocean v2 api wrapper - javascript - typescript - nodejs
9 lines • 429 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.attachKnowledgeBase = void 0;
const attachKnowledgeBase = ({ httpClient }) => ({ agent_uuid, knowledge_base_uuid }) => {
const url = `/gen-ai/agents/${agent_uuid}/knowledge_bases/${knowledge_base_uuid}`;
return httpClient.post(url);
};
exports.attachKnowledgeBase = attachKnowledgeBase;
//# sourceMappingURL=attach-knowledge-base.js.map