🧑🍳 Spice.ai OSS Cookbook
79 guides and samples to help you build data-grounded AI apps and agents with Spice.ai Open-Source. Find ready-to-use examples for data acceleration, AI agents, LLM memory, and more.
Contribute to the Cookbook on GitHub!
Featured Recipes
Sample Applications and Guides
Example apps and guides for real-world Spice.ai usage and best practices. Sample application implementing the CQRS pattern with Spice.Command Query Responsibility Segregation (CQRS)
Core Features
Discover core capabilities like data federation, acceleration, search, and LLM inference to enhance your applications.
Models, AI, and Agents
Integrate with popular AI models, LLMs, and build intelligent agents using Spice.ai. Ask natural language (NLP) questions of your datasets using the built-in text-to-SQL tool. Combine multiple search methods using Reciprocal Rank Fusion (RRF) for improved search results.Text to SQL (NSQL)
Hybrid-Search with RRF
Data Acceleration, Materialization, and Federation
Optimize query performance with local acceleration, data materialization, and federation techniques.
Search & Embeddings
Implement advanced search capabilities and leverage embeddings for vector similarity search. Combine multiple search methods using Reciprocal Rank Fusion (RRF) for improved search results.Hybrid-Search with RRF
Data Connectors
Connect to various data sources and systems to query, analyze, and manage your data efficiently. Connect to and query Databricks instances using Delta Lake or Spark Connect. Stream MySQL changes using Debezium with SASL/SCRAM authentication. Combine real-time data streaming from Kafka with other datasets using Spice.Databricks Connector
Debezium CDC with SASL/SCRAM
Live Orders Analytics with Apache Kafka Data Connector
Catalog Connectors
Connect to data catalogs to discover, manage, and utilize your data assets effectively. Connect to Iceberg catalog with support for reading and writing Iceberg tables.Iceberg Catalog Connector
Performance and Benchmarking
Measure and optimize performance with benchmarks and best practices for your Spice.ai deployment.
Configuration
Fine-tune your Spice.ai deployment with advanced configuration options for optimal performance.
SDKs
Use SDKs for different programming languages. Query Spice.ai using the JavaScript (Node.js) SDK with examples.Spice.js JavaScript (Node.js) SDK
Security
Secure your Spice.ai deployment and data access with robust security practices and configurations.