Add ai functions to docs and SQL reference #1174
Merged
+261
−1
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This pull request adds comprehensive documentation for the new AI SQL functions, specifically the
ai()andembed()functions, which allow direct integration of large language models (LLMs) and embedding models within SQL queries. It updates several documentation sections to reference and explain these functions, including configuration, usage, and examples.Major documentation additions and updates:
1. New AI SQL Functions Documentation
ai.mddetailing theai()function for LLM text generation and theembed()function for vector embeddings, including arguments, behavior, configuration, limits, and multiple usage examples.2. SQL Reference Updates
ai()function, including usage, arguments, concurrency, limits, and configuration. [1] [2]3. Feature and Model Documentation Enhancements
ai()function.ai()function in the Spicepod models reference.