Skip to Content
Chat Engine

Chat Engine

Chat Engine is a set of configurations that allow you to customize the chat experience for your users. You can configure the chat engine to use different models for generating responses, reranking results, and more.

Configure Chat Engine

After logging in with an admin account, you can configure the Chat Engine in the admin panel.

  1. Click on the Chat Engines tab;

  2. Click on the New Chat Engine button to create a new chat engine;

    "Chat Engine Creation Page - Basic Information Section"

  3. In the Retrieval section, you can configure knowledge base as the knowledge source and related retrieval parameters.

    "Chat Engine Configuration Page - Retrieval Section"

  4. You can also change the prompt to customize the chat experience for your users. The prompt is the message that the chatbot sends to the user to start the conversation.

    "Chat Engine Configuration Page - Prompt Section"

  5. Click the Create Chat Engine button to finish the configuration.

  6. Now you can chat with LLM through the chat engine in the chat interface.

    "Chat Engine Chat Interface"

Shared conversations and graph diagnostics

The web client sends the conversation ID when a reader opens saved follow-up questions from a public sharing link. Custom clients can send the UUID from that link in the X-Chat-Id request header when calling GET /api/v1/chat-messages/{message_id}/recommended-questions. A participant using their own account or guest session can omit the header. Refreshing the questions requires permission to continue the conversation.

Administrators can inspect a stored message graph when both the saved conversation and the current engine allow sources. A missing graph returns HTTP 404. The embedded widget omits graph diagnostics.

Last updated on