Skip to content

Commit 4154adc

Browse files
committed
Merge trunk into lukim/use-cases and add multi-tenant AI agents use case
2 parents 52cf156 + 5d90b44 commit 4154adc

294 files changed

Lines changed: 4165 additions & 1802 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

website/docs/api/HTTP/list.api.mdx

Lines changed: 0 additions & 64 deletions
This file was deleted.

website/docs/api/HTTP/post-eval.api.mdx

Lines changed: 0 additions & 72 deletions
This file was deleted.

website/docs/api/HTTP/sidebar.ts

Lines changed: 0 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -72,24 +72,6 @@ const sidebar: SidebarsConfig = {
7272
},
7373
],
7474
},
75-
{
76-
type: "category",
77-
label: "Evaluations",
78-
items: [
79-
{
80-
type: "doc",
81-
id: "api/HTTP/list",
82-
label: "List Evals",
83-
className: "api-method get",
84-
},
85-
{
86-
type: "doc",
87-
id: "api/HTTP/post-eval",
88-
label: "Run Eval",
89-
className: "api-method post",
90-
},
91-
],
92-
},
9375
{
9476
type: "category",
9577
label: "Iceberg",
@@ -196,12 +178,6 @@ const sidebar: SidebarsConfig = {
196178
type: "category",
197179
label: "Tools",
198180
items: [
199-
{
200-
type: "doc",
201-
id: "api/HTTP/list",
202-
label: "List Tools",
203-
className: "api-method get",
204-
},
205181
{
206182
type: "doc",
207183
id: "api/HTTP/post",

website/docs/cli/reference/chat.md

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -29,13 +29,10 @@ spice chat [flags] [<message>]
2929

3030
## Flags
3131

32-
- `--cloud` Use a Spice Cloud instance for chat. Requires `--api-key`.
33-
- `--endpoint <endpoint>` Specifies the remote Spice instance endpoint. Supports `http://`, `https://`, `grpc://`, or `grpc+tls://` schemes. For example, `--endpoint http://my-remote-host:8090` (HTTP) or `--endpoint grpc://my-remote-host:50051` (Arrow Flight/gRPC).
34-
- `--http-endpoint <endpoint>` (Deprecated) Runtime HTTP endpoint. Default: `http://localhost:8090`.
35-
- `--model <string>` Target model for the chat request. When omitted, the CLI uses the single ready model or prompts for a choice if several models are ready.
36-
- `--temperature <float32>` Model temperature used for chat request. Default: `1.0`.
37-
- `--user-agent <string>` Custom `User-Agent` header sent with every request.
38-
- `--responses` Direct all chats to the `/v1/responses` endpoint, which exposes configured models that support [OpenAI's Responses API](https://platform.openai.com/docs/api-reference/responses) and enables access to [OpenAI-hosted tools](https://platform.openai.com/docs/guides/tools). To learn more about Spice's support for OpenAI's Responses API, view the [OpenAI model provider documentation](../../components/models/openai) or the [Azure OpenAI model provider documentation](../../components/models/azure).
32+
- `--model`, `-m` Target model for the chat request. When omitted, the CLI uses the single ready model or prompts for a choice if several models are ready.
33+
- `--temperature <float>` Model temperature used for chat request.
34+
- `--endpoint <endpoint>` Specifies the remote Spice instance HTTP endpoint (e.g., `http://localhost:8090`).
35+
- `--headers <KEY:VALUE>` Custom HTTP headers in format `Key:Value` (can be specified multiple times).
3936

4037
## Examples
4138

website/docs/cli/reference/completion.md

Lines changed: 0 additions & 27 deletions
This file was deleted.
Lines changed: 63 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,63 @@
1+
---
2+
title: "completions"
3+
sidebar_label: "completions"
4+
pagination_prev: null
5+
pagination_next: null
6+
---
7+
8+
Generate shell completions for the Spice CLI.
9+
10+
By default, `spice completions` auto-detects the user's shell and writes the completion script to the standard completion directory for that shell. If the shell cannot be detected, specify it as an argument.
11+
12+
### Usage
13+
14+
```shell
15+
spice completions [shell] [flags]
16+
```
17+
18+
`shell` - the shell to generate completions for. Supported values: `bash`, `zsh`, `fish`, `elvish`, `powershell`. If omitted, the shell is detected from the `$SHELL` environment variable.
19+
20+
#### Flags
21+
22+
- `--stdout` Print completions to stdout instead of writing to a file (useful for piping)
23+
- `-h`, `--help` Print this help message
24+
25+
### Default completion directories
26+
27+
When writing to a file, `spice completions` uses the following directories by default:
28+
29+
| Shell | Directory |
30+
| ---------- | ------------------------------------------------------------------------------------------------- |
31+
| bash | `~/.local/share/bash-completion/completions/spice` (Homebrew on macOS if available) |
32+
| zsh | `~/.local/share/zsh/site-functions/_spice` (Homebrew on macOS if available) |
33+
| fish | `~/.config/fish/completions/spice.fish` |
34+
| elvish | `~/.config/elvish/lib/spice.elv` |
35+
| powershell | `~/.config/powershell/completions/spice.ps1` |
36+
37+
Parent directories are created automatically if they do not exist.
38+
39+
### Examples
40+
41+
#### Auto-detect shell and install completions
42+
43+
```shell
44+
spice completions
45+
```
46+
47+
#### Generate completions for a specific shell
48+
49+
```shell
50+
spice completions zsh
51+
```
52+
53+
#### Print completions to stdout
54+
55+
```shell
56+
spice completions bash --stdout
57+
```
58+
59+
#### Pipe completions to a custom file
60+
61+
```shell
62+
spice completions zsh --stdout > ~/.zfunc/_spice
63+
```

website/docs/cli/reference/datasets.md

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -23,31 +23,31 @@ spice datasets [flags]
2323
```shell
2424
>>> spice datasets
2525

26-
FROM NAME REPLICATION ACCELERATION STATUS PROPERTIES
27-
spice.ai/spiceai/quickstart/datasets/taxi_trips taxi_trips false false Ready map[]
28-
spice.ai/spiceai/tpch/datasets/tpch.customer tpch.customer false false Ready map[]
29-
spice.ai/spiceai/tpch/datasets/tpch.lineitem tpch.lineitem false false Ready map[]
30-
spice.ai/spiceai/tpch/datasets/tpch.nation tpch.nation false false Ready map[]
31-
spice.ai/spiceai/tpch/datasets/tpch.orders tpch.orders false false Ready map[]
32-
spice.ai/spiceai/tpch/datasets/tpch.part tpch.part false false Ready map[]
33-
spice.ai/spiceai/tpch/datasets/tpch.partsupp tpch.partsupp false false Ready map[]
34-
spice.ai/spiceai/tpch/datasets/tpch.region tpch.region false false Ready map[]
35-
spice.ai/spiceai/tpch/datasets/tpch.supplier tpch.supplier false false Ready map[]
26+
NAME FROM REPLICATION ACCELERATION STATUS ERROR
27+
taxi_trips spice.ai/spiceai/quickstart/datasets/taxi_trips false false Ready
28+
tpch.customer spice.ai/spiceai/tpch/datasets/tpch.customer false false Ready
29+
tpch.lineitem spice.ai/spiceai/tpch/datasets/tpch.lineitem false false Ready
30+
tpch.nation spice.ai/spiceai/tpch/datasets/tpch.nation false false Ready
31+
tpch.orders spice.ai/spiceai/tpch/datasets/tpch.orders false false Ready
32+
tpch.part spice.ai/spiceai/tpch/datasets/tpch.part false false Ready
33+
tpch.partsupp spice.ai/spiceai/tpch/datasets/tpch.partsupp false false Ready
34+
tpch.region spice.ai/spiceai/tpch/datasets/tpch.region false false Ready
35+
tpch.supplier spice.ai/spiceai/tpch/datasets/tpch.supplier false false Ready
3636
```
3737

3838
### Additional Example
3939

4040
```shell
4141
>>> spice datasets --tls-root-certificate-file /path/to/cert.pem
4242

43-
FROM NAME REPLICATION ACCELERATION STATUS PROPERTIES
44-
spice.ai/spiceai/quickstart/datasets/taxi_trips taxi_trips false false Ready map[]
45-
spice.ai/spiceai/tpch/datasets/tpch.customer tpch.customer false false Ready map[]
46-
spice.ai/spiceai/tpch/datasets/tpch.lineitem tpch.lineitem false false Ready map[]
47-
spice.ai/spiceai/tpch/datasets/tpch.nation tpch.nation false false Ready map[]
48-
spice.ai/spiceai/tpch/datasets/tpch.orders tpch.orders false false Ready map[]
49-
spice.ai/spiceai/tpch/datasets/tpch.part tpch.part false false Ready map[]
50-
spice.ai/spiceai/tpch/datasets/tpch.partsupp tpch.partsupp false false Ready map[]
51-
spice.ai/spiceai/tpch/datasets/tpch.region tpch.region false false Ready map[]
52-
spice.ai/spiceai/tpch/datasets/tpch.supplier tpch.supplier false false Ready map[]
43+
NAME FROM REPLICATION ACCELERATION STATUS ERROR
44+
taxi_trips spice.ai/spiceai/quickstart/datasets/taxi_trips false false Ready
45+
tpch.customer spice.ai/spiceai/tpch/datasets/tpch.customer false false Ready
46+
tpch.lineitem spice.ai/spiceai/tpch/datasets/tpch.lineitem false false Ready
47+
tpch.nation spice.ai/spiceai/tpch/datasets/tpch.nation false false Ready
48+
tpch.orders spice.ai/spiceai/tpch/datasets/tpch.orders false false Ready
49+
tpch.part spice.ai/spiceai/tpch/datasets/tpch.part false false Ready
50+
tpch.partsupp spice.ai/spiceai/tpch/datasets/tpch.partsupp false false Ready
51+
tpch.region spice.ai/spiceai/tpch/datasets/tpch.region false false Ready
52+
tpch.supplier spice.ai/spiceai/tpch/datasets/tpch.supplier false false Ready
5353
```

website/docs/cli/reference/index.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,13 +21,12 @@ spice [command] [--help]
2121
| [add](reference/add) | Add Spicepod - adds a Spicepod to the project |
2222
| [catalogs](reference/catalogs) | List [catalogs](../../components/catalogs) loaded by the Spice runtime |
2323
| [chat](reference/chat) | Chat with an LLM |
24+
| [completions](reference/completions) | Generate shell completions for the Spice CLI |
2425
| cloud | Manage Spice Cloud resources |
2526
| cluster | Cluster operations for the Spice runtime |
26-
| [completion](reference/completion) | Generate the autocompletion script for the specified shell |
2727
| [connect](reference/connect) | Connect to a Spice.ai Cloud Platform app |
2828
| [dataset](reference/dataset) | Dataset operations (configure datasets) |
2929
| [datasets](reference/datasets) | Lists datasets loaded by the Spice runtime |
30-
| eval | Run model evaluation |
3130
| help | Help about any command |
3231
| [init](reference/init) | Initialize Spice app - creates a new spicepod.yaml |
3332
| [install](reference/install) | Install or reinstall the Spice.ai runtime |

website/docs/cli/reference/init.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ The command creates a `spicepod.yaml` with basic initial metadata about the app.
3030
```yaml
3131
# File: ./taxi-trips/spicepod.yaml
3232

33-
version: v1
33+
version: v2
3434
kind: Spicepod
3535
name: taxi-trips
3636
```
@@ -47,7 +47,7 @@ After execution, the current working directory contains the file `spicepod.yaml`
4747
```yaml
4848
# File: ./spicepod.yaml
4949

50-
version: v1
50+
version: v2
5151
kind: Spicepod
5252
name: taxi-trips
5353
```

0 commit comments

Comments
 (0)