@botonic/plugin-knowledge-bases
Version:
Botonic plugin for **knowledge base** features (retrieval, grounding, etc.) on the **current** framework line.
10 lines (9 loc) • 571 B
TypeScript
import type { BotonicContext, Plugin } from '@botonic/core';
import { KnowledgeBaseResponse, PluginKnowledgeBaseOptions } from './types';
export declare class BotonicPluginKnowledgeBases implements Plugin {
private readonly apiService;
constructor(options: PluginKnowledgeBaseOptions);
pre(_botonicContext: BotonicContext): Promise<void>;
getInference(botonicContext: BotonicContext, sources: string[], instructions: string, messageId: string, memoryLength: number): Promise<KnowledgeBaseResponse>;
}
export { PluginKnowledgeBaseOptions } from './types';