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
15 lines (12 loc) • 633 B
TypeScript
import { ollama } from '@ai-sdk-community/ollama';
import { LooseToStrict, ModelInfo, RawiCredentials, StreamingResponse } from '../shared/types.js';
type LooseOllamaModelId = Parameters<typeof ollama>[0];
type OllamaModelId = LooseToStrict<LooseOllamaModelId>;
declare const ollamaModels: ModelInfo[];
declare const ollamaProvider: {
readonly name: "ollama";
readonly displayName: "🟢 Ollama";
readonly models: ModelInfo[];
};
declare const streamWithOllama: (credentials: RawiCredentials, prompt: string) => Promise<StreamingResponse>;
export { type OllamaModelId, ollamaModels, ollamaProvider, streamWithOllama };