Quickstart
Get started with duohub in under 5 minutes
Installation
The fastest way to get started with duohub is through our Python SDK:
Authentication
Sign up at app.duohub.ai to get your API key. You’ll need this to authenticate your requests. You can find your API key by clicking Accounts on the bottom left.
Creating Your First Memory
Currently, data ingestion is handled through the dashboard interface. API-based ingestion will be available soon.
- Navigate to the Memory section in your dashboard
- Click the + icon to create a new memory
- Enter a name for your memory
Select files to ingest:
- Documents (PDF, Word, Text)
- Web pages
- Audio files
- Video files
- Entire websites
- Click Next to start processing
- Navigate to the Memory section in your dashboard
- Click the + icon to create a new memory
- Enter a name for your memory
Select files to ingest:
- Documents (PDF, Word, Text)
- Web pages
- Audio files
- Video files
- Entire websites
- Click Next to start processing
- Navigate to the Memory section in your dashboard
- Click the + icon to create a new memory
- Enter a name for your memory
- Select files to ingest (supports larger document sets than graph memory)
Configure chunking parameters:
- Chunk size (default: 250 words)
- Chunk overlap (default: 10%)
- Click Next to start processing
Processing time varies based on document size. You can leave the page and return later. Once complete, you’ll see a preview and can copy your memory ID for use in applications.
Querying Your Memory
Once you have your memory ID, you can start querying:
The assisted=True
parameter enables AI-powered response formatting.
Advanced Usage
Using the REST API
Using the REST API
If you prefer using the REST API directly:
Next Steps
Troubleshooting
Common Issues
Common Issues
- Rate Limiting: Default limit is 100 requests per minute. Contact support for higher limits.
- Timeout Errors: Try specifying a closer region or increasing the timeout setting.
- Memory Not Found: Ensure your
memory_id
is correct and the ingestion completed successfully.
Getting Help
Getting Help
- Check our GitHub Issues
- Email support at hello@duohub.ai