dots-wrapper
Version:
Digital Ocean v2 api wrapper - javascript - typescript - nodejs
12 lines (11 loc) • 550 B
TypeScript
import { IContext, IResponse } from '../../types';
import { IGenAiAgent } from '..';
export interface IAttachKnowledgeBaseApiResponse {
agent: IGenAiAgent;
}
export interface IAttachKnowledgeBaseApiRequest {
agent_uuid: string;
knowledge_base_uuid: string;
}
export type AttachKnowledgeBaseResponse = IResponse<IAttachKnowledgeBaseApiResponse>;
export declare const attachKnowledgeBase: ({ httpClient }: IContext) => ({ agent_uuid, knowledge_base_uuid }: IAttachKnowledgeBaseApiRequest) => Promise<Readonly<AttachKnowledgeBaseResponse>>;