テキストの簡潔なまとめを生成します。
構文
AI_SUMMARIZE([<resource_name>], <text>)
パラメーター
パラメーター | 説明 |
| 指定されたリソースの名前。 |
| 要約するテキスト。 |
戻り値
入力テキストの簡潔なまとめ。
入力値が NULL の場合、関数は NULL を返します。
結果は大規模言語モデル (LLM) によって生成されます。返される内容は異なる場合があります。
例
SET default_ai_resource = 'resource_name';
SELECT AI_SUMMARIZE('SelectDB is an MPP-based real-time data warehouse known for its high query speed.') AS Result;
+-------------------------------------------------------------------+
| Result |
+-------------------------------------------------------------------+
| SelectDB is a high-speed, MPP-based real-time data warehouse. |
+-------------------------------------------------------------------+
SELECT AI_SUMMARIZE('resourse_name','SelectDB supports high-concurrency, real-time analytics and is widely used in business intelligence scenarios.') AS Result;
+--------------------------------------------------------------------------------------------------+
| Result |
+--------------------------------------------------------------------------------------------------+
| SelectDB is a high-concurrency, real-time analytics tool commonly used for business intelligence.|
+--------------------------------------------------------------------------------------------------+