Skip to main content
A
Docs

Chat

An Arabic and English assistant that answers questions from your own documents, with knowledge bases, sources and role-based access.

What Chat does

Anar Chat is an assistant for your staff. It answers questions in Arabic and English. When you select a knowledge base, it searches your documents and answers from the passages it finds.

Who uses it

PersonTasks
Staff member (user)Asks questions, selects a knowledge base, reads and exports conversations
Knowledge manager (manager)Creates knowledge bases, uploads and deletes documents
Administrator (admin)Everything a manager can do

Key concepts

ConceptMeaning
ConversationA thread of messages. Chat keeps the history and uses it for the next answer.
Knowledge baseA set of documents that Chat can search. Each knowledge base belongs to one tenant.
DocumentA PDF, DOCX or text file in a knowledge base. Chat splits it into passages for search.
ModelThe chat model that answers. Your administrator connects the models through the Gateway.

Use the console

Ask a question

  1. Start a new conversation.
  2. Optional: select a knowledge base.
  3. Optional: select a model.
  4. Type your question and send it. The answer appears word by word.

Upload documents

You need the manager or admin role.

  1. Select Upload documents.
  2. Select the knowledge base, or create one.
  3. Choose a PDF, DOCX or text file.
  4. Wait for the upload to finish. The upload finishes when Chat has read and indexed the document.

Find a conversation

  1. Search the conversation list.
  2. Open the conversation.

To export a conversation, use the API. Read Chat API reference.

See usage

Open Analytics to see conversation and document counts over time.

Chat normalises Arabic text before it searches. It removes diacritics and tatweel. It treats the forms of alef as one letter, and teh marbuta as heh. Questions and documents with different spellings of the same word still match.

Tenants

Each user belongs to one tenant. A user sees only the conversations, knowledge bases and documents of their tenant. A request for an item of another tenant returns 404.

Administration

  • Accounts. Self-registration is off by default. Your administrator creates accounts, or asks Anar to turn self-registration on.
  • Models. Chat lists only the models that your administrator sets for it. A request for another model returns 400.
  • Sources from other products. Docs can add text to a Chat knowledge base. Read How the products work together.