Skip to content

Agent cannot answer questions about using Texera from the documentation #9421

Description

@eugenegujing

Feature Summary

The questions new users ask the agent are mostly about using Texera, not about building a workflow. From #9246, "where is the workflow that was shared with me", "why is the Select button grayed out", "where are my results after a run".

The answers are in docs/ (219 pages written for users) and on texera.apache.org, and the agent can reach neither. Its four tools, addOperator, modifyOperator, deleteOperator and executeOperator, all act on the workflow. So it answers these questions from the model's own memory, which is often out of date or about a different version, and it has no page to point the user to.

Proposed Solution or Design

Give the agent two read-only tools over the project's own docs, searchDocs(query) to find the matching sections and readDoc(path, section?) to read them, and show what they return in the agent's context. For a question about how Texera works it searches the docs, reads the page, and answers with a link, without editing the workflow.

The docs are bundled into the agent-service image at build time and indexed in memory when the first agent is created, with a plain keyword index. No embeddings, no model download, no new dependency. Details and the bundle versus fetch trade-off are in #9377, change 2.

Affected Area

Other

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions