Tutorial · Step 10 of 20

Type a question

The question is typed into the composer at the bottom. What matters here is the wording: the assistant retrieves by similarity, so a question that names the object and the attribute finds the passage, and a question that names only the topic finds nothing useful.

Before you start

  • A project with at least one document marked Processed. The chat asks one project at a time, and the corpus is that project alone.
  • A question whose answer is written somewhere in that corpus. The assistant reports what the documents say; it does not fill the gaps from general knowledge.
  • No attachment needed. The composer shows attach, microphone and flask icons, but none of them is wired in this version.

Type a question

Open the Playground at app.roomylabs.com/chat. The composer is the bordered field under the greeting, with the placeholder How can we help you today?. Click into it, type the question, and press Enter or click Send.

The Configuration panel carries a Language selector, while the interface itself runs in English. In the capture the question was asked in French and the answer came back in French: the two are not tied together.

The question is typed into the composer at the bottom. Open this page

What the form asks for

One field, one button, one shortcut. Everything else in the composer is decoration in this version.

NameTypeDefaultDescription
Question*textareaThe message you send. The composer sets no length limit of its own: the answer is what gets capped, not the question.
SendbuttondisabledGreyed out while the field is empty or whitespace, and while a previous answer is still streaming. It becomes active as soon as the field holds one character.
EnterkeyboardsendsSends the question. Shift+Enter inserts a line break instead, which is how you paste a list of points into one message.
Attach, microphone, flaskicon buttonsRendered in the composer toolbar but not wired to anything in this version: clicking them does nothing and no file or recording is attached. Do not plan a step around them.
Name the object, not the topic
The capture asked for the storage of the Business plan, and the answer cited the Tarifs section of guide-produit.md. A question that names an object and one of its attributes reads against the corpus; a question like Parlez-moi des tarifs names no object, and the answer gives you nothing to check it against.

What you see when it worked

Sending a question produces four changes:

  1. Your message appears right-aligned in a bubble, and the Send button turns into Sending.... The field keeps your text until the answer has finished streaming, then empties.
  2. Under the question, a spinner and Searching... hold the place of the answer while retrieval runs.
  3. The spinner gives way to text that fills in progressively, because the answer is streamed rather than returned in one block.
  4. A line appears under the answer reading Response time: followed by a number of seconds, and the composer empties.

If it does not work

Four things go wrong at this step, and each one is visible on screen.

NameTypeDefaultDescription
Send stays greyed outchamp videThe field is empty, holds only spaces, or the previous answer is still streaming. The button re-enables on its own when the stream ends; do not reload the page to force it.
Error, with a message under itechec de requeteThe request did not complete. The block prints Error on one line and the server detail on the next. That detail is the only useful part: a 401 means the session expired, a 500 is server side and is worth retrying once.
Response truncated (limit: 2048 characters)avertissementThe answer hit the ceiling of 2048 characters and was cut at the last full sentence, or with an ellipsis if none was found. Ask a narrower question instead of asking for the whole document.
A generic answer that cites nothingcorpusThe retrieval returned nothing close enough, so the answer is general and carries no citation. That is a corpus problem, not a prompt problem: check the chunk count of the document, then read the ranked extracts in the next step but one.
One question per message
A message holding three questions produces one answer that answers the first and mentions the others. Ask them one at a time, or list them and expect a list back.

Next

The answer is on screen with its source attached. The next page reads that citation and the time it took: Read the cited answer