aquanet-bot-lib
Version:
A library for building aquaculture chatbots with LLM integration
12 lines (11 loc) • 419 B
TypeScript
import { Message, ChatResponse, AquanetBotOptions } from '../types';
export declare class AquanetBot {
private config;
private client;
private defaultSystemPrompt;
constructor(options: AquanetBotOptions);
private buildSystemPrompt;
private processStreamResponse;
chat(messages: Message[], systemPrompt?: string): Promise<ChatResponse | string>;
query(prompt: string): Promise<string>;
}