FAQ
Frequently asked questions about BoxLang AI - answers to common questions about costs, providers, performance, and usage.
📋 Table of Contents
🚀 Getting Started
Why use BoxLang AI instead of calling provider APIs directly?
What's the easiest way to get started?
What's the best free option for learning/testing?
Can I use BoxLang AI without an internet connection?
🤖 Providers & Models
Which AI provider should I use?
Provider
Best For
Cost
Speed
Can I use multiple providers in the same application?
💰 Costs & Pricing
How much does it cost to use BoxLang AI?
How can I reduce AI costs?
How do I estimate token counts before making a request?
⚡ Performance & Reliability
Why do I get different responses each time?
What happens if an AI provider is down?
🎯 Features & Capabilities
Can I extract structured data from AI responses?
Can AI access real-time data or call APIs?
Can AI remember previous conversations?
Can AI answer questions about my documents?
Can I process images, audio, or video?
💭 Memory & Context
What's the difference between conversation memory and vector memory?
How do I prevent users from seeing each other's conversations?
🔐 Security & Privacy
Is my data sent to AI providers?
How do I prevent prompt injection attacks?
Where should I store API keys?
🔧 Troubleshooting
"Invalid API key" error
"Rate limit exceeded" error
"Context length exceeded" error
Response is too slow
💡 Best Practices
Should I use aiChat() or aiAgent()?
aiChat() or aiAgent()?How many messages should I keep in memory?
Use Case
Recommended
Should I cache AI responses?
How do I handle errors gracefully?
🔗 More Resources
❓ Still Have Questions?
Last updated