Prerequisites
- A running RAGFlow instance (Docker self-hosted or cloud version)
- A Qhaigc API key — get yours from the API Tokens page
Option 1: Docker Deployment
Option 2: Cloud or Existing Instance
Fill in the provider details
Enter the following values:
| Field | Value |
|---|---|
| Name | Qhaigc (or any label you prefer) |
| Base URL | https://api.qhaigc.net/v1 |
| API Key | Your Qhaigc API key (starts with sk-) |
| Models | The model IDs you want to enable (e.g. gpt-4o, claude-3-5-sonnet-20241022) |
Exact UI field names and layout may differ across RAGFlow versions. If you do not see a field listed above, check the Model Providers section of your RAGFlow instance’s documentation.
Create a Knowledge Base
Configure the document parser
Choose a parsing method appropriate for your content:
- General — generic documents
- Resume — résumé files
- Q&A — question-and-answer pairs
- Paper — academic papers
- Book — long-form books
Select a chat model
In the Chat Model field, select one of the Qhaigc models you registered in the previous section.
Upload documents
Upload your source documents. Supported formats include PDF, Word (
.doc, .docx), TXT, Markdown, Excel (.xls, .xlsx), and HTML.Advanced Features
Multi-turn conversation. RAGFlow maintains conversation context across turns, so follow-up questions reference earlier answers automatically. Citation tracing. Each answer is annotated with source references. Click a reference to view the original passage. Multiple chat sessions. Create separate chat sessions for different topics or projects within the same knowledge base.Troubleshooting
Model connection fails. Verify that the Base URL includes/v1, the API key is correct, and your network can reach api.qhaigc.net.
Document parsing fails. Check that the file format is supported, the file is not corrupted, and the system has enough resources to process it.