We are excited to announce the release of Spice.ai v0.3.1-alpha! 🎃
This point release focuses on fixes and improvements to v0.3-alpha. Highlights include the ability to specify both seed and runtime data, to select custom named fields for time
and tags
, a new spice upgrade
command and several bug fixes.
A special acknowledgment to @Adm28, who added the new spice upgrade
command, which enables the CLI to self-update, which in turn will auto-update the runtime.
The CLI can now be updated using the new spice upgrade
command. This command will check for, download, and install the latest Spice.ai CLI release, which will become active on it's next run.
When run, the CLI will check for the matching version of the Spice.ai runtime, and will automatically download and install it as necessary.
The version of both the Spice.ai CLI and runtime can be checked with the spice version
CLI command.
When working with streaming data sources, like market prices, it's often also useful to seed the dataspace with historical data. Spice.ai enables this with the new seed_data
node in the dataspace configuration. The syntax is exactly the same as the data
syntax. For example:
The seed data will be fetched first, before the runtime data is initialized. Both sets of connectors and processors use the dataspace scoped measurements
, categories
and tags
for processing, and both data sources are merged in pod-scoped observation timeline.
Before v0.3.1-alpha, data was required to include a specific time
field. In v0.3.1-alpha, the JSON and CSV data processors now support the ability to select a specific field to populate the time field. An example selector to use the created_at
column for time
is:
Before v0.3.1-alpha, tags were required to be placed in a _tags
field. In v0.3.1-alpha, any field can now be selected to populate tags. Tags are pod-unique string values, and the union of all selected fields will make up the resulting tag list. For example:
spice upgrade
command for self-upgrade of the Spice.ai CLI.seed_data
node to the dataspace configuration, enabling the dataspace to be seeded with an alternative source of data.time_selector
parameter.selectors
list.Spice.ai started with the vision to make AI easy for developers. We are building Spice.ai in the open and with the community. Reach out on Discord or by email to get involved. We will also be starting a community call series soon!