From 95e06b7cfa05cc620f13a1f16c4bc54d8b879b9c Mon Sep 17 00:00:00 2001 From: Jungsun Kim <33597974+SQLBigEyesDad@users.noreply.github.com> Date: Sat, 16 Aug 2025 19:29:48 +0900 Subject: [PATCH] Update ai-generate-chunks-transact-sql.md chunk_type = 'FIXED', string type --- .../t-sql/functions/ai-generate-chunks-transact-sql.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/docs/t-sql/functions/ai-generate-chunks-transact-sql.md b/docs/t-sql/functions/ai-generate-chunks-transact-sql.md index fc15b0038ab..d87c0bb3f2e 100644 --- a/docs/t-sql/functions/ai-generate-chunks-transact-sql.md +++ b/docs/t-sql/functions/ai-generate-chunks-transact-sql.md @@ -41,7 +41,7 @@ To change the compatibility level of a database, refer to [View or change the co ```syntaxsql AI_GENERATE_CHUNKS (source = text_expression - , chunk_type = FIXED + , chunk_type = 'FIXED' [ , chunk_size = numeric_expression ] [ , overlap = numeric_expression ] [ , enable_chunk_set_id = numeric_expression ] @@ -125,7 +125,7 @@ GO SELECT c.* FROM textchunk t CROSS APPLY - AI_GENERATE_CHUNKS(source = text_to_chunk, chunk_type = FIXED, chunk_size = 50, enable_chunk_set_id = 1) c + AI_GENERATE_CHUNKS(source = text_to_chunk, chunk_type = 'FIXED', chunk_size = 50, enable_chunk_set_id = 1) c ``` | chunk | chunk_order | chunk_offset | chunk_length | chunk_set_id | @@ -158,7 +158,7 @@ SELECT FROM docs_table t CROSS APPLY - AI_GENERATE_CHUNKS(source = text_column, chunk_type = FIXED, chunk_size = 100) c + AI_GENERATE_CHUNKS(source = text_column, chunk_type = 'FIXED', chunk_size = 100) c ``` ### B. Chunk a text column with overlap @@ -171,7 +171,7 @@ SELECT FROM docs_table t CROSS APPLY - AI_GENERATE_CHUNKS(source = text_column, chunk_type = FIXED, chunk_size = 100, overlap = 10) c + AI_GENERATE_CHUNKS(source = text_column, chunk_type = 'FIXED', chunk_size = 100, overlap = 10) c ``` ### C. Use AI_GENERATE_EMBEDDINGS with AI_GENERATE_CHUNKS @@ -187,7 +187,7 @@ SELECT FROM table_with_text t CROSS APPLY - AI_GENERATE_CHUNKS(source = t.text_to_chunk, chunk_type = FIXED, chunk_size = 100) c + AI_GENERATE_CHUNKS(source = t.text_to_chunk, chunk_type = 'FIXED', chunk_size = 100) c ``` ## Related content