Tutorial · Step 13 of 20

Open the internal chat

The sidebar keeps every conversation for this project. The Playground answers once and forgets; here a thread has a name, survives a reload, and can be found again by its content.

Before you start

  • A project with an indexed document. Without one the empty state asks you to choose a project and the suggestions do not appear.
  • A decision on who reads this. A project marked internal answers only here; an external project is the one the public widget serves.
  • No API key. The internal chat authenticates with your session, unlike the API routes documented later.

Open the internal chat

Open app.roomylabs.com/chat-interne. The page is two columns: conversations on the left, the thread on the right. Above them, the project selector shows the current project; change it there and both the list and the corpus follow.

To start a thread, click Nouvelle conversation at the top of the left column, then type in the composer or click a suggested question. The first question becomes the conversation name.

The sidebar keeps every conversation for this project. Open this page

What you see

Six parts, across two columns and one line above them.

NameTypeDefaultDescription
Project selector*selectThe project whose corpus the chat reads. It sits above the two columns, on the same line as the link to the public web chat. Every conversation belongs to one project.
Conversation list*listThe left column, grouped by age, each row naming the conversation after its first question. Hovering a row reveals Rename and Delete, which print in French on this screen.
SearchtextFilters the list on the server, on the title and on the content of the first message. Typing waits 280 ms after the second character before querying.
Composer*textareaSame composer as the Playground. Its placeholder and button label are hardcoded French on this screen: Posez votre question, and Envoyer. Disabled, reading Choisissez d'abord un projet, until a project is selected.
Suggested questionsbuttonsUp to four questions generated from the indexed corpus, under the composer of an empty thread. Clicking one sends it as if you had typed it.
Source chipschipsUnder an answer, up to four chips naming the files it drew on. Beyond four, the extras are not rendered: the full list stays available in the payload.
The suggestions come from your documents
The questions under the composer are generated from the corpus of the selected project, not from a fixed list. On a project with one product guide they read like questions about that guide; on an empty project they do not appear.

What you see when it worked

The chat is working when four things are true:

  1. The title above the thread names the project and its visibility, for example Internal technical assistant. A bare Technical assistant means no project resolved.
  2. The composer accepts text. If it reads Choisissez d'abord un projet and stays disabled, no project is selected and no question can be sent.
  3. The answer arrives with up to four source chips under it, each naming a file. Chips are the compact form of the citations the Playground shows inline.
  4. The conversation appears in the left column under its first question, and survives a page reload. A thread that vanishes on reload was never created server side.

If it does not work

Four symptoms specific to this screen.

NameTypeDefaultDescription
Composer disabled, reading Choisissez d'abord un projetaucun projetNo project is selected, or the selector is still resolving one. Pick a project in the selector above the columns: the field enables without a reload.
Aucune conversation pour l'instant. Posez une première question.liste videThe selected project has no conversation yet, which is the normal state of a fresh project. Send a question: the row appears as soon as the session is created.
Aucune conversation ne correspond à cette recherche.recherche videThe search runs on the server against titles and first messages. Clear the field: a word that appears only in a later answer will not match.
The same question appears twice in the listdoublonTwo sessions share the same first question, and the list names a row after that question rather than after an identifier, so both rows read the same. Rename one, or delete it from the row menu.
Changing project changes the corpus
The selector is not a filter on a single list: it changes which documents exist for the chat. A question that answered well on one project can return nothing on another.

Next

The thread is open and its answers carry source chips. The next page reads one of those answers: Read an answer with sources