componentFactory
: Defines reusable components for rendering AI responseslocalMessagesStore
: Stores predefined responses for common queriesanthropicApi
,mistralApi
,openaiApi
: Wrappers for AI provider APIssystemPrompt
: Defines the AI system prompt and response parsing logic
- Clone the repository
- Install dependencies:
npm install
orbun install
- Set up environment variables:
DEFAULT_AI_PROVIDER
: Default AI provider to use (anthropic, mistral, or openai)<PROVIDER>_API_KEY
: API key for the chosen provider<PROVIDER>_MODEL
: Model to use for the chosen provider (optional)
- Development mode:
npm run dev
orbun run dev
- Production build:
npm run build
orbun run build
- Preview production build:
npm run preview
orbun run preview
Contributions are welcome! Please feel free to submit a Pull Request.