From Conversation to Execution: Selecting and Evaluating General AI Assistants

    This article provides a comprehensive framework for evaluating and selecting general AI assistants capable of executing multi-step tasks. It covers five key evaluation dimensions—task completion quality, document processing, tool invocation, data security, and cost models—and outlines a practical workflow for building an evaluation dataset, making paid decisions, and mitigating operational risks.

    1. Background: From Answering Questions to Completing Tasks

    In the past year or two, AI assistants were primarily used for text generation, summarizing materials, and code assistance. Today, these tools increasingly handle multi-step operations. Typical scenarios include generating reports after reading multiple files, querying data through external services, executing predefined workflows step-by-step, and self-checking or correcting errors when they occur.

    The capability boundary has shifted. Simply comparing “which answers more accurately” is no longer sufficient for selection, because the critical questions in real-world workflows are: Can this tool reliably complete tasks within my process? How high is the cost of errors? Is the data controllable?

    Before selection, three things must be clarified: the primary tasks, the usage frequency and team size, and the level of data sensitivity. These three factors determine the focus of subsequent evaluations.

    2. Five Dimensions for Capability Evaluation

    1. Task Completion Quality

    Task completion quality refers to the assistant’s reliability in delivering required results, including instruction adherence, multi-step planning, and self-verification. Evaluation should focus on the following metrics:

    • First-time completion rate: The percentage of results that can be used directly without manual follow-up.
    • Rework count: The average number of revision rounds needed from request to usable result.
    • Error types: Whether errors are factual, formatting, or missing critical conditions.

    A fixed set of test cases should be used for the same type of task to ensure reproducible comparisons between different tools.

    2. Document Processing Capability

    Document processing capability includes long document comprehension, multi-file correlation, and structured extraction. Special attention must be paid to context length limits. When exceeded, some content will be truncated or ignored, manifesting as responses missing critical conditions mentioned earlier. Specific limits depend on official documentation, and selection should be based on actual test results rather than marketing numbers.

    3. Tool Invocation and Automation

    Tool invocation refers to the assistant’s ability to access external systems via APIs, commonly including querying databases, reading/writing object storage, sending message notifications, and viewing monitoring alerts. Evaluation should confirm three points: what categories of tools are supported, whether the permission scope for each tool can be configured individually, and whether the invocation process has auditable logs.

    Permission design should follow the principle of least privilege. The assistant should only have the access needed for the current task, such as read-only access to a specific directory, rather than administrative privileges for the entire account.

    4. Data Security and Compliance

    Data security is the most easily underestimated dimension in enterprise selection. The following should be verified:

    • Whether input data is used for model training, and if this option can be disabled.
    • Data retention duration and the handling process for deletion requests.
    • Whether data isolation, access control, and operation auditing are supported.
    • Whether it meets the compliance requirements of your industry or region.

    The above terms should be based on formal agreements and documentation published by the service provider, not verbal statements.

    5. Cost and Quota Model

    Common billing methods include usage-based and subscription-based. Usage-based costs are directly tied to invocation volume, suitable for highly variable scenarios. Subscription pricing offers a fixed unit price but usually comes with quota limits, resulting in downgrades or rate limiting when exceeded.

    The core metric for cost evaluation is the cost per effective task, which is the total cost divided by the number of successfully completed tasks. Looking only at the per-call price easily overlooks the hidden costs of rework.

    The table below summarizes the evaluation focus of the five dimensions:

    Dimension Core Question Recommended Verification Method
    Task Completion Quality Can results be used directly Use a fixed test case set and track first-time completion rate
    Document Processing Does long material omit key info Spot-check with long documents with known answers
    Tool Invocation Can permissions be finely controlled Configure least privilege and test if unauthorized access is blocked
    Data Security Are data usage and retention rules clear Review agreements line by line and confirm how to disable training
    Cost and Quota How much does a single effective task cost Record cost and successful task count during the trial period

    3. Replacing Subjective Impressions with Evaluation Datasets

    Subjective impressions are easily skewed by isolated cases. Building a small evaluation dataset makes comparison results more reliable. The dataset typically contains 20 to 50 cases, covering daily high-frequency tasks and a few edge cases.

    Each case should include the input, expected key points, and acceptable response time. Below is an example of a general evaluation structure, where the model invocation function is passed as a parameter for easy substitution with different services:

    1. from dataclasses import dataclass, field
    2. @dataclass
    3. class EvalCase:
    4. name: str
    5. prompt: str
    6. must_include: list[str] = field(default_factory=list)
    7. max_latency_s: float = 30.0
    8. def check_answer(answer: str, case: EvalCase) -> bool:
    9. """Check if the answer includes all necessary key points."""
    10. return all(keyword in answer for keyword in case.must_include)
    11. def run_eval(cases: list[EvalCase], ask_model) -> dict:
    12. """ask_model is the passed invocation function, returning (answer_text, elapsed_seconds)."""
    13. passed, latencies = 0, []
    14. for case in cases:
    15. answer, elapsed = ask_model(case.prompt)
    16. latencies.append(elapsed)
    17. if check_answer(answer, case) and elapsed <= case.max_latency_s:
    18. passed += 1
    19. return {
    20. "pass_rate": passed / len(cases),
    21. "avg_latency_s": sum(latencies) / len(latencies),
    22. }

    Keyword matching can only check if key points appear, not whether the phrasing is correct. Therefore, for critical tasks, manual spot-checks are still necessary, and error types should be recorded.

    4. Workflow for Paid Decision-Making

    The paid decision-making process can be divided into four steps.

    Step 1: Define usage scenarios. List the task types used weekly, estimated frequency, and average duration per task.

    Step 2: Conduct a time-limited trial. A trial period of two to four weeks is recommended, covering at least one complete work cycle. During the trial, record the completion status, rework count, and time consumed for each task.

    Step 3: Calculate the cost per effective task. Divide the total cost during the trial by the number of successfully completed tasks, and compare it with the time cost of manual completion for the same tasks.

    1. def cost_per_effective_task(total_cost: float,
    2. tasks_attempted: int,
    3. tasks_successful: int) -> float:
    4. """Cost per effective task: total cost divided by the number of successful tasks."""
    5. if tasks_successful == 0:
    6. raise ValueError("Number of successful tasks is 0, cannot calculate unit cost")
    7. return total_cost / tasks_successful

    Step 4: Determine quota and permission plans. Use trial data to determine the required quota scale and configure tool access according to the principle of least privilege. If multiple people in a team use it, also verify account management and auditing features.

    5. Risk Control During Implementation

    The assistant’s output must be verified before being used in formal scenarios. Common control measures include:

    • Fact-checking: Content involving numbers, dates, legal terms, and technical parameters must be cross-referenced with authoritative sources.
    • Code review: Code generated by the assistant should be tested and reviewed before being merged into the production environment.
    • High-risk operation confirmation: Actions such as deleting data, sending external content, modifying permissions, and initiating payments should require manual secondary confirmation.
    • Operation logs: Record the tools invoked by the assistant, their parameters, and results for post-hoc traceability.
    • Sensitive information masking: Remove ID numbers, API keys, customer privacy, and other sensitive content before input.

    6. Selection Checklist

    Before making a decision, you can confirm the following questions item by item:

    1. Is the pass rate of the evaluation dataset meeting the standard set by the team?
    2. Have there been omissions of critical information in long document tasks?
    3. Can tool permissions be configured individually per task?
    4. Are there written explanations for data usage, retention periods, and deletion processes?
    5. Is the cost per effective task lower than the manual cost?
    6. What high-risk errors occurred during the trial period, and are there corresponding control measures in place?

    The answers to these questions explain whether an assistant is suitable for your current workflow better than any single ranking.