docs/guides/chat/start_chat.md
Initiate an AI-powered chat with a configured chat assistant.
Chats in RAGFlow are based on a particular dataset or multiple datasets. Once you have created your dataset, finished file parsing, and run a retrieval test, you can go ahead and start an AI conversation.
You start an AI conversation by creating an assistant.
Click the Chat tab in the middle top of the page > Create an assistant to show the Chat Configuration dialogue of your next dialogue.
RAGFlow offers you the flexibility of choosing a different chat model for each dialogue, while allowing you to set the default models in System Model Settings.
Update Assistant-specific settings:
Update Prompt-specific settings:
{knowledge} is a reserved variable. Click Add to add more variables for the system prompt.
Update Model-specific Settings:
Now, let's start the show:
:::tip NOTE
Click the light bulb icon above the answer to view the expanded system prompt:
The light bulb icon is available only for the current dialogue.
Scroll down the expanded prompt to view the time consumed for each task:
:::
RAGFlow offers HTTP and Python APIs for you to integrate RAGFlow's capabilities into your applications. Read the following documents for more information:
You can use iframe to embed the created chat assistant into a third-party webpage:
Before proceeding, you must acquire an API key; otherwise, an error message would appear.
Hover over an intended chat assistant > Edit to show the iframe window:
Copy the iframe and embed it into your webpage.