ASK-ZARA-UI
Ask ZARA Interaction Model - UX & Navigation
This section describes how users interact with Ask ZARA inside the ZAYAZ documentation environment and how contextual information is passed from the UI to the Ask API.
Ask ZARA is designed to be accessible from multiple entry points across the documentation platform while preserving architectural context.
1 Navigation Entry Points
Two primary navigation routes provide access to the assistant.
Search
Route: /search
Purpose:
- semantic search across documentation
- schema definitions
- signal registries
- table relationships
- architecture specifications
Search is optimized for document discovery, not conversational reasoning.
Ask ZARA
Route: /ask
Purpose:
- conversational exploration of the ZAYAZ platform
- architecture reasoning
- dependency analysis
- implementation guidance
Ask ZARA combines semantic retrieval with architecture-aware reasoning to generate answers with citations.
2 Contextual Entry Points
Ask ZARA can also be launched directly from documentation pages, allowing users to ask questions about the content they are currently viewing.
From a Specification Page
Specification pages may include an “Ask ZARA about this spec” action.
When invoked:
- The Ask interface opens.
- The current document slug is passed as a contextual hint.
- Suggested prompts are displayed.
Example prompts:
- “Explain this engine to me.”
- “Summarize the risk model in plain English.”
- “Which engines depend on this signal?”
Example API hint:
{
"focusSlug": "/micro-engines/pef-me"
}
This helps the retrieval layer prioritize results related to the active specification.
3. Context Passing Model
The Ask UI can pass contextual signals to the backend to improve retrieval quality.
Examples include:
| Context Parameter | Purpose |
|---|---|
| focusSlug | Prioritize results related to the current document |
| architectureCluster | Limit retrieval to a subsystem |
| engineId | Focus queries on a specific engine |
These hints are used only during retrieval and do not constrain the model’s reasoning.
4 Example UX Flow
Typical interaction:
- User reads a micro-engine specification.
- User clicks Ask ZARA about this spec.
- Ask ZARA opens with contextual hints.
- User asks:
“Which tables feed into this engine?”
The API receives:
{
"question": "...",
"focusSlug": "/micro-engines/pef-me"
}
The retrieval pipeline then prioritizes architecture nodes related to the PEF-ME engine.
5 Design Principles
The Ask ZARA UX follows several principles:
Context awareness
Users should be able to ask questions without repeating the current topic.
Low-friction entry
Ask ZARA must be reachable within one click from any architecture page.
Traceable answers
All answers include citations to the relevant documentation sections.
APPENDIX A - Questions Ask ZARA Can Answer
Ask ZARA is designed to help developers, architects, and auditors explore the ZAYAZ platform by reasoning across documentation, registries, schemas, and system metadata.
The assistant combines semantic search with architecture-aware retrieval to answer questions that normally require reading multiple specifications.
Below are examples of questions Ask ZARA can help answer.
A.1. Architecture Understanding
Ask ZARA can explain how major parts of the system work.
Examples:
- “Explain the purpose of the PEF-ME engine.”
- “How does the SEM module extrapolate missing ESG data?”
- “What is the role of the Compliance Surveillance Engine (COSE)?”
- “Describe the architecture of the ZAYAZ Computation Hub.”
These questions typically combine information from:
- engine specifications
- system architecture documentation
- module descriptions
A.2. Dependency & Impact Analysis
Ask ZARA can trace relationships between signals, engines, tables, and modules.
Examples:
- “Which engines depend on this signal?”
- “What modules reference this table?”
- “What breaks if we modify this API contract?”
- “Which downstream systems use this schema field?”
These answers rely on indexed metadata such as:
used_by_enginestable_relationshipsclassificationlink_group
This allows Ask ZARA to reconstruct architecture paths like:
engine → signal → table → schema → downstream engine