AiChat is a versatile chat interface that allows you to interact with various AI models. This documentation will guide you through all the features and functionality available in the interface.
- Provider Select: Choose your AI provider from the dropdown menu on the left
- Model Select: Select the specific model you want to use from the available options for the chosen provider
Located on the right side of the top bar:
- Theme Select: Choose from various color themes like marine-pro, slate-frost, etc.
- Dark/Light Mode Toggle: Switch between dark and light interface modes
- API Key Button: Set up your API key for the selected provider
- Download Button: Download your chat history
- Reset Button: Clear the current conversation
- Messages are displayed in a scrollable area
- User messages appear with a different style than AI responses
- Code blocks include a copy button for easy copying
- Top Arrow: Scroll to the beginning of the conversation
- Previous Message: Jump to the previous AI response
- Next Message: Jump to the next AI response
- Bottom Arrow: Scroll to the end of the conversation
- Text Area: Type your message here
- The input area automatically expands as you type
- Press Enter to send (Shift+Enter for new line)
- Upload Button: Click the paperclip icon or drag files to attach
- File Preview: Shows thumbnails of attached files
- Click on previewed files to remove them
- Session Info: Shows token usage information
- Send Button: Send your message (or press Enter)
- Abort Button: Cancel the current response (appears during AI response)
- History: Conversations are saved automatically
- Reset: Use the reset button to start a new conversation
- Download: Save your conversation history locally
- Syntax highlighting for code blocks
- Copy button for easy code copying
- Supports multiple programming languages
- Upload multiple files simultaneously
- Preview attached files before sending
- Remove individual files from the upload queue
- Multiple pre-designed themes available
- Dark/light mode toggle
- Consistent styling across all elements
- API Keys: Keep your API keys secure and never share them
- File Uploads: Check file previews before sending to ensure correct selection
- Long Messages: Use Shift+Enter for multi-line input
- Navigation: Use scroll buttons for quick navigation in long conversations
- Code: Use the copy button to avoid manual selection of code blocks
- The interface is fully responsive for mobile devices
- Touch-friendly buttons and controls
-
If responses stop:
- Type
continue
to resume - Check your internet connection
- Verify API key is correct
- Try resetting the conversation
- Type
-
If file upload fails:
- Check file size limits
- Ensure file type is supported
- Try uploading files individually
-
If streaming isn't working:
- Check if streaming is toggled on
- Type
continue
to resume - Verify browser compatibility
- Check internet stability
- Enter: Send message
- Shift+Enter: New line in message
- Esc: Cancel current response (when available)
To use AiChat, you'll need an API key from your chosen provider. Here's where to get them:
-
Anthropic (Claude) https://console.anthropic.com/settings/keys
-
OpenAI (ChatGPT) https://platform.openai.com/api-keys
-
Google (Gemini) https://makersuite.google.com/app/apikey
-
XAI (Grok) https://grok.x.ai/
- Keep your API keys secure and never share them
- Most providers offer both free and paid tiers
- Some providers may require payment information even for free tiers
- API keys can be regenerated if compromised
- Usage limits and pricing vary by provider
- API keys are stored locally in your browser
- No data is permanently stored on servers