AI, deploy, and more
Understand why to evaluate in Duaer
In Duaer, use evaluations against known test cases so AI digital organizations stay reliable across inputs.
What evaluations are
Evaluation is how you check that an AI digital organization in Duaer is reliable. It is often what turns a flaky demo into something you can ship. You need it while building and after you go live.
The foundation is running a test dataset through the digital organization. The dataset has many cases. Each case has a sample input, and often the expected output too.
- Try a range of inputs so you see edge-case behavior
- Change prompts or models with more confidence, without breaking something else
- Compare performance across models or prompts
Why evaluation is needed
Models are not like ordinary code you can reason about. They are black boxes. You measure them by running real inputs and reading the outputs.
You only gain confidence after enough cases that match the edge cases production will see.
Two types of evaluation
Light evaluation (before go-live): a handful of hand-written examples is often enough to reach a releasable or proof-of-concept state. Compare outputs side by side without formal metrics yet. Steps are in light evaluations.
Metric-based evaluation (after go-live): grow the set from production runs. When you find a bug, add that input. After a fix, rerun the whole set as a regression. When there are too many rows to read one by one, score quality with metrics and track them on the evaluations view. See use metrics to measure quality.
How the two types compare
- Gain per iteration: large in light evaluation; smaller once you use metrics
- Dataset size: small for light; large for metrics
- Dataset sources: mostly hand-written (or lightly generated) for light; often production executions for metrics, plus optional generated rows
- Actual outputs: required for both
- Expected outputs: optional for light; usually required for metrics
- Evaluation metric: optional for light; required for metrics
When wiring fails or scores stay empty, start with common issues. The Evaluations tab “More info” link also points here.
Questions
What are evaluations in Duaer?
In Duaer, evaluations run an AI digital organization over a test set so you can see whether outputs stay reliable. Use them while building and after you go live.
When should I use light vs metric-based evaluation in Duaer?
Use light evaluation while the set is small and you are still changing prompts—compare outputs by eye. Switch to metric-based evaluation when the set grows and you need regression scores on the evaluations view.
In this section
Build your first AI Agent in Duaer
Connect a chat model to an AI Agent in Duaer, then add tools when you need them. This page is the smallest digital organization that runs.
AIUse Chat hub in Duaer
Chat hub gives people a chat entry without the canvas. From Duaer v3 it is off by default. You can turn it on temporarily with DUAER_ENABLED_MODULES.
AIRetrieve relevant context with RAG in Duaer
Write documents into a vector store, then retrieve pieces for the model when someone asks. Duaer RAG usually has a load branch and a retrieve branch.
AIUse $fromAI for tool parameters in Duaer
In Duaer: $fromAI marks a parameter the AI Agent fills when it calls a tool. Keys may only use letters, numbers, underscores, and hyphens.
AIRun light evaluations in Duaer
In Duaer, during development run a digital organization against a few known cases and compare outputs side by side before you add formal metrics.
AIUse metrics to measure quality in Duaer
In Duaer: Run an AI digital organization against a test set and record scores you calculated, so you can compare versions over time.
AIFix common evaluation issues in Duaer
In Duaer, when triggers, field maps, or chat output fight the evaluation nodes, check the wiring first.
AITurn on the Duaer MCP server
In Duaer, expose the instance as an MCP server so outside clients operate digital organizations with permission. Turn access on in the instance first.
AIDraft Duaer digital organizations with AI
In Duaer, describe your goal in plain language. The builder generates or edits digital-organization nodes. You still confirm on the canvas.
AIConnect an MCP client to Duaer
After MCP access is on in Duaer, put the connection URL and auth into the client config.
AIUse Duaer orgifyDesk on cloud
Duaer orgifyDesk on cloud is toggled in Settings and helps edit digital organizations.
AIManage MCP access on Duaer cloud
After you turn on MCP access on a Duaer cloud instance, outside clients can connect.
DeploySet up Duaer orgifyDesk on a self-hosted instance
Self-hosted Duaer configures Duaer orgifyDesk in its setup wizard in Settings. Sandbox and web search are optional. Prepare environment variables before startup.
DeployHost Duaer with Docker
From Duaer v3, Docker is the only supported deployment. If the instance check finds you are not in a container, it opens this page.
DeploySet up task runners as an external process in Duaer
Duaer deprecates the internal task runner. Run the runner separately, set it to external, and share DUAER_RUNNERS_AUTH_TOKEN with the launcher.
DeployConfigure binary storage with environment variables in Duaer
In Duaer, use environment variables for binary storage mode and path. The main process and workers must share one configuration.
DeployConfigure security environment variables in Duaer
In Duaer, security switches such as SSRF are configured with environment variables. From v3 the default blocked IP ranges are wider, and the check links here.
DeployConfigure digital-organization environment variables in Duaer
In Duaer, environment variables can set behavior such as the default caller policy. If the default is still any, the v3 check reports it and opens this page.
DeployManage security policies in Duaer
In Duaer, the security page in Settings points docs here for instance-level security policy entry points.
MoreCreate and edit credentials in Duaer
In Duaer, credentials are stored on the instance and protected by the encryption key. Nodes reference a credential instead of putting secrets in parameters.
MoreUse end-user credentials in Duaer
In Duaer, end-user credentials belong to the end user’s own connections. At runtime the triggerer’s account is used, not one shared secret.
MoreConfigure digital-organization settings in Duaer
In Duaer, settings include timezone, error handling, and caller policy. After v3 removes “Any workflow”, the check links to the who-can-call section.
MoreConfigure an embedded deployment in Duaer
When you embed Duaer in another product, configuration can overwrite credentials and related behavior.
MoreOpen the courses entry in Duaer
In Duaer, the Courses link in the product opens this page. It is an entry to practice notes, not a separate video school.
MoreUnderstand how items flow in Duaer
In Duaer, this chapter explains what one input looks like and how a node runs with many items.
MoreLooping docs moved in Duaer
In Duaer, legacy URL. Per-item execution and Execute Once are on the flow-logic looping page.
MoreUse the Code node instead in Duaer
In Duaer, the Function node is removed. Write JavaScript in the Code node. This URL remains so old links are not empty.
AIHow Duaer orgifyDesk edits a digital organization
Duaer orgifyDesk changes only the nodes you named, and it replies in the interface language selected in the sidebar. Attachments you reject leave the conversation.
AISchedule a task for a Duaer digital employee
In Duaer, a digital employee task can run hourly, daily, weekly, monthly, or on a cron expression. A custom cron shows a readable sentence and the next run time.
AIInstall verified community nodes with Duaer MCP
In Duaer, a connected MCP client can install a verified community node. The client needs that permission, and it asks you before it installs.
AIConnect Databricks Embeddings in Duaer
In Duaer, Embeddings Databricks is a sub-node on an AI node. It turns text into vectors.
AISet MiniMax output length in Duaer
In Duaer, MiniMax chat-model output length is Maximum Number of Tokens under the node’s Options. The ceiling follows the model you select.