dots-wrapper
Version:
Digital Ocean v2 api wrapper - javascript - typescript - nodejs
18 lines (17 loc) • 601 B
TypeScript
import { IResponse, IContext } from '../../types';
import { IGenAiAgent } from '..';
export interface ICreateAgentApiResponse {
agent: IGenAiAgent;
}
export interface ICreateAgentApiRequest {
name: string;
model_uuid: string;
instruction: string;
project_id: string;
region: string;
description?: string;
tags?: string[];
knowledge_base_uuids?: string[];
}
export type CreateAgentResponse = IResponse<ICreateAgentApiResponse>;
export declare const createAgent: ({ httpClient }: IContext) => (data: ICreateAgentApiRequest) => Promise<Readonly<CreateAgentResponse>>;