| title | AI Functions (Transact-SQL) | |
|---|---|---|
| description | Use AI functions to integrate relational data with AI inference endpoints. | |
| author | JetterMcTedder | |
| ms.author | bspendolini | |
| ms.reviewer | randolphwest | |
| ms.date | 04/30/2025 | |
| ms.service | sql | |
| ms.subservice | t-sql | |
| ms.topic | reference | |
| ms.custom |
|
|
| helpviewer_keywords |
|
|
| dev_langs |
|
|
| monikerRange | =azuresqldb-current || >=sql-server-ver17 || >=sql-server-linux-ver17 |
[!INCLUDE sqlserver2025]
The functions described in this article provide built-in support for AI and the creation of AI enabled applications.
| Function | Description |
|---|---|
| AI_GENERATE_EMBEDDINGS | Create embeddings (vector arrays) from text expressions |
| AI_GENERATE_CHUNKS | Create chunks of text from text expressions based on size and overlap parameters |
For more info about the built-in support for AI in the database, review the following articles: