Administer models and data policy
Saved model-provider credentials appear masked. Leave the masked fields as they are to keep them when you edit the instance. ZASTRA uses the saved credentials on the server for verification and model discovery. Re-enter the credentials when changing the endpoint, region or authentication mode. If verification fails, use the displayed category to check the connection, credentials or provider access, then test again.
In the model’s capability settings, choose Send crops under Zoomed document crops for a compatible Vision model that can read multiple images in one request. Choose Page image only to turn off those crops. For OpenRouter, check the model’s output limit and declared reasoning support if a page reading ends early or the provider rejects the request.
If an agent reports an unconfirmed model reply, open Run details and check the execution status, model and provider. An unconfirmed reply can still incur a charge. Once the execution has settled, test the model with a small fictional input before repeating a reading of operational documents.
If the run reports that the model reached its output limit, check its reasoning settings and the amount of source material sent in one request. A model can reach the limit while reasoning before any answer text is available. Test a smaller reading before increasing the output budget.
Under PDF page reading, keep ZASTRA page format for general Vision models. Choose Plain page transcription only for a dedicated transcription or OCR model, such as OCRia-1, that returns a page as Markdown when it receives its own instructions. ZASTRA then sends the model's transcription instructions and the page image alone, at temperature 0, one page per request; Zoomed document crops has no effect for such a model. Scan orientation is then checked only locally, and a page is read as it is when the local check is uncertain. An empty answer marks the page as having no text. The setting applies to Vision models served through an OpenAI-compatible API, such as vLLM. After changing it, read a representative scanned PDF. If a general Vision model returns unusable pages with this setting, switch it back to ZASTRA page format.
By default ZASTRA checks scan orientation locally and asks the Vision model when the result is uncertain. For the installation, set PDF_VISION_ORIENT_SCANS=model to use a model check on each scan or PDF_VISION_ORIENT_SCANS=0 to turn off the preliminary check. Set PDF_VISION_SKIP_BLANK_PAGES=0 when documents may have important text confined to the margins. If a workflow needs a second reading of dense tables, set PDF_VISION_VERIFY_DENSE_PAGES=1.
Add one provider instance per model server, named after the machine, for example 7770-vllm. One instance can carry any number of models from that server. If you rent several GPU servers, add one instance for each; the same model on two servers stays separate because model names include the instance. Instance names must be unique within a provider; to change a server's address or models, edit its existing instance.
For Azure OpenAI, List models shows the resource's base model catalogue, not deployed aliases. Select a base model, enter its exact Azure deployment name, and choose the model types that deployment supports. For a transcription deployment, choose ASR when that deployment supports it. ZASTRA sends that deployment name for inference; a catalogue model ID alone is not a usable deployment. Keep the API key private and use the HTTPS endpoint for your Azure OpenAI resource. If discovery fails, check the endpoint, key permissions, and resource access in Azure. Keep the API version supported by the deployed model; new instances default to 2024-10-21, while an explicitly saved version continues to be used.
For Anthropic, List models uses the instance's API key to ask Anthropic which Claude models that key can use, and shows each model's context window, maximum output and supported thinking controls as reported by Anthropic. Retired models are not listed. Models that ZASTRA ships as presets, such as Claude Fable 5.2, Claude Opus 5.5, Claude Sonnet 5.5 and Claude Haiku 5.5, keep their preset defaults. Without an API key the list shows only these presets. Claude Fable, Claude Opus 5.5 and Claude Sonnet 5.5 always think, so their reasoning choice has no Off option; choose Minimum (low) for quick answers. ZASTRA does not send temperature or similar sampling settings to current Claude models, which reject them. Anthropic reports prompt-cache reads and writes separately, so enter both the cached-read and cache-write rates when you record pricing. For a model whose price changes above a prompt size, such as Claude Haiku 5.5 above 100,000 prompt tokens, set the maximum prompt-token count to the size covered by the rates you enter.
This page is for ZASTRA administrators. Under Admin → Model providers → Providers and defaults, configure provider accounts and credentials, register or discover models and set deployment defaults for generation, metadata, embeddings, reranking and other supported roles. Provider inventory is not the user catalogue. In Admin → Model providers → Model catalogue, publish the models users may choose in chats, searches and agent steps. New published models are available to everyone by default; restrict them to named users or organisation groups when needed, or disable them. A model ID supplied by an API caller does not bypass publication or audience rules. The metadata default is an internal ingestion choice and need not be offered as a user chat model.
To publish directly to specific users or groups, send an administrator request to PUT /api/v1/models/catalogue/{id}/publication with published set to true and an audience object. Set its mode to selected and supply the intended account IDs in users and organisation group IDs in groups. The model becomes available to the selected audience in that request.
Chats, searches and dataset tasks that have no model of their own use the installation default chosen here. A newly added model stays hidden from users until an administrator publishes it in the model catalogue.
In Admin → Model providers → Model catalogue, open a model’s Pricing controls to record its configured input, output, cached-read and cache-write rates per million tokens, currency and effective time. You can also set the processing tier (use default, standard or a documented provider identifier) and the maximum prompt-token count covered by these rates. Leave either profile value blank when it is unknown; a token limit must be a positive whole number. Rates are associated with the catalogue model and provider instance. Save using the displayed revision; if another administrator changed it, refresh and review the current values before saving again. These rates support estimates in Run details, not provider invoices. Estimates require a matching configured tier and prompt limit; when the actual tier or prompt size is unknown or outside the profile, the estimate is unavailable. Estimated costs do not account for free credits or billing adjustments; provider-reported charges remain separate. Leave a rate blank when it is unknown rather than entering zero. If the provider omits required cache-write counts, an estimate remains unavailable even when an input-token total is shown. Consult the provider’s billing records for the charge.
When adding or editing a provider model, use its capability settings only when the provider or catalogue documents them. Leave a setting on Inherit to use the effective provider defaults. Choose the API protocol and structured-output support that apply to this model; Responses is available for OpenAI models. Enter only documented reasoning-effort identifiers, and set the default, minimum and Off effort separately. Provider default leaves the effort to the provider; an empty or unknown effort list does not establish Off support. Sampling controls should follow the provider's documented policy. For Azure OpenAI deployments, set reasoning and sampling only when the deployment documentation confirms support; otherwise keep the provider defaults. Save the model and review these settings when the provider changes its model support.
For an OpenRouter model, the OpenRouter routing settings choose which upstream providers may serve it. OpenRouter otherwise sends each request to any provider that offers the model, and some providers run it at low precision or shrink page images, which can cause reading errors. List provider names separated by commas under Preferred providers (in order), Allowed providers only or Excluded providers, and limit Allowed quantisations to the precisions you trust, for example fp8, bf16. Set Allow other providers as fallback to No to stop requests from going elsewhere when the listed providers are unavailable; such requests then fail instead. Prefer providers by orders the eligible providers by price, throughput or latency, and Provider data collection set to Deny excludes providers that may retain request data. These settings apply only to this model and replace any provider order saved with the OpenRouter instance. Leave the fields empty and choose Inherit to keep the inherited routing. With no filters, choose Use OpenRouter defaults to bypass saved routing preferences or Use instance provider order to use the order set for the instance. Enter [] to keep an explicit empty list.
If a provider connection reports a certificate error, check the saved endpoint and ask the provider administrator to correct its certificate chain. Network permission does not change certificate verification; do not disable it or retry through a different endpoint.
For each chat-model entry used by AI assistance or Raggy, set Context window (tokens) to the context capacity documented for that model and provider endpoint. This setting controls the model’s usable context; it is not the maximum generated response. For example, OpenAI lists GPT-6.1 Sol and GPT-6.1 Terra with a 1,050,000-token context window and a separate maximum output of 128,000 tokens (Sol model details, Terra model details). Enter 0 only when ZASTRA has declared a context capacity for that model; otherwise enter the provider-documented context window so AI assistance can budget requests. If the first request is rejected as too long, compare the saved Context window (tokens) value with the provider’s supported context limit and correct it if needed. If it already matches, shorten the instructions, conversation history or selected source context, or choose a model with a larger supported context. Do not substitute the output limit for the context setting.
Choose defaults with the data policy in mind. Configure and enable metadata extraction at dataset level with the appropriate schema. An eligible dataset may have its own metadata-model override. Verify model cost, latency and language suitability on representative material. You can change a dataset's embedding model while it has no indexed content and no pending or running processing. For indexed material, choose the new embedding model in a new dataset, import and parse the originals, and test retrieval before switching users and workflows. See Dataset configuration.
For full-page visual reading, choose a vision model with enough response capacity for dense tables and literal transcription. Output capacity limits the generated answer; the context window limits the material supplied to the model. These are separate capacities. A response allowance is a ceiling, and the model can finish earlier. Review the reading report and reported uncertainties before treating a document as completely read.
Saving a provider instance applies its connection settings and selected models together. If verification or saving fails, refresh the provider before retrying. If a save reports that the instance changed during verification, review the latest settings before applying your changes.
Before removing a provider, instance or model, choose a replacement for every installation default that uses those models. This includes the metadata default. The catalogue refuses a deletion, model selection change or discovery refresh that would remove an active default.
Chat requests have a shared time limit for provider calls, retries and tool invocations. After a timeout, check provider availability and review any partial answer. If a tool may have written data, check its recorded result or destination before repeating the request.
Publish assessment models
Assessment models provide condition probabilities, category choices with probability distributions, and rubric scores. Configure the OpenAI provider and register gpt-6-luna, then publish it to the intended users or groups in Model catalogue. The same model can retain its chat and vision capabilities. Assessment eligibility is a separate supported capability; selecting an arbitrary chat model does not enable it. Provider credentials remain administrator-managed.
In the agent designer, add Assessment, select an available model from Assessment models, choose the evidence input, and define named questions. Raggy and the design assistant can prepare these settings using models available to the account. Connect the results to Conditions to route work or use their numeric values in later steps. Configure the confidence threshold and probability uncertainty band using representative examples. Provide a review path for uncertain or refused answers; confidence does not grant permission or replace an accountant's approval. See Assessment configuration and outputs.
The supported cloud model remains subject to provider processing and usage charges. Parse PDF and Office attachments before passing their extracted evidence, or use supported image input. OpenAI is currently the supported assessment provider, so this step is unavailable for local-only evidence. If the model is disabled, access is removed, or the provider fails, inspect the run's error, restore an approved available model, and test before continuing. ZASTRA reports the failure without silently changing the selected model.
Configure Raggy
Raggy is the personal operator available from its full page and optional Home widget. Raggy is a standard part of ZASTRA with its own storage and private Tencent Agent Memory service. On Ubuntu, every release installs and starts them with the application. Raggy's conversations, schedules and learned memory use storage separate from the main application database. Keep the memory service private and include Raggy state and its private configuration in coordinated backups. A recovery point must preserve user ownership, learned-memory identities, conversations and schedules together. After recovery, review interrupted work before rescheduling uncertain changes.
Open Admin → Model providers → Raggy to configure the shared Raggy settings. Users can also open Raggy → Settings → Administration from the full page, or from the optional Home widget when it is installed. If the Admin page says Raggy is not installed, ask the installation operator to complete setup first. Choose an active tool-capable catalogue model, enable Raggy and save. There is no fixed call-count ceiling or user-configured task time limit: accepted work continues on the server while it makes progress, subject to the selected model's context and capabilities and available services. Users can stop queued or active work. After a service interruption, they should inspect Activity and saved action results before continuing; Raggy does not automatically replay saved write actions. Provider or model-context failures are reported separately from service interruptions. The default model is used for unassigned users and Tencent's memory extraction; a Raggy model group can override the conversation and workflow-drafting model. Review provider processing and usage charges for both conversations and memory learning. Use a capable model suitable for the languages and tools your users need. Users set their personal preferences and delegations but cannot change this administrator choice or obtain its provider credentials. Disabling Raggy pauses new requests and scheduled execution without erasing saved state.
Set Default Raggy model first. Every user who is not assigned to a Raggy model group automatically inherits it. Under Raggy model groups, choose Create Raggy group, enter its name, select an active tool-capable catalogue model and select its members. Save the group. Each user can belong to at most one Raggy model group; users already assigned elsewhere are unavailable for selection. To move a user, edit their current group, remove them and save, then add them to the destination group. Removing membership or confirming group deletion restores the default automatically. If another administrator changed the group, reload before saving or deleting. Changes apply when the next request, continuation or scheduled turn starts; an active turn retains its selected model.
If a saved group model becomes unavailable, Edit group still shows the unavailable selection. To return selected members to the default, remove those members, keep the group name and model unchanged, then Save group. Other members remain assigned. Adding members, renaming the group or changing its model requires an available model and the ordinary access checks. A stale edit must still be reloaded. You can also choose an available replacement model for the group or delete the whole group after confirmation.
Raggy model groups are separate from organisation and access groups. They grant no dataset, file, agent or model-catalogue permissions and do not combine memories. Publish the chosen model to the intended users through its catalogue audience before assigning them. An unavailable, disabled, non-tool-capable or newly inaccessible model blocks the request; Raggy does not silently switch models. Local-only evidence still requires an approved local model. Group models also apply to Raggy's page inspections and must declare vision capability for those operations. Tencent memory extraction continues to use the top-level default; other AI assistants keep their own settings.
If model usage seems unexpectedly high, compare the period with your provider’s usage report. Include the date, time and affected feature when contacting your administrator; do not share conversation contents or credentials.
The provider must support tool calling for the exact selected model. A catalogue capability label does not replace a working test: try a simple read-only request before authorizing changes. If a request fails, review its recorded activity before retrying.
User memory is separated by account across original conversations, learned facts, scenario summaries and profiles. Organisation membership does not merge memories. Account deletion records durable Tencent erasure as well as removing local operator data; cleanup resumes if memory is temporarily unavailable. A local-only dataset requires a local Raggy model. Local storage alone does not make cloud memory extraction local: local-only learning also requires approved local memory processing. When changing models, preserve this policy. If Raggy reports memory unavailable, check the private memory service and storage; queued captures retry after recovery. For model failures, choose an available tool-capable replacement. For uncertain actions, verify the target system and recorded activity before repeating the operation.
Account deletion first blocks new Raggy work and waits for active operations to finish. If deletion reports that Raggy is finishing, wait and retry; existing records remain available for recovery. Before erasure, an administrator can explicitly reactivate a quiet account to abandon deletion. Cleanup across application storage and Raggy is partial and retryable: a later failure does not restore data already erased. After partial erasure, finish deletion or restore a coordinated backup. A failed first Raggy installation leaves the widget unavailable and retains private state for the installation operator to recover or remove. Validate recovery by starting an isolated restored installation with inference and schedules disabled, then review interrupted work before resuming normal service.
Account cleanup includes every owned document version and the account's contributed source history. Source cleanup can continue after document retirement; an unavailable store or a retained shared reference keeps the inactive account and its ownership records for retry. Fix the reported storage or sharing issue, then retry deletion. If another account's dataset or document still uses a pipeline owned by this account, unlink it first. Queued processing that needs this account must finish or be cancelled before deletion. Completed shared documents keep their sources, results and citations; saved executable pipeline settings belonging to the deleted account are removed. Pending source cleanup also removes these settings while retaining its cleanup information. Other accounts' shared originals are preserved.
Coordinated backups retain published source history and pending cleanup together. Recovery validation checks that retained versions and cleanup belong to the selected installation and prevents cleanup of a restored live document. Unfinished processing requires its accounts and executable pipeline settings in the coordinated restore. If verification fails, choose a complete, consistent backup before resuming. Completed retained history may still refer to erased participants; restoring it does not recreate their accounts or pipelines.
If memory warnings continue, note when they occur and ask your administrator to check that the memory service is available. Do not clear memory or repeat an uncertain change just to investigate the warning.
Built-in CPU embedding
Every installation runs a built-in embedding model on the server's CPU, so documents can be indexed and searched without a GPU or an external embedding provider. Under Admin → Model providers → Providers and defaults it appears as the local model instance local-cpu-embedding of the VLLM provider, with the embedding model Qwen3-Embedding-0.6B-CPU and an input limit of 8,192 tokens. It is published to all users automatically. It runs only on the server itself and is not reachable from the network: documents sent to it do not leave the server, and it can serve datasets marked Local models only. It needs no loading and is not listed under Admin → Local models.
On a new installation with no other default embedding model, it becomes the installation's default. An existing default embedding choice is never replaced. To make it the default, select it as the embedding default under Providers and defaults; users can also select it as a dataset's embedding model.
Qwen3-Embedding-0.6B-CPU is the CPU-quantized version of the local GPU model Qwen3-Embedding-0.6B. Use it for small document sets, testing and installations without a GPU. It is slower than a GPU model (a few minutes for a 50-page document) and shares the server's CPU with document processing. For large collections, use a GPU embedding model when one is available. Moving an indexed dataset between this model and any other embedding model, including the GPU version, requires rebuilding its index, as for any embedding change; see Create and ingest.
Admin → Monitoring reports this model as the Built-in embedding component. If it fails, documents in datasets that use this model cannot be indexed or searched; other embedding models are unaffected. Ask the installation operator to restore the service with the installation's service controls, confirm in Monitoring that the component has recovered, then parse the failed documents again.
Local models
Manage Processing settings under Admin → Local models. Saving applies the fields you changed and preserves other fields. If the screen reports a concurrent save conflict, refresh the page, review the latest values and reapply your changes.
The Ubuntu release includes CPU embedding. To offer chat, vision or reranking, configure a provider that supports the task under Admin → Model providers, test the connection and publish the model to the intended accounts. For datasets marked Local models only, verify that the selected provider is approved for local processing.
Use Concurrent OCR evidence pages to set how many optional PDF evidence checks run at once in each processing worker. The range is 1–16 and the default is 4. Agent editors enable the check on individual FormEvidenceReader Page steps.
Protect data and manage access
In Admin → Company data sources, configure central connections and assign their use to people or groups without revealing credentials. In Admin → Organization access, create groups and grant use/view or separate edit rights to datasets, chats, searches, agents and memories. Mark sensitive sources or datasets Local models only before ingesting: every linked dataset then requires local inference across the processing path and is blocked from inbound MCP. Test a protected dataset with a local model and confirm that a cloud model fails rather than falling back.
Model publication, resource grants and local-only policy solve different problems. A user may see a model yet be unable to use it with protected data. Conversely, access to a shared dataset does not disclose the source connector or allow use of an unpublished model.
Configure AI assistance
Open Admin → Model providers → AI assistance. Choose one active chat model from a configured provider, enable AI assistance, then save. The existing agent-builder choice is retained and now governs the builder, dataset setup, retrieval diagnosis, metadata schema, strict output templates, chat/search setup, source/MCP guidance, compilation configuration and agent-readiness review for both users and administrators. Use a capable model with structured JSON output. Users cannot override this model or supply its credentials. Execution, embedding, reranking and ingestion extraction models remain separate settings.
Assistance sends relevant form settings, available resource names/identifiers, user instructions and, where applicable, selected indexed excerpts or pasted representative text to this model. Connection passwords and tokens are excluded. The agent builder continues to send workflow definitions and discussion rather than uploaded document contents. Choose a provider suitable for the organization's data and review provider charges. Local-only source or dataset context requires this same chosen model to run locally; assistance stops instead of switching models. Disabling assistance prevents new proposals and retains existing forms and drafts. If the selected model becomes unavailable, choose an active replacement and save. All proposals need review and ordinary save/test controls; sharing, reprocessing, publishing and schedules remain deliberate actions.
Assistance now includes the sources and datasets available to the signed-in account, their management rights and relevant setup prerequisites, plus earlier replies. Source inventory omits connection credentials. Catalogue browsing is available without a metadata model, saved connection or dataset API key; saving and ingestion still require their normal prerequisites. An administrator opening source setup from Organization creates an organization source. Enabling a local extraction model and assigning dataset access remain separate administrator actions.
Publish vision readers for agents
To offer a VLM reader, configure a provider with actual image-input support, register the model with its vision capability and publish it in Model catalogue. Keep it active and grant the intended users or groups access. A chat-only catalogue entry is not a document reader. Check a representative PDF and image using an agent you own before offering the model. Users select this model in Begin → Read PDFs and images with, or the equivalent file setting in Await response; see document-reader configuration and trade-offs.
In Admin → Model providers → Providers and defaults, edit the model entry in its provider instance to set its model types. These declared types determine which model pickers can offer it: select both chat and vision when the same model is intended for text chat and image reading. A configured vision type does not prove that the provider accepts images. A successful model verification may test text chat without testing image input, so run an agent you own with a representative image and review its output before offering the model as a reader.
The shared AI assistance model designs workflows; it does not determine their document reader or later analysis/review models. Publishing a catalogue workflow does not supply another account's model permissions. For a provider outage, deactivation or access change, restore the approved model or have editors choose an available alternative, test and republish. Existing runs keep their original version. Review provider data processing, usage charges, page coverage and extraction quality; local OCR does not make later cloud workflow steps local.
Group names and descriptions must be text; a group name needs 1–128 characters. Group names must be unique. If a name is already in use, choose another; the existing group and its members remain unchanged. Select a group under Organization groups, then select or clear its member checkboxes. Each change saves immediately; wait for it to finish before changing another member. Reload the page to confirm membership. If an error appears, reload and check the saved membership before retrying. An invalid name, member list or grant is rejected without replacing the saved members or grant. For scripted administration, send a JSON object, user IDs as a list of nonempty strings, and grant access as use or edit. Manage access through Organization access, group membership and resource grants.