The AI.CHUNK_DOCUMENT function is a table-valued function that splits
Share
Services
## Feature
Feature
The[AI.CHUNK\_DOCUMENT function](https://cloud.google.com/bigquery/docs/reference/standard-sql/bigqueryml-syntax-ai-chunk-document)is a table-valued function that splits unstructured documents into semantically coherent text chunks optimized for vector embeddings and Retrieval-Augmented Generation (RAG) workflows.
This function is[generally available](https://cloud.google.com/products#product-launch-stages)(GA).