최종 수정: 에
AI_SUMMARIZE
설명
텍스트의 간결한 요약을 생성하는 데 사용됩니다.
구문
AI_SUMMARIZE([<resource_name>], <text>)
매개변수
| 매개변수 | 설명 |
|---|---|
<resource_name> | 지정된 리소스 이름 |
<text> | 요약할 텍스트 |
반환값
텍스트의 간결한 요약을 반환합니다.
입력값 중 하나라도 NULL이면 NULL을 반환합니다.
대규모 언어 모델이 결과를 생성하므로 출력이 달라질 수 있습니다.
예제
SET default_ai_resource = 'resource_name';
SELECT AI_SUMMARIZE('Apache Doris is an MPP-based real-time data warehouse known for its high query speed.') AS Result;
+-------------------------------------------------------------------+
| Result |
+-------------------------------------------------------------------+
| Apache Doris is a high-speed, MPP-based real-time data warehouse. |
+-------------------------------------------------------------------+
SELECT AI_SUMMARIZE('resource_name','Doris supports high-concurrency, real-time analytics and is widely used in business intelligence scenarios.') AS Result;
+------------------------------------------------------------------------------------------------+
| Result |
+------------------------------------------------------------------------------------------------+
| Doris is a high-concurrency, real-time analytics tool commonly used for business intelligence. |
+------------------------------------------------------------------------------------------------+