Data-Agent is a suite of intelligent data processing features provided by PolarDB for AI. It covers the entire workflow, from asking questions and processing data to delivering insights.
You can ask Data-Agent questions about your data in natural language. The system automatically performs natural language to SQL (NL2SQL) conversion based on a large language model to generate efficient and reusable SQL statements.
After executing the SQL statements in the database to retrieve the results, you can summarize the results or generate charts.
When you invoke the ai_nl2chart model, Data-Agent automatically selects the most suitable visualization method based on data features and analysis intent, and renders an interactive chart in real time.
When you invoke the ai_nl2summarymodel, Data-Agent summarizes the data and extracts core insights, objectives, and business recommendations.
PolarDB for AI also supports integrating external data sources with Data-Agent. Whether your business data is stored in external databases, such as PostgreSQL, Hive, and Elasticsearch, or you want to query data without creating tables, Data-Agent enables you to quickly run natural language queries based on large language models.