Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

Index providers and settings

Where an index is stored (Local or Cloud) and how Studio splits your documents into snippets: parsing, snippet size, delimiter and overlap.

You choose the provider and the splitting settings in the Create index dialog. The provider and the name of an index cannot be changed later; the splitting settings can be chosen again every time you add documents.

Local or Cloud

The dialog has two tabs. Local is the default and the right choice for most projects. Cloud (marked BETA) stores the index at an external provider.

Provider
Tab
Where the index is stored
Splitting settings in Studio

Local

Local

Born Digital platform

Parsing, Snippet size, Delimiter

OpenAI

Cloud

OpenAI

Snippet size, Snippet overlap

Azure Cloud

Cloud

Fully hosted and managed in Azure

none – Azure splits the files

Azure Hybrid

Cloud

Azure services combined with local infrastructure

none – Azure splits the files

The Create index dialog on the Cloud tab marked BETA, with How to choose a provider, the Provider OpenAI, and the Snippet size and Snippet overlap sliders highlighted
The Cloud tab with the OpenAI provider

What only Local indexes offer:

  • you can open documents, read and edit their snippets, and add a URL, description and labels (Manage indexes and documents);

  • Export, Import and Duplicate;

  • Broader context for each snippet in the AI node, which adds the neighbouring snippets of every hit.

With an Azure Cloud index, the AI node uses Azure's own file search. The Number of snippets and Broader context settings of the Knowledge base tool do not apply, and the variables kb_document_id, kb_document_name and kb_document_url are not filled.

Choose a Cloud provider only when you have a reason to – for example your organization requires that the data is stored in its own Azure environment. The embedding model and the language of an index are set by the platform and cannot be chosen in Studio.

Splitting settings

The Create index dialog on the Local tab with Name, Upload, Parsing Simple or None, the Snippet size slider from 100 to 2000 and the Delimiter list
Splitting settings of a Local index

Parsing (Local)

  • Simple (default) – the text of each file is extracted and split into snippets according to Snippet size and Delimiter.

  • None – the file is stored as one snippet, without splitting. Use it only for short texts that must always be read as a whole.

Snippet size

How long one snippet is, in tokens (a token is roughly four characters of text). The slider goes from 100 to 2000 in steps of 100; the default is 800.

  • Smaller snippets (300–600) suit FAQs and short, independent facts – the search returns exactly the relevant paragraph.

  • Larger snippets (800–1500) suit longer explanations, where one answer needs the surrounding context.

Indexes created earlier with a snippet size above 2000 keep working and can still be copied and imported. To add documents, use an index with a snippet size of 2000 or less.

Delimiter (Local)

  • Default – splits the text by Snippet size.

  • Enter – starts a new snippet at every line break.

  • Double Enter – starts a new snippet at every empty line, so each paragraph becomes one snippet.

With Enter and Double Enter, the snippet size is not used: pieces shorter than 10 characters are dropped and pieces longer than 2000 characters are cut. These options work best for files you prepared yourself, for example a .txt file with one question and answer per paragraph.

Snippet overlap (OpenAI)

How many tokens at the end of one snippet are repeated at the start of the next one, so that a sentence cut at a boundary can still be found. From 0 up to half of the snippet size; the default is 400.

Local indexes apply an overlap automatically: 400 tokens, at most three quarters of the snippet size.

Preparing good documents

  • One topic per document. The model decides which documents to read by their name and description, so a file that mixes ten topics is harder to use than ten focused files.

  • Check the Description of every document after the upload (Local indexes) and rewrite the generated one where it is vague. It is the most effective way to improve answers.

  • Use text, not pictures of text. Scanned PDFs without a text layer cannot be read – run them through OCR first.

  • Prefer PDF or plain text over HTML. HTML files are indexed as they are, including their tags and menus.

  • Remove outdated files. The agent answers from whatever is in the index.

Last updated

Was this helpful?