Documentation
hila platform
Applications
Conversational Finance
VIANAI
Documentation
Conversational Finance

    Update SQL for answers from databases

    You can view and edit the underlying SQL queries when you find answers are not accurate.

    For admins, when you receive an answer in the database flow, an Explain button appears below the answer.

    Explain

    When you click the Explain button, the SQL Breakdown pane appears, showing the SQL query that generated the answer.

    SQL Breakdown

    • Given Query — the original question you asked.
    • Retrieved Queries &mdash: the query hila sent to the LLM. (snippet shown here)
    • Generated SQL — the SQL query returned from the LLM. (snippet shown here)
    • SQL Explanation — a natural language description of the SQL query. This also appears under the answer as the Response explanation
    • Generated Summary — the summary of the data that also appears under the table or chart in the answer.
    TABLE OF CONTENTS