UNPKG

dots-wrapper

Version:

Digital Ocean v2 api wrapper - javascript - typescript - nodejs

8 lines (7 loc) 480 B
import { IContext, IResponse } from '../../types'; import { IGenAiKnowledgeBase, IGenAiKnowledgeBaseCreateRequest } from '..'; export interface ICreateKnowledgeBaseApiResponse { knowledge_base: IGenAiKnowledgeBase; } export type CreateKnowledgeBaseResponse = IResponse<ICreateKnowledgeBaseApiResponse>; export declare const createKnowledgeBase: ({ httpClient }: IContext) => (knowledgeBase: IGenAiKnowledgeBaseCreateRequest) => Promise<Readonly<CreateKnowledgeBaseResponse>>;