rawi
Version:
Rawi (راوي) is the developer-friendly AI CLI that brings the power of 12 major AI providers directly to your terminal. With seamless shell integration, persistent conversations, and 200+ specialized prompt templates, Rawi transforms your command line into
12 lines (9 loc) • 485 B
TypeScript
import { RawiCredentials, StreamingResponse } from '../shared/types.js';
declare const streamResponse: (credentials: RawiCredentials, prompt: string) => Promise<StreamingResponse>;
declare const processQuery: (credentials: RawiCredentials, prompt: string, options?: {
streaming?: boolean;
onChunk?: (chunk: string) => void;
onComplete?: (fullResponse: string) => void;
onError?: (error: Error) => void;
}) => Promise<string>;
export { processQuery, streamResponse };