Chat Assistant
A Chat Assistant (also known as a virtual assistant or conversational agent) is an AI-driven system designed to engage in conversations with users, providing assistance, answering questions, and completing tasks.
Guide to Chat Assistant
- Navigate to the TIR dashboard.
- From the left-side navigation panel:
- Locate the RAG section
- Click on Chat Assistant
- On the Chat Assistant listing page:
- You will see a table listing existing assistants (if any)
- Locate the CREATE ASSISTANT button at the top-right
- Click CREATE ASSISTANT to begin creating a new assistant.
Assistant Settings
After clicking CREATE ASSISTANT, you will be redirected to the Assistant Settings page.
On this page:
-
You will see a multi-step configuration layout (typically shown in a left-side step panel such as:
- Assistant Settings
- Prompt Engine
- Model Settings
- Summary Preview)
-
In the Assistant Settings section:
- Locate the Knowledge Base selection panel
- A list of available Knowledge Bases will be displayed
-
Select one or more Knowledge Bases:
- Use checkboxes or selection controls provided in the list
- Ensure selected Knowledge Bases share the same embedding model
Note: Knowledge Bases with different embedding models cannot be used together in an assistant. However, you can select multiple Knowledge Bases that share the same embedding model.
- After selecting the Knowledge Base:
- Locate the Next button (typically at the bottom-right of the page)
- Click Next to proceed to the Prompt Engine
Prompt Engine
The Prompt Engine in a chat assistant is a crucial component that helps generate and manage the prompts given to language models, guiding them to produce relevant and contextually appropriate responses. It plays a key role in enhancing the quality of interactions between users and the assistant.
Prompt Engine Configuration Steps
- After clicking Next, you will land on the Prompt Engine section
- The interface contains:
- A configuration panel with input fields
- Sliders or numeric inputs for tuning parameters
Prompt Engine Parameters
System
- Locate the System input field
- Enter the base instructions that define:
- Assistant behavior
- Tone
- Objectives
The System refers to the foundational setup or instructions that define the assistant's overall behavior and objectives.
Similarity Threshold
- Locate the Similarity Threshold slider or input
- Adjust the value to define the cutoff for relevance matching
The similarity threshold acts as a cutoff point that dictates whether the input is considered similar enough to the training data or knowledge base to generate a relevant response.
Keywords Similarity Weight
- Locate the Keywords Similarity Weight control
- Adjust the weight to influence how keyword matches impact retrieval ranking
This weight quantifies how closely related certain keywords in a user query are to keywords associated with potential responses or entries in a knowledge base.
Top N
- Locate the Top N field
- Enter the number of top results to retrieve (e.g., 1, 3, 5)
"Top N" signifies the selection of the top N responses that have the highest relevance or similarity to a user’s query.