Area: Product
Sub-Area: Query Summarization
Applies to: Cloud
Issue
The Summarize button on a query doesn't appear, or it fails to return a summary. When it fails, DataHub shows this message: "The AI service encountered an error. Please try again in a few moments. If the issue persists, contact your DataHub administrator."
You Might Be Asking
- Where is the Summarize button?
- Why can't I see the Summarize button?
- Which release fixed Summarize timeouts?
- What does "The AI service encountered an error" mean?
Cause
Summarize is part of AI documentation, a DataHub Cloud feature. The button shows in the query modal only when inference is enabled for the query. That needs the Documentation AI setting turned on.
When you click Summarize, DataHub sends the query's SQL statement to the AI service. If the AI service returns no result, DataHub logs an error and shows the message above.
No released version is confirmed as a fix for query summarization failures or timeouts. Upgrading is not a documented fix.
Solution
- Check that AI documentation is on. Go to Settings > AI and enable Documentation AI. Without this setting, the Summarize button doesn't appear.
- Open a dataset and go to its Queries tab.
- Open a query. The query modal shows a panel with a Summarize button. See Query Entities for the Query entity.
- Click Summarize.
If Summarize still fails, contact DataHub Support. Include the query URN and the time of the failure.