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
16 lines (13 loc) • 862 B
TypeScript
import { mistral } from '@ai-sdk/mistral';
import { LooseToStrict, ModelInfo, RawiCredentials, StreamingResponse } from '../shared/types.js';
type LooseMistralModelId = Parameters<typeof mistral>[0];
type MistralModelId = LooseToStrict<LooseMistralModelId>;
declare const mistralModelIds: readonly ["ministral-3b-latest", "ministral-8b-latest", "mistral-large-latest", "mistral-small-latest", "pixtral-large-latest", "pixtral-12b-2409", "open-mistral-7b", "open-mixtral-8x7b", "open-mixtral-8x22b"];
declare const mistralModels: ModelInfo[];
declare const mistralProvider: {
name: "mistral";
displayName: string;
models: ModelInfo[];
};
declare const streamWithMistral: (credentials: RawiCredentials, prompt: string) => Promise<StreamingResponse>;
export { type MistralModelId, mistralModelIds, mistralModels, mistralProvider, streamWithMistral };