ZASTRAGuide

Feature reference

This reference describes ZASTRA's document processing, retrieval and workflow controls. Available options depend on the installed services, enabled connectors, models and your permissions. Evaluate changes on representative material before applying them to a large dataset or an active workflow.

Dataset configuration

Basic information includes name, description, language and avatar. Embedding model determines the vector space for indexed chunks. Page rank can favor one dataset when several are searched; it is a ranking preference, not an access rule. Tag sets, when configured, can enrich chunk and query matching.

The built-in parsing methods target different document structures:

Method Suitable material
General Most ordinary prose documents.
Q&A Question-and-answer pairs.
Manual / Book Hierarchical manuals and chapter-based long works.
Paper Research papers and reports with sections.
Table CSV/spreadsheets whose rows and columns have meaning.
Laws Structured legal instruments; optional, not required for other corpora.
Presentation Slides and page-oriented presentations.
One Short material that should remain a single chunk.
Tag A tag source for other datasets, not a normal answer corpus.

For PDFs, choose text extraction when the text layer is good, or a layout/OCR-capable parser for scans and complex tables. A vision model may add cost and latency. Chunk size controls granularity; delimiter follows the original structure; overlap repeats text at boundaries but can crowd results if excessive. Child chunks and image/table context are optional where the chosen parser exposes them. Auto-keyword and auto-question expand indexed expressions at ingestion time. Table column mode can put a column in indexed text, metadata, or both. Changing ingestion settings normally affects only newly parsed material; reprocess old documents when needed. A custom Pipeline replaces built-in parsing for that dataset and is assembled under Agent.

When you attach images to a chunk through the API, each distinct image is added below the existing image. Repeating the same image does not add it twice. If an image update reports a storage error, check whether the chunk already shows the image before retrying.

Retrieval, Chat and Search controls

Control Effect Check when tuning
Dataset/document selection Sets the search scope. The user has access and the intended files are enabled.
Similarity threshold Filters weaker candidates. Too high loses valid matches; too low admits noise.
Vector similarity weight Balances semantic and lexical matching. Test exact identifiers and paraphrases.
Reranker / candidates Scores a bounded pool more deeply. Adds latency; verify the model is available.
Top N / final passages Limits evidence sent to generation. Too few omit relevant material; too many consume context.
Metadata filters Restrict results by configured fields. Confirm metadata is populated and accurate.
Cross-language options Help questions and sources in different languages. Test real bilingual questions.
Empty response Text used when evidence is insufficient. Avoid implying that no document exists.
Thinking/research mode Adds reasoning or follow-up searches. Allow more time and compare claim support.

Retrieval testing shows candidate passages before answer generation. Search can show chunk metadata, AI summary, related search and query visualizations when enabled. Chat also has system prompt, greeting, answer display and conversation controls. These settings are distinct: a retrieval-test adjustment is not automatically copied to saved chats or MCP.

Agent components and knowledge features

Begin defines inputs; Message returns output; Await response pauses for user input. Switch branches on explicit conditions, while Categorize uses a selected LLM to classify text. Loop/Iteration handles repeated items and needs an upper bound. Agent combines model instructions and tools, including Retrieval, external MCP, HTTP, SQL, browser and other enabled services. Text processing, List operation, Data operation, Variable assigner/aggregator and Code transform intermediate results. Email, Create task and Document Generator create effects or output. Code requires a working sandbox; actions should have a tested failure branch.

Memory stores and retrieves prior messages for an agent only when explicitly connected. Knowledge compilation can derive structured artifacts such as Wiki, graph, tree, mind map, PageIndex or timeline from parsed documents; generation settings, update rules and review remain separate from the base document index. Files lets you create folders, upload, move and delete files and link eligible files to a dataset. Chat channels may connect a chat to Discord, Telegram, WhatsApp and other configured platforms; each has provider-specific credentials and test steps.

The source picker can offer cloud drives and collaboration systems, object stores, databases, code repositories, project tools, mail, chat and web feeds. Examples include Google Drive, OneDrive/SharePoint, Box/Dropbox, S3-compatible storage, MySQL/PostgreSQL, GitHub/GitLab, Jira, Gmail/Outlook/IMAP, Slack/Teams, REST, RSS and Sitemap. The presence of a connector in the picker does not mean its external credentials or scopes have been configured. Test it, then explicitly link a dataset and schedule synchronization if indexing is intended.

AI compilation configuration

In a compilation template editor, select the intended Wiki, graph, timeline, tree, PageIndex or mind-map kind, then choose Configure compilation with AI. Describe the desired entities, relations, chronology or topic structure and paste representative source text. Review the proposed settings and the illustrative source-based sample. This sample is generated by the shared assistance model; it is not a full compilation task. Apply and review the normal fields, save, then run the existing knowledge-generation action on a small dataset and inspect the real result before expanding. Permission to edit the template and use the selected source data still applies. Failed or cancelled full generation uses its existing recovery controls; the assistant does not start or retry it automatically.