Overview
Oracle Trusted Answer Search maps natural-language questions to curated search targets that applications can use to render approved reports, URLs, or SQL-driven views. This overview describes the product approach, architecture, core concepts, and search flow.
What Is Trusted Answer Search?
Oracle Trusted Answer Search is a purpose-built language-to-target mapping system for enterprise applications. It maps natural-language user questions to curated, application-defined search targets, such as reports, URLs, or SQL-driven views.
Trusted Answer Search is designed for scenarios where accuracy, speed, security, and repeatability are required. Instead of generating free-form responses, the platform returns curated, structured results that the application can use to render the appropriate report or direct the user to the right page.
Trusted Answer Search combines Oracle AI Vector Search, lexical search, re-ranking techniques, and optional LLM-assisted re-ranking to improve relevance. It also incorporates feedback-assisted multi-vector search so administrators can incorporate human feedback and continuously improve quality over time.
The platform includes operational controls for enterprise deployment, including change management, versioning, query regression analysis, and staged testing.
The Trusted Answer Search platform is intended to be integrated into applications that want to expose a natural language interface to their users to access the application’s functionality and reports.
Trusted Search Versus Agentic AI
The Enterprise Requirement
Many application experiences require deterministic and auditable outcomes. Users expect the same question to produce the same result, and organizations must ensure confidential data is never exposed.
Limits of General Agentic Patterns for Bounded Tasks
General-purpose Large-Language Model (LLM) and Retrieval-Augmented Generation (RAG) approaches are effective for broad, open-ended questions. However, for bounded, application-specific questions, they can introduce the following issues:
-
Non-deterministic output and potential hallucinations
-
Higher latency and compute cost than required
-
Variable responses across model updates
-
Limited understanding of enterprise-specific jargon since LLMs are not trained on it
-
Low reliability of NL2SQL for complex enterprise schemas
Trusted Answer Search Approach
Trusted Answer Search addresses these issues by using constrained retrieval and controlled outputs:
-
Manages search spaces that contain the search targets.
-
Enables creation of search targets within search spaces. These search targets (URL to direct the user to, reports to show to the user, etc.) are associated with sample questions and descriptions in natural language.
-
Maps natural language questions posed by users to search targets using vector similarity and information retrieval. The natural language descriptions and sample questions associated with search targets are used by multi-vector search and information retrieval algorithms to retrieve the right search target.
-
Returns pre-curated, non-LLM generated responses that the application interprets to reliably take next steps such as opening a specific report, or redirecting the user to the URL.
-
Supports extraction of parameters from the user’s query, for example: dates, regions, categories, people, companies. These parameters are returned to the application along with the target.
-
Enables feedback and correction workflows so that search space experts can review mismatches, mark matches as valid, propose new search target descriptions or sample questions, or create new search targets, creating a structured loop for improving quality over time.
-
Includes change management and versioning for safe rollout.
-
Preserves security boundaries by relying on targets that are already built to honor end-user identity.
-
Provides out-of-the-box administration and end-user experiences, plus APIs for custom integration.
The result is a practical, enterprise pattern for trusted, repeatable language interfaces.
Architecture and Concepts
Architecture
Trusted Answer Search includes five components:
-
Admin APEX application: used by search space experts to configure and manage search spaces
-
Portal APEX application: ready-made end-user experience that can be deployed by enterprise teams
-
Search Widgets: pre-built JavaScript widgets that embed Trusted Answer Search into an existing application page as a search bar or floating search icon
-
Search API: used by developers who want the maximum flexibility to integrate the Trusted Answer Search solution into their application or platform, and who prefer not to use the packaged APEX applications
-
Search back end: the core Trusted Answer Search platform containing code and metadata built on Oracle AI Database 26ai.
Personas and Access
-
Search Space Users: End-users can search using natural language and provide feedback within allowable search spaces
-
Search Space Experts: Experts have access to assigned search spaces. They curate targets and natural language descriptions for targets. Experts can perform all actions that a user can perform.
-
Search Administrators: Search Admins have complete access across all search spaces; they can manage search space experts, and perform all expert/user actions.

