UNPKG

@just-every/ensemble

Version:

LLM provider abstraction layer with unified streaming interface

14 lines 772 B
import { LiveConfig, LiveOptions, LiveEvent, AgentDefinition } from '../types/types.js'; export declare function ensembleLive(config: LiveConfig, agent: AgentDefinition, options?: LiveOptions): AsyncGenerator<LiveEvent>; export declare function ensembleLiveAudio(audioSource: AsyncIterable<Uint8Array>, agent: AgentDefinition, options?: LiveOptions & { voice?: string; language?: string; enableAffectiveDialog?: boolean; enableProactivity?: boolean; }): AsyncGenerator<LiveEvent>; export declare function ensembleLiveText(agent: AgentDefinition, options?: LiveOptions): Promise<{ sendMessage: (text: string) => Promise<void>; getEvents: () => AsyncIterable<LiveEvent>; close: () => Promise<void>; }>; //# sourceMappingURL=ensemble_live.d.ts.map