DataPilot supports dialogue, knowledge base indexing, document recognition, voice input, and code execution through large language models, vector models, OCR, and speech recognition models. Platform-level features like "Model Management," "Sandbox Management," "Endpoints," and "External Services" are used to connect with vendors and models, bind modules, test models, replay requests, and maintain dependent services. After enabling workspace-level configuration, workspace administrators can override system bindings by module.
This topic only covers model access, allocation, and availability configuration. For business usage, call records, and runtime observations, refer to the corresponding documentation.
Core concepts
Providers and credentials
Providers include OpenAI, Tongyi Qianwen, Anthropic, DeepSeek, Gemini, Kimi, MiniMax, Zhipu, Huoshan Ark, and OpenAI- or Anthropic-compatible gateways. Credentials consist of an API key, base URL, optional headers, and compatibility parameters. You can save multiple credentials for the same provider for statistics, rotation, and environment isolation.
After saving credentials, you must enable or add a model instance. The API key displays only masked segments; leaving it empty during editing indicates no modification. If the interface list cannot be detected, you can still save it and verify it through model testing.
Model instances, logical models, and module binding relationships
A model instance is a specific model under a credential. Logical models aggregate instances with the same capabilities. Module binding selects logical models for five business categories: dialogue, Embedding, knowledge index, OCR, and speech recognition. Business does not directly bind to a key; multiple instances of the same logical model are automatically polled. Starting or stopping an instance affects all referenced modules.
Models are accessed via maintained instances, and modules are bound by selecting logical models. When troubleshooting model selection, you need to check both the binding and instance status. The same instance can be referenced by multiple modules without being recreated or billed repeatedly.
Spatial visibility and spatial model configuration
Spatial visibility limits which spaces can use an instance. Spatial model configuration determines whether a module inherits system binding, specifies a spatial model, or is disabled. A specified model must be visible to the current space, and the platform's "Enable Spatial-Level Model Configuration" setting must be enabled.
Before revoking visibility, the scope of impact is displayed and confirmation is requested. After the master switch is turned off, the space entry is hidden and system binding is used uniformly. Existing spatial configurations are retained and continue to take effect after re-enabling.
Model detection and request replay
Model detection checks connectivity, performance, WAF, and tool calls. Request replay sends real request packets to a specified model and displays the output and call information. Detection does not evaluate answer quality, and replay does not include Agent orchestration, tool execution, or loop recovery. Both are single-request operations, and results are displayed on the current page.
Role definition
Role |
Current Location |
What can it do? |
What you cannot do |
|---|---|---|---|
| Platform Administrator (with Model View Permission) | User menu > System Management > Platform Group | View Suppliers, Credentials, Models, Module Bindings, Endpoints, and External Services | Cannot modify: The edit control is disabled. |
| Platform Administrator (with Model Editing Permission) | Same as above | Create and modify credentials, enable or disable models, save module bindings, adjust space visibility, test and replay, maintain sandboxes, endpoints, and external services | The space administrator must still perform the space-level overwrite. |
| Space Administrator | Workspace Settings > Model Configuration | Within the scope of platform authorization, select models, preview, save, and reset to system inheritance for this workspace by module. | Unable to access new vendors or add new models; the platform must enable space-level model configuration. |
| Business users (analysts, engineers, etc.) | Business pages such as dialogues, knowledge bases, and reports | Use the model capabilities configured by the administrator | Not directly enter model configuration |
The platform sets global default models, which authorized spaces can override by module. Calls use only instances authorized for the current space.
Feature access
Access system management and model-related tabs
The user menu in the upper-right corner displays entries only for accounts with system management permissions. The "Platform" group includes:
- Model Management: Model access, module binding, request replay.
- Sandbox Management: Switch for the dialogue code execution tool.
- Endpoints: Maintains and performs health checks on E2B, Python Runtime, Prefect, and other addresses by region.
- External Services: Map and documentation classification services.
All four tabs require model viewing permission. Editing models, sandboxes, endpoints, and external services also requires model editing permission.
Model management page structure
The top banner displays "Model Configuration Ready" or "Please complete access and module binding." The three sub-tabs are "Module Binding," "Model Access," and "Request Replay." If configuration is incomplete, Model Access is displayed by default; once completed, Module Binding is displayed by default.
Module Binding includes system default binding, spatial-level switches, and deep testing. Model Access includes provider, credential, instance, catalog, and online search switches. Request Replay is used to submit request packets.
Go to workspace model configuration
When the platform has "Enable workspace-level model configuration" enabled and the current account has workspace management permissions, the workspace settings will display "Model Configuration," which includes five module cards, a refresh button, and a save button. If the platform feature is not enabled, manual access will still return the basic settings.
If the model management option is invisible, it indicates a lack of viewing permission; if the control is grayed out, it means only viewing permission is granted. If the workspace entry is missing, check the platform switch and workspace management permissions.
Detailed features
Configure model access and credentials
The entry is System Management > Model Management > Model Access, and only those with model editing permissions can modify it. The procedure is as follows:
- Filter in the "Supplier Catalog" by name or model type; "Reserved" suppliers cannot be used for actual access.
- Select a supplier and create a new "Credential", "Connection", or "OpenRouter Credential".
- Enter a unique credential name and API Key within the same supplier; a Base URL must be filled for compatible connections, while other suppliers can use the default address. "Advanced Configuration" supports Header, LiteLLM parameters, rate limiting, and status.
- After saving, the "Accessed" list displays the brand, number of credentials, number of enabled models, masked key, Base URL, and status.
- Built-in directories use "Enable Model"; compatible gateways use "Add Custom Model", filling in the model name, model type, and at least one capability tag. Display name and maximum context token count are optional.
- The model list supports editing, starting/stopping, deleting, and testing.
Parameter limits: API Key is required when creating and left empty during editing indicates no change; the default OpenRouter address can be modified; Header names must be unique and cannot use reserved names such as Authorization, Host, or Content-Length. Each line must include both Header and Value; RPM and TPM are set based on enabled models, left empty means unlimited, TPM is in thousands; runtime model names cannot be modified after creation; the maximum context token count defaults to automatic detection if left empty, unknown cases are treated as 128000; visual support is used to declare image understanding capability.
When the only available instance of a module is disabled, the system blocks the operation and requires replacement or unbinding first. Saving can continue if the /models interface cannot be verified; saving is rejected if there is a Header conflict, duplicate parameters, invalid kwargs, or if they contain reserved fields such as authentication, connection, or routing. Keys are not echoed, and multiple keys for the same model are automatically polled.
Execute model testing and deep testing
The test button on a model row executes a single connectivity test, testing only one model at a time; the button rotates and becomes disabled, displaying results as success, failure, and time consumed. When Embedding succeeds, it shows the vector dimensionality and can be automatically populated. Results remain in the panel, do not go to the task center, nor do they form history.
The "Deep Testing" wizard has three steps: select a model or fill in the Base URL, API Key, and model name; select a test suite and configure performance rounds, concurrency, sample size, WAF ratio, fuzz quantity, RPM, and TPM; view health, downgrade, or failure status, as well as pass count, fail count, pass rate, average latency, and suite details. "Create Test" allows you to start over.
Failure information includes the model service, model gateway or Runtime stage, HTTP status, request ID, and suggestions. Common causes include Key or Header errors, insufficient permissions, allowlist, or authorization, model identifier or Base URL errors and duplication /v1, throttling or quota insufficiency, DNS, TLS, certificate, or proxy anomalies, network, streaming forwarding, or timeout, protocol and model type mismatch, chat lacking stream, embedding lacking embeddings, and rate limiting causing queue timeout. Testing only determines whether the request succeeds or fails, without scoring answer quality; configurations are retained after failure.
Configure system default module binding
In Model Management > Module Binding, select dialogue, Embedding, or knowledge index models for core modules, and OCR and ASR for multimodal. At least one dialogue model and one Embedding model must be enabled and bound; knowledge index can be left empty and follow Chat, while leaving OCR and ASR empty makes their corresponding capabilities unavailable.
During "Save Binding", the button rotates and becomes disabled. "Cancel" abandons unsaved changes. Upon success, a prompt "Module binding saved" is displayed, and the top banner changes to "Model configuration ready". Uncovered spaces inherit this configuration. The option descriptions correspond to Workflow LLM, Knowledge Base Vector Index, Knowledge Base Slicing and Summarization, PDF OCR, and Speech-to-Text respectively.
Manage space visibility and authorization impact
In the model instance editing dialog box, expand "Space Visibility" and select "All Spaces" or "Specified Spaces". An empty specified range prohibits business calls, and newly added spaces will not automatically receive authorization. Multi-instance credentials can be selected for batch setting, with unselected instances retaining their original values. The title summarizes all spaces, the number of specified spaces, or "Visibility Different".
After modification, "Authorization Change Impact" lists module bindings and known AI column references, as well as situations where calls are stopped or there are still candidate instances. It does not overwrite all historical tasks and external configurations. When the impact is not empty, you must check "I understand the impact and confirm revoking usage rights for these spaces"; the impact needs to be rechecked after the change. Saving completes with model editing; cancellation does not write. Preview failures can be refreshed, and mixed states require explicitly selecting a new range.
After authorization is revoked, related modules may stop being called, but administrators can still test the connection.
Execute request replay
In Model Management > Request Replay, select a single accessed model, set a timeout of 10–600 seconds (default 180 seconds), and paste a request packet or JSON not exceeding 2 MiB. messages, tools, and generated parameters are retained, model is replaced with the selected model, and stream is executed based on load.
Clicking "Start Replay" changes the status to "Requesting"; "Stop" retains partial results and marks them as "Stopped". The result displays the text, thought, tool call, token usage, original response, payload, original request ID, replay request ID, model response ID, time consumed, first response time, and end reason. It supports copying IDs and exporting JSON. Longer statements are repeated at least five times, with a prompt displayed but output retained.
Statuses include "Pending Test", "Requesting", "Ended", "Failed / Response Incomplete", and "Stopped, Partial Results Retained". Invalid JSON, unselected model, and timeout bounds will report an error before starting; runtime timeout automatically stops. Results only remain in the panel, do not go to the task center; replay does not include Agent scheduling, tool execution, or loop recovery.
Enable space-level model configuration and online search
The "Enable Space-Level Model Configuration" option in the upper-right corner of the module binding page allows a space to override the binding and set visibility. Disabled, spaces uniformly use the system binding, the entry is hidden, and existing overrides are retained. The "Online Search" switch in the upper-right corner of the model access page takes effect globally. When switching between the two switches, the other is disabled and the result is displayed; the former is disabled when editing permissions are absent, and the latter is only shown to those with editing permissions.
Advanced configurations in model editing
The model instance or connection editing dialog supports:
- Thinking parameters: Select "Default", "On", or "Off" for "Text Index" and "Dialogue". The independent switch for the feature takes precedence.
- Agent recovery strategy: "Recover tool invocation" converts strict text protocols into tool invocations; "Recover duplicate Thinking/Output" discards abnormal drafts and retries once; "Fail-safe completion" generates answers based on existing evidence after corrective action fails.
- Model-level LiteLLM parameters: kwargs JSON overrides credential default values by parameter. "Ignore parameters" is separated by English commas and merges with the credential level; unspecified items inherit from the credential.
kwargs must be a valid JSON object and cannot contain reserved fields for authentication, connection, Header, or routing. Otherwise, an error message "Invalid model-level LiteLLM parameters" is displayed.
Maintain the code execution sandbox
The "Code Interpretation Sandbox" switch in System Management > Sandbox Management saves immediately and prompts "Sandbox configuration saved"; if it fails, it rolls back and indicates the reason. Viewing requires read-only permissions for the account, while editing requires model editing permissions. Sandbox connections are configured on the "Endpoints" tab.
Maintain routing endpoints and health checks
System Management > Endpoints displays service cards by region. Access depends on model viewing permissions, and editing capability depends on model management permissions. "Add Region" requires entering the region name, E2B control plane domain name, optional template, Python Runtime, Prefect, and the database and storage configurations required by the page; you can also choose to use application configurations. E2B domain names do not include a protocol.
During a "Health Check", buttons rotate and become disabled, indicating either all healthy, abnormal endpoints present, or check failure. The region menu supports "Edit Region" and "Disable Region". Before disabling, confirm whether to disable all endpoints as well. Saving is prevented if the region name, service URL, or database configuration is missing.
Configure external services
System Management > External Services supports:
- Map services: Maintain "Amap" and "Google Maps", switching via "Set as Current Supplier". Amap includes Web Key, security key, route planning, distance calculation, and coordinate conversion required Web service keys, optional proxy addresses; Google includes browser API Key, server-side API Key, and optional map ID.
- Document classification service: Enter the service URL, liveness probe path, and API Key for training and inference of the document classifier.
- After modification, first "Save Configuration" then "Test Connection". Tests show available, unreachable, unconfigured, or unhealthy, along with the most recent liveness address and latency.
- Keys only display as "Configured" or "Not Configured". Enter a new value to replace, leave empty to retain; "Clear" requires confirmation and may affect the application.
After switching map suppliers, applications created with other suppliers are retained but cannot run until switched back.
Configure space model binding
Workspace Settings > Model Configuration is only accessible to space administrators, and the platform must have enabled space-level configuration, models must be visible to the space, and there must be at least one available dialogue and Embedding model. The five cards are divided into core modules: Dialogue, Vector Retrieval, Knowledge Index, and multimodal Document Recognition and Speech Recognition.
Each module can "Inherit System Configuration" or "Specify Space Model"; Knowledge Index can also "Follow This Space's Dialogue Model", and Document Recognition and Speech Recognition can also "Close Module". For specified modes, only authorized models can be chosen. Cards display "Currently Effective" and "After Save" previews. After modification, there is about 250ms of jitter reduction and automatic preview. The result stays on the page and does not go to the task center.
During "Save", the button is disabled; when OCR or ASR recovers inheritance from a specified model, "Confirm to Restore System Inheritance" is displayed. Success prompts "Model configuration saved", updates the version number, and clears the unsaved flag; failure retains the draft. Refreshing reloads; leaving an unsaved page allows saving and leaving, abandoning, or continuing editing.
Loading, previewing, or saving failures can be refreshed; concurrent modifications or authorization changes may cause failure. "Binding Invalid" requires re-selection or restoring inheritance. Memory extraction maintains system settings; it follows the dialogue mode to use the space dialogue model; vector model changes require compatibility checking and are not automatically rebuilt currently.
Typical process
Process 1: first access a large model and make dialogue available
- Go to Model Management, select a supplier in Model Access, and save the credentials.
- Enable the directory model or add a custom model, and perform a model test.
- In Module Binding, select the dialogue and Embedding models and save.
- Confirm that "Model configuration ready" is displayed at the top.
Procedure 2: use an independent model for a specific workspace
- Enable "Enable workspace-level model configuration" and authorize the target model to be visible to the target workspace.
- The workspace administrator changes the dialog to "Specify workspace model".
- Verify "After saving" and "Currently effective", then save.
Procedure 3: troubleshoot a model invocation failure
- Execute a model test to read the cause, phase, HTTP status, and request ID.
- Verify the Key, Header, Base URL, model identifier, network, and streaming forwarding.
- If reproduction is needed, use request replay to check the first response segment, time consumed, and original response.
- After correction, retest.
Procedure 4: narrow down the available workspace for a specific model
- Select "Specify workspace" in "Workspace visibility".
- Verify the "Authorization change impact" and the binding to stop the invocation.
- Confirm and save, then notify the affected workspace administrators to adjust the binding.