Core Concepts
Search Target
A Search Target is a curated asset, such as a URL to a report, chart, or SQL-generated view. It is defined by descriptions and sample queries, and is what the system retrieves in response to user questions. Trusted Answer Search does not store or index the reports or URLs in any way. It simply returns the target to the application that uses Trusted Answer Search, along with any parameters contained in the natural language query. The application is free to take action (such as sending the user to the URL) based on the target returned.
Consider a Wikimedia Insights application that helps users find readership, editor participation, edit activity, and media usage reports. If a user searches for italian page views, Trusted Answer Search can return targets such as Page Views by Country Map, Top Viewed Articles, and Total Page Views, along with resolved target inputs such as language: it.
Following is a list of examples spanning diverse application domains:
-
Retail banking portal: “Client Daily Cash Position” target links to an authenticated cash-balance dashboard filtered by account and settlement window.
-
Field service management app: “Open High-Severity Work Orders” target maps to a dispatch board that prefilters by territory and severity status.
-
Corporate finance analytics: “Quarterly Operating Expense Variance” target surfaces a workbook that compares budget versus actuals with drill-through filters by cost center.
Target Action
A Target Action is metadata associated with a Search Target. It is usually one of the following:
- URL to open a report or page
- SQL statement to populate a report view
Trusted Answer Search returns action metadata to the client; execution is handled by the client application.
For example, the Total Page Views - All Projects target can publish a URL action that opens a Wikimedia Statistics page with target inputs substituted into the URL:
https://stats.wikimedia.org/#/all-projects/reading/total-page-views/normal|bar|:period|~total|:frequency
When the user asks for monthly page views, Trusted Answer Search can resolve :frequency to monthly, and the application can open the resulting report URL.
Additional examples illustrate how applications consume target actions:
-
Retail banking target “Daily Cash Position” returns
https://portal.examplebank.com/reports/cash-position?customer_id=:CUSTOMER_ID, letting the application or website open the authenticated dashboard after substituting the resolved customer ID. -
Workforce planning target “Upcoming Staffing Gaps” returns a SQL query that filters upcoming shifts by
:REGION_CODE, allowing the APEX report to bind the extracted region value and render schedule gaps.
SELECT shift_id,
start_time,
end_time,
required_headcount,
scheduled_headcount
FROM workforce_shifts
WHERE region_code = :REGION_CODE
AND start_time BETWEEN SYSDATE AND SYSDATE + 7
AND scheduled_headcount < required_headcount
ORDER BY start_time;
Target Inputs
Target Inputs make URL and SQL actions dynamic. Placeholders in an action template are populated from values extracted from user queries.
Example URL template:
https://stats.wikimedia.org/#/:language.wikipedia.org/reading/page-views-by-country/normal|map|:period|~total|:frequency
In this example, if the user query includes a language such as italian, :language is replaced with the canonical value it. Configured defaults can also supply values such as :period and :frequency.
For example, Trusted Answer Search would return:
https://stats.wikimedia.org/#/it.wikipedia.org/reading/page-views-by-country/normal|map|2-year|~total|monthlywhen the user queries: “italian page views”https://stats.wikimedia.org/#/fr.wikipedia.org/reading/page-views-by-country/normal|map|2-year|~total|monthlywhen the user queries: “french page views”
The Target Input :language is linked to a Target Value Set that contains supported language codes and synonyms so that Trusted Answer Search only substitutes approved values or synonyms. Target value sets are described later in this section.
Target Value Sets
Target Value Sets define values used for extracting target inputs from a user query and substituting those extracted values into target actions. Three Target Value Set sources are supported:
- Static value sets: explicitly curated lists of values, with optional synonyms
- Table column-based value sets: values sourced from a database table column and synced as needed, with optional synonyms
- LLM-backed value sets: values extracted by a configured LLM profile according to a value-set instruction and optional output format
Synonyms can improve matching, while canonical values are used for action substitution.
In the Wikimedia example, a LANGUAGE Target Value Set might define canonical values such as it, fr, and de with synonyms such as italian, french, and german. A FREQUENCY Target Value Set might define values such as monthly with synonyms such as by month or month. Target Inputs reference these value sets so that user-friendly words can be resolved to the values required by the report URL.
Search Space
A Search Space is a versioned collection of search targets for a specific application domain. Teams can isolate changes, collaborate, compare versions, and promote approved updates. LLM re-ranking is optional and can be enabled or turned off for each search space.
In the Wikimedia example, the Search Space Expert maintains the WIKIMEDIA search space that groups targets such as Total Page Views, Top Viewed Articles, Page Views by Country Map, and editor activity reports. Experts can stage updates, review diffs, and promote a tested configuration to production once approvals are complete.
How It Works
Trusted Answer Search uses a hybrid retrieval pipeline that returns curated search targets rather than free-form generated answers. If LLM support is configured and LLM re-ranking is enabled for a search space, the system can use the configured LLM profile to re-rank candidate targets returned by hybrid retrieval. A Search Administrator controls how many hybrid retrieval candidates are passed to the LLM re-ranking step. If a search space uses LLM-backed Target Value Sets, the configured LLM profile can also extract target input values according to the Target Value Set instruction.
1. Query Normalization
The system normalizes user input before retrieval:
- Corrects common spelling errors (e.g., sevverity → severity)
- Normalizes morphology such as singular/plural forms (e.g., bugs → bug).
- Removes low-value stop words (e.g., the, show, a) while preserving domain terms
This produces normalized tokens and normalized query text.
2. Dual Retrieval
Semantic Retrieval
Vector similarity retrieval using Oracle AI Vector Search embeds query and corpus text to identify intent-level similarity. Corpus text includes target descriptions, target sample queries, and expert upvoted/downvoted user queries in search targets.
Semantic retrieval provides strong recall when wording differs.
Lexical Retrieval
Keyword-based matching retrieves targets from an inverted index built from:
- Target descriptions
- Sample queries
- Expert-reviewed user feedback queries
- Target value sets and synonyms linked to a search target’s inputs
Lexical retrieval provides high precision when terminology aligns.
3. Re-ranking and Fusion
Ranked lexical and semantic result lists are fused into a single ordered list using a re-ranking algorithm. This balances exact token match with semantic intent match.
If LLM support is enabled for the deployment and LLM re-ranking is selected for the search space, Trusted Answer Search can apply an LLM re-ranking step after hybrid retrieval. This step evaluates the configured number of candidate targets returned by lexical and semantic retrieval and adjusts their ordering to improve relevance. The system still returns curated search target metadata to the application rather than a free-form generated answer.
4. Target Input Extraction
For targets with dynamic actions, the system extracts target input values using the configured Target Value Set. For static and table-column value sets, it matches normalized query terms against values and synonyms, then substitutes canonical values into URL or SQL templates. For LLM-backed value sets, it sends the query and extraction instruction to the configured LLM profile, parses the extracted value, and substitutes that value into the target action.
Example Walkthrough
User query:
italian page views
-
Normalize the query.
- Spelling correction: No typos detected.
- Morphology handling: Normalize “views” to “view” for matching. Normalized text: “italian page view”
- Stop-word filtering: No low-value words need to be removed. Normalized keywords: italian, page, view.
-
Run dual retrieval.
Lexical search:
- Matches detected: “page” and “views” across target descriptions and sample queries.
- Target Value Set matches:
italianresolves to language valueit. - Ranked lexical results:
- Rank 1: “Page Views by Country Map”
- Rank 2: “Total Page Views”
- Rank 3: “Top Viewed Articles”
Semantic search:
- Ranked semantic results:
- Rank 1: “Page Views by Country Map” (strong match for page-view analysis by country/language)
- Rank 2: “Top Viewed Articles”
- Rank 3: “Total Page Views”
-
Re-rank and fuse the lexical and semantic lists.
- Rank 1: “Page Views by Country Map” — combines strong lexical matches for page views with semantic relevance to the country/language-oriented query.
- Rank 2: “Top Viewed Articles” — remains relevant because it also answers page-view questions for the resolved language.
- Rank 3: “Total Page Views” — remains in the result set because it covers overall page-view volume.
If LLM re-ranking is enabled for the search space, the configured number of candidates from the fused list can be passed to the LLM profile for an additional relevance ordering step before the final ranked targets are returned.
-
Extract target inputs.
For the “Page Views by Country Map” target, Trusted Answer Search resolves and displays target input values for the returned target:
languageresolves toitfrom “italian”.perioduses the configured value2-year.projectuses the configured valuewikipedia.frequencyuses the configured valuemonthlywhere applicable.
The resulting URL opens the Wikimedia Statistics report with the resolved language and configured defaults, for example:
https://stats.wikimedia.org/#/it.wikipedia.org/reading/page-views-by-country/normal|map|2-year|~total|monthly

This hybrid approach ensures users get fast, consistent, and trustworthy results while keeping the returned actions tied to curated search targets.
Feedback-Aware Relevance
Trusted Answer Search incorporates feedback from the Search Space Expert to improve retrieval quality:
-
Positive signals: User queries with upvoted search targets participate in the semantic search to increase the surface area of a Search Target in the embeddings space (i.e., through multi-vector search) and also contribute to the keywords in a search target for lexical search, increasing both lexical and semantic salience.
-
Negative signals: User queries with downvoted targets help remove irrelevant targets, reducing future false positives.
Reliability Characteristics
- Deterministic responses for a fixed corpus and configuration
- Independent lexical and vector indexes for performance
- Incremental indexing for new and updated targets
- Interpretable retrieval and ranking pipeline without generative response variability