Skip to main content
The knowledge base is your company’s library inside Tuqui. It holds manuals, procedures, price lists, policies and any document Tuqui needs to know. When a question can be answered with those documents, Tuqui reads them and tells you which one the information came from. There are three knowledge bases:

How Tuqui uses it

In each chat, Tuqui sees the list of available sources and searches inside them when the question needs it.
  • In a project chat, it searches the project’s files first, and then the workspace’s.
  • It prefers the knowledge base over other connected sources, such as Google Drive.
  • When it uses a document, it cites it.
  • If a source has not been processed yet or failed, it tells you instead of guessing.

What you can add

The Google Drive and OneDrive or SharePoint options show up only if the workspace has that connector turned on. For images and scanned documents, Tuqui reads the visual content. A Google Drive folder stays linked: new files you add to it in Drive are added to the knowledge base. An agent’s knowledge base has one more option, Send rows to a webhook, and Google Drive also offers Google Forms there. See Load sources.

Load sources

Each source of an agent says what the agent does with it. The type of source decides it:
  • Read: it searches it and reads it to answer. That is what a document, a sheet, a PDF or a page does.
  • Add: it adds a row each time someone asks it to record something (a sign-up, an order, a request). It does not see what is already there, so nobody who talks to the agent can read what others loaded.
These take rows: Neither uses anybody’s account: the form and the webhook already take data without signing in. Rules Tuqui always applies:
  • The agent only loads into that agent’s load sources.
  • A form checks each row against its questions: the required ones, and the options of multiple-choice questions.
  • The agent confirms it saved the row only if the destination answered OK.

Load into a Google Sheet with a form

For the rows to end up in a sheet, link a Google Form to that sheet:
  1. In the sheet, choose Tools → Create a new form. If you already have the form, in the form go to Responses → Link to Sheets.
  2. In the form, check that it does not ask to sign in: in Settings → Responses, turn off Restrict to users in your organization, and under Collect email addresses do not choose Verified.
  3. In the agent’s sources, click +, choose From Google Drive and pick the form.
Each row the agent loads arrives as a response, and Google writes it to the sheet. The sheet’s columns are the form’s questions: to add a column, add a question. The agent uses it from the next row on.

Send rows to a webhook

In the agent’s sources, click + and choose Send rows to a webhook:
  • Address: the URL that receives the data, with https. The agent never sees it.
  • Name (optional): how it shows in the sources, and how the agent tells it apart from others. If you leave it empty, it takes the address’s domain.
  • Authentication header (optional): if the destination asks for a key, enter it as it asks for it. For example, Authorization with Bearer and the key, or a header of its own like X-API-Key. It is kept encrypted and the agent never sees it. If the destination asks for nothing, leave it empty.
Which keys the JSON carries is up to the agent’s instructions. For example: “load the sign-up with the keys student, grade and whatsapp”. If the destination refuses a send, the agent gets the reason the destination answered and can fix the row. For example, for your own API that asks for Authorization: Bearer <key>, each row arrives as a POST with JSON:
Tuqui does not follow redirects: if the address answers that it moved or asks to sign in, the agent says it could not load the row, and the address has to be fixed. If the destination is an Apps Script web app, it needs a doPost function, has to return its answer with ContentService, and must be deployed so that Anyone can run it. If the script fails, the agent gets the error Google shows and does not confirm the row.

Add sources to the workspace base

  1. Open your user menu and choose Settings.
  2. In your workspace group, choose Knowledge Base.
  3. Click + (Add source).
  4. Choose From this computer, A web page or a video, From Google Drive or From OneDrive or SharePoint.
Knowledge base card with the + menu open: From this computer, A web page or a video, From Google Drive (Spanish UI) To add sources to a project, open the project and use + (Add source) on the Knowledge base card. You can also ask Tuqui in the chat: attach the file and ask it to add it to the knowledge base. Tuqui asks for your confirmation before saving it. For the workspace base you have to be an admin; for a project’s, you need Can edit.

Manage sources

  • Add description: one line explaining what the document contains. It helps Tuqui find the right source.
  • Search resources…: filters the list by name or description.
  • Retry: processes again a source that could not be read.
  • Update all: re-reads every source that needs it.
  • Sync: brings in the latest changes from a Google Drive folder right away.
  • Remove folder: removes the folder and every file imported from it.
  • Delete: removes a source.
While Tuqui reads a source, its row says Processing. If it could not read it, the row shows why.

Limits and requirements

  • Admins only: the Knowledge Base section in Settings is only visible to workspace admins.
  • Number of sources: each base has a maximum number of sources. The panel’s counter shows how many you used out of the total.
  • File size: files uploaded from your computer have a size limit. If a file is over it, upload it to Google Drive and link the folder: from there there is no size limit.
  • Google Drive: to add from Drive, the workspace needs the Google Drive connector set up, and you need to have it connected.
  • Repeated links: you can’t add the same web page twice.

Troubleshooting

I don’t see Knowledge Base in Settings. That section is for admins only. Ask an admin to upload the document, or add it to a project where you have Can edit. A source could not be read. The row shows why. Depending on the case, a button lets you Retry, Reconnect Google Drive or Read it now. If the message says the stored file is missing, upload it again. A source says Not transcribed yet. It is a scanned document and Tuqui read only its first pages. It reads the rest when it needs it. “From Google Drive” does not show up. The workspace does not have the Google Drive connector turned on. Ask an admin to turn it on in Settings → Connectors. If the option shows up but your account is not connected, choosing it takes you to connect it. The agent cannot add a Google Form, or stops loading into one. It can happen for these reasons:
  • The form no longer accepts responses. Turn them back on in Published → Accepting responses.
  • The form asks to sign in, or has a question someone without an account cannot answer (for example, a file upload). Check the form’s Settings and remove those questions.
A folder says Partial. The base reached its maximum number of sources and not every file in the folder fit. Delete sources you no longer use and click Sync.