Skip to main content
In fintech, the difference between a deposit and revenue is fundamental, yet often misinterpreted by LLMs without additional tuning. To provide accurate insights, your model needs to define the “Golden Rules” of your ledger, specifically how signs (positive vs. negative) and transaction statuses are interpreted. By embedding your fintech-specific logic directly into the model, topic, and view layers, you ensure that Omni’s AI operates as a specialized financial analyst. This structured approach reduces hallucinations in critical reporting like AUM, delinquency rates, and net worth calculations.

Why AI context matters

Fintech data is notoriously nuanced. Without specific context, AI might:
  • Treat a loan balance as a positive asset for a customer
  • Double-count internal ACH transfers as revenue
  • Misinterpret liability-centric ledger conventions
By providing explicit guardrails, you ensure Omni’s AI operates as a specialized financial analyst that understands liability-centric ledgers and regulatory risk states.

The AI context hierarchy

Omni allows you to layer context at different levels of your data model. For fintech, this hierarchy ensures that global rules (like currency) are respected while specific logic (like loan delinquency) is applied only where relevant.

Requirements

To implement this example in your own Omni instance, you’ll need:
  • Familiarity with Omni’s modeling layer
  • Permissions in Omni that allow you to edit a shared model
  • A connected data source that contains fintech or banking-related data
1

Setting universal rules in the model file

The model file is where you establish your “Golden Rules.” These rules apply across every query the AI generates, ensuring consistent handling of inflows, outflows, and reporting currencies.
2

Setting dataset logic in the topic

Topics represent the “Customer 360” view. Use the topic-level ai_context to define calculated metrics like Assets Under Management (AUM) or Wallet Share so the AI doesn’t have to guess which accounts to include in a balance check.
3

Adding precision at the view level

View-level context handles the specific quirks of your tables. For example, you can instruct the AI to ignore certain dimensions (like birth years) when analyzing business entities or define which specific statuses represent a “total loss” for the bank.

Iterating on AI context

Improving AI quality is an iterative process. As you launch new financial products or change your lending criteria, update your context. Think of AI context as living documentation for your ledger: the more precise you are, the less time your team spends making corrections. Iteration involves a feedback loop between user queries and model updates:
  1. Monitor: Use the AI usage dashboard in the Analytics section to find queries with negative (👎) feedback.
  2. Identify: Did the AI fail due to a cryptic name, a missing join, or a lack of business logic?
  3. Tune: Update the YAML at the appropriate level (model, topic, view).
  4. Verify: Re-run the prompt in the Query Helper to ensure changes work as expected.
  5. Update for product launches: When your platform introduces a new payment rail like FedNow or a new loan product, update the all_values and ai_context parameters to reflect the new taxonomy.
When you correct the AI in a chat session (e.g., "Actually, always use Fiscal Year"), click the (brain) icon to have the AI learn from the conversation and propose model changes to incorporate the correction.

Next steps