UNPKG

whatsapp-claude-gpt

Version:

WhatsApp-Claude-GPT is an advanced chatbot for WhatsApp, integrating AI language models for text conversations, image generation, and voice messages.

35 lines (30 loc) 668 B
export interface AiMessage { role: AIRole; content: Array<AIContent>; name?: string; } export enum AIRole { USER='user', ASSISTANT='assistant', SYSTEM='system', } export interface AIContent { value?: string; type: 'text' | 'image' | 'audio'; media_type?: 'image/jpeg' | 'image/png' | 'image/gif' | 'image/webp' | string; } export enum AIProvider { OPENAI='OPENAI', CLAUDE='CLAUDE', QWEN='QWEN', DEEPSEEK='DEEPSEEK', DEEPINFRA='DEEPINFRA', ELEVENLABS='ELEVENLABS', CUSTOM='CUSTOM' } export interface AIAnswer { message: string; type: 'text' | 'audio'; author: string; emojiReact?: string; }