This document is an overview of all the interfaces and extension points in Spice.ai.
| Component | Description | Definition Link |
|---|---|---|
| Data Connector | Represents the source of data to the Spice.ai runtime. Specifies how to retrieve data, stream data updates, and write data back. | dataconnector.rs |
| Data Accelerator | Used by the runtime to store accelerated data locally. Specify which data accelerator to use via engine & mode fields. |
dataaccelerator.rs |
| Catalog Connector | Catalog Connectors connect to external catalog providers and make their tables available for federated SQL query in Spice. Implemented as an optional function on the DataConnector trait. |
dataconnector.rs |
| Secret Stores | A Secret Store is a location where secrets are stored and can be used to store sensitive data, like passwords, tokens, and secret keys. | secrets.rs |
| Models | A machine-learning (ML) or language model (LLM) to load for inferencing. | modelsource.rs |
| Embeddings | Embeddings map high-dimensional data to a lower-dimensional vector space. | embeddings.rs |