Add AI Model and chat with your data
Add an OpenAI model and chat with the NYC Taxi Trips dataset
Adding a Model Provider
name: my-first-app
kind: Spicepod
version: v1beta1
datasets:
- from: s3://spiceai-demo-datasets/taxi_trips/2024/
name: samples.taxi_trips
description: Taxi trips dataset from Spice.ai demo datasets.
params:
file_format: parquet
models:
- from: openai:gpt-4o
name: gpt-4o
params:
endpoint: https://api.openai.com/v1
openai_api_key: ${secrets:OPENAI_API_KEY}
tools: auto[Optional] Call chat completions API using cURL
Last updated
Was this helpful?