Using AI Chat¶
Master the AI chat feature and start earning while you learn, code, and create!
🎯 What is AI Chat?¶
Kawai's AI Chat gives you access to powerful language models that can help you with:
- 💻 Code: Write, debug, and explain code
- ✍️ Writing: Create content, emails, documents
- 🎓 Learning: Explain concepts, answer questions
- 🔍 Research: Summarize information, analyze data
- 🎨 Creative: Brainstorm ideas, write stories
Best part? You earn 5% cashback on every request!
🚀 Getting Started¶
Opening the Chat¶
- Launch Kawai Desktop App
- Main interface = Chat (default view)
- Click "New Chat" to start fresh
Your First Message¶
- Type your question or request
- Press Enter or click Send
- Wait for AI response (usually 2-10 seconds)
- Continue the conversation!
Example:
💬 Chat Features¶
Multi-Turn Conversations¶
The AI remembers your conversation context.
Example:
You: Write a function to calculate Fibonacci numbers
AI: [provides Python code]
You: Can you make it more efficient?
AI: [provides optimized version with memoization]
You: Now convert it to JavaScript
AI: [provides JS version]
Tip: Each conversation has full context - no need to repeat yourself!
Code Highlighting¶
Code in responses is automatically highlighted with syntax.
Supported languages:
- Python, JavaScript, TypeScript
- Go, Rust, C++, Java
- HTML, CSS, SQL
- And 50+ more!
Markdown Support¶
AI responses support full Markdown formatting:
- Bold and italic text
- Lists (bullet and numbered)
- Tables
- Inline
codeand code blocks - Links and images
- Headers and sections
Copy & Export¶
- Copy code: Click the copy icon on code blocks
- Copy message: Right-click any message
- Export chat: Save conversations to file (coming soon)
🎨 Chat Management¶
Creating New Chats¶
Click "New Chat" to start a fresh conversation.
When to start new:
- Different topic/project
- Conversation getting too long
- Want fresh context
Chat History¶
All your chats are saved automatically.
Accessing history:
1. Click the history icon (sidebar)
2. Browse your past conversations
3. Click any chat to continue
Features:
- ✅ Auto-saved (no manual save needed)
- ✅ Searchable (find old conversations)
- ✅ Organized by date
- ✅ Unlimited storage
Renaming Chats¶
- Click the pencil icon next to chat title
- Enter new name
- Press Enter
Tip: Use descriptive names like "Marketing Campaign Ideas" or "Python Tutorial".
Deleting Chats¶
- Right-click the chat
- Select "Delete"
- Confirm
Note: Deleted chats are gone forever. Be sure!
🧠 Model Selection¶
Available Models¶
Currently using local LLM models via llama.cpp:
- Fast Mode: Quick responses, lower quality
- Balanced: Good speed and quality (default)
- Quality Mode: Best responses, slower
Switching Models¶
- Click settings icon in chat
- Select "Model"
- Choose your preferred model
When to use each:
- Fast: Quick questions, simple tasks
- Balanced: Most use cases
- Quality: Complex reasoning, long content
📚 Knowledge Base Integration¶
What is Knowledge Base?¶
Upload documents so AI can reference your files.
Use cases:
- Code repositories → AI helps with your codebase
- Documentation → AI answers from your docs
- Research papers → AI summarizes your research
- Business reports → AI analyzes your data
Adding Documents¶
- Click "Knowledge Base" in sidebar
- Click "Upload"
-
Select files:
- PDF documents
- Word files (.docx)
- Markdown (.md)
- Text files (.txt)
- Code files -
Wait for indexing (automatic)
- Ask questions about your docs!
Using Knowledge Base¶
Once documents are uploaded, just ask questions:
Example:
You: What were the Q3 sales numbers?
AI: According to the Q3_Report.pdf you uploaded,
sales were $2.5M, up 25% from Q2...
Pro tip: AI automatically knows which documents are relevant!
Managing Documents¶
- View all: Click "Knowledge Base" to see all docs
- Remove: Click X on any document
- Update: Upload newer version (same filename)
💰 Earning While You Chat¶
Use-to-Earn (5% Cashback)¶
Every AI request earns you KAWAI tokens!
Example:
The more you use, the more you earn!
Tracking Your Earnings¶
- Go to Wallet → Rewards → Use-to-Earn
- See your accumulated rewards
- Claim weekly after settlement
Cost Breakdown¶
Average costs:
- Simple question: 0.01-0.02 USDT
- Code generation: 0.03-0.05 USDT
- Long analysis: 0.05-0.10 USDT
With 100 USDT balance:
- ~2,000-10,000 AI requests
- Earn 250-500 KAWAI tokens back
- Net cost: 95 USDT (after cashback)
🎯 Pro Tips¶
Getting Better Responses¶
1. Be specific
2. Provide context
❌ "Fix this"
✅ "Fix this JavaScript function - it should validate email addresses but returns false for valid emails"
3. Use examples
4. Break down complex tasks
Using System Messages¶
System messages guide the AI's behavior.
Examples:
System: You are a Python expert. Be concise.
System: Explain to a beginner. Use simple terms.
System: Act as a code reviewer. Be critical.
How to use:
1. Click settings → System Message
2. Enter your instructions
3. Applies to entire chat
Iterating on Responses¶
Don't hesitate to refine!
Example flow:
You: Write a blog post about AI
AI: [provides 500 words]
You: Make it shorter and more casual
AI: [provides 300 words, casual tone]
You: Add 3 examples
AI: [adds examples]
🔧 Advanced Features¶
Code Execution (Coming Soon)¶
Run code directly in the chat:
Image Understanding (Coming Soon)¶
Upload images and ask questions:
You: [uploads diagram] Explain this architecture
AI: This diagram shows a microservices architecture...
Voice Input (Coming Soon)¶
Speak your questions instead of typing.
Collaborative Chats (Coming Soon)¶
Share chats with team members.
📊 Performance & Limits¶
Speed¶
- Local inference: 20-50 tokens/second
- Average response time: 2-10 seconds
- Long responses: up to 30 seconds
Factors affecting speed:
- Your hardware (CPU/GPU)
- Model size
- Response length
- System load
Token Limits¶
- Input: ~4,000 tokens per message
- Output: ~2,000 tokens per response
- Context window: ~8,000 tokens total
What's a token? ~4 characters or 0.75 words.
Rate Limits¶
- No hard limits on chat requests
- Limited only by your USDT balance
- Fair usage policy applies
🆘 Troubleshooting¶
AI Not Responding¶
Solutions:
1. Check internet connection
2. Verify USDT balance > 0
3. Restart the app
4. Check logs: Settings → Advanced → View Logs
Slow Responses¶
Solutions:
1. Switch to Fast Mode
2. Ask shorter questions
3. Close other apps (free up RAM)
4. Check system resources
Unexpected Responses¶
Solutions:
1. Rephrase your question
2. Add more context
3. Try a different model
4. Start a new chat (fresh context)
"Insufficient Balance"¶
Solution:
1. Check your USDT balance
2. Deposit more USDT
3. Or claim free trial
Context Confusion¶
If AI seems confused:
1. Start a new chat
2. Or explicitly reset: "Forget the above, new topic..."
3. Be more explicit with context
💡 Use Cases & Examples¶
For Developers¶
Code review:
Debugging:
Documentation:
For Content Creators¶
Blog posts:
Social media:
Video scripts:
For Students¶
Explanations:
Study help:
Essay help:
For Business¶
Emails:
Analysis:
Proposals:
✅ Checklist¶
For best results:
- Have USDT balance ready
- Understand token costs
- Know how to use Knowledge Base
- Practice with clear, specific prompts
- Track your cashback rewards
- Save important chats
🚀 Next Steps¶
Explore more features:
- Image Generation - Create AI art
- Rewards Dashboard - Track earnings
- Referral Program - Earn by sharing
- Trading - Trade KAWAI tokens
Need help? Check FAQ or join Discord.