AI Functions Overview#
Daft is purpose-built for scaling multimodal AI workloads. AI Functions make it easy to run models on data whether you're generating embeddings, classifying text, or prompting language models. Daft's built-in Image and File abstractions simplify data handling whether it's on your laptop or in the cloud.
The current list of AI functions includes:
prompt- Generate text completions from language modelsembed_text- Create vector embeddings from textembed_image- Create vector embeddings from imagesclassify_text- Zero-shot text classificationclassify_image- Zero-shot image classification
For more detailed information on the Providers, see AI Providers Overview. If you'd like to contribute a new AI function or expand provider support, check out Contributing New AI Functions & Providers.
See Also#
- Working with Text - Text processing and chunking strategies
- Working with Images - Image processing and transformations
- Embeddings - Vector representations for RAG and search
- Custom Code with
@daft.func- Write custom Python functions for specialized processing - Batch Inference - End-to-end batch inference patterns