UNPKG

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) 576 B
import { azure } from '@ai-sdk/azure'; import { LooseToStrict, ModelInfo, RawiCredentials, StreamingResponse } from '../shared/types.cjs'; type LooseAzureModelId = Parameters<typeof azure>[0]; type AzureModelId = LooseToStrict<LooseAzureModelId>; declare const azureModels: ModelInfo[]; declare const azureProvider: { name: "azure"; displayName: string; models: ModelInfo[]; }; declare const streamWithAzure: (credentials: RawiCredentials, prompt: string) => Promise<StreamingResponse>; export { type AzureModelId, azureModels, azureProvider, streamWithAzure };