UNPKG

aquanet-bot-lib

Version:

A library for building aquaculture chatbots with LLM integration

13 lines (12 loc) 413 B
import type { Config, Message } from '../types'; interface UseAquanetBotOptions { config: Config; } interface UseAquanetBotReturn { loading: boolean; error: Error | null; chat: (messages: Message[], systemPrompt?: string) => Promise<string>; query: (prompt: string) => Promise<string>; } export declare function useAquanetBot({ config }: UseAquanetBotOptions): UseAquanetBotReturn; export {};