Skip to content

Commit 1b3ae53

Browse files
authored
docs: Remove Perplexity model and websearch tool documentation (#1424)
1 parent 3422907 commit 1b3ae53

6 files changed

Lines changed: 26 additions & 188 deletions

File tree

website/docs/components/models/index.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ Spice supports various model providers for traditional machine learning (ML) mod
2020
| [`google`][google] | Google AI language models | Alpha | - | OpenAI-compatible HTTP endpoint |
2121
| [`xai`][xai] | Models hosted on xAI | Alpha | - | OpenAI-compatible HTTP endpoint |
2222
| [`databricks`][databricks] | Models deployed to Databricks Mosaic AI | Alpha | - | OpenAI-compatible HTTP endpoint |
23+
| ~~`perplexity`~~ | ~~Perplexity~~ ([Deprecated][perplexity]) | Deprecated | - | - |
2324

2425
[openai]: ./openai.md
2526
[bedrock]: ./bedrock.md
@@ -31,6 +32,7 @@ Spice supports various model providers for traditional machine learning (ML) mod
3132
[google]: ./google.md
3233
[xai]: ./xai.md
3334
[databricks]: ./databricks.md
35+
[perplexity]: ./perplexity.md
3436

3537
Spice also tests and evaluates common models and grades their ability to integrate with Spice. See the [Models Grade Report](../reference/models).
3638

@@ -63,7 +65,6 @@ The following provider prefixes are supported:
6365
| `xai` | xAI |
6466
| `anthropic` | Anthropic |
6567
| `google` | Google AI |
66-
| `perplexity` | Perplexity |
6768
| `hf` | Hugging Face |
6869
| `file` | Local filesystem |
6970
| `spiceai` | Spice.ai Cloud Platform |
Lines changed: 6 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -1,41 +1,10 @@
11
---
2-
title: 'Perplexity Models'
3-
description: 'Instructions for using language models hosted on Perplexity with Spice.'
4-
sidebar_label: 'Perplexity'
2+
title: 'Perplexity Models (Deprecated)'
3+
description: 'Perplexity model support is no longer supported in Spice.'
4+
sidebar_label: 'Perplexity (Deprecated)'
55
sidebar_position: 4
66
---
77

8-
To use a language model hosted on Perplexity, specify `perplexity` in the `from` field.
9-
10-
To use a specific model, include its model ID in the `from` field (see example below). If not specified, the default model is `sonar`.
11-
12-
```yaml
13-
models:
14-
- name: webs
15-
from: perplexity:sonar
16-
params:
17-
perplexity_auth_token: ${ secrets:SPICE_PERPLEXITY_AUTH_TOKEN }
18-
```
19-
20-
The following parameters are specific to Perplexity models:
21-
22-
| Parameter | Description | Default |
23-
| ----------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------- |
24-
| `perplexity_auth_token` | The Perplexity API authentication token. | - |
25-
| `perplexity_*` | Additional, perplexity specific parameters to use on all requests. See [Perplexity API Reference](https://docs.perplexity.ai/api-reference/chat-completions) | - |
26-
27-
**Note:** Like other models in Spice, Perplexity can set default overrides for OpenAI parameters. See [Parameter Overrides](../../features/large-language-models/parameter_overrides).
28-
29-
### Example Configuration
30-
31-
```yaml
32-
models:
33-
- name: webs
34-
from: perplexity:sonar
35-
params:
36-
perplexity_auth_token: ${ secrets:SPICE_PERPLEXITY_AUTH_TOKEN }
37-
perplexity_search_domain_filter:
38-
- docs.spiceai.org
39-
- huggingface.co
40-
perplexity_temperature: 0.3141595
41-
```
8+
:::warning Deprecated
9+
Perplexity model support is no longer supported and was deprecated in [spiceai/spiceai#9910](https://github.com/spiceai/spiceai/pull/9910). For documentation on Perplexity models in previous versions, see the [v1.11.x Perplexity documentation](https://docs.spiceai.org/docs/1.11.x/components/models/perplexity).
10+
:::

website/docs/components/tools/index.md

Lines changed: 1 addition & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -8,18 +8,6 @@ A tool is a function or operation that can be called directly or by a [language
88

99
For details about providing LLMs tool access, see [Language Model Tools](../features/large-language-models/tools).
1010

11-
**Example**
12-
13-
```yaml
14-
tools:
15-
- name: arpanet
16-
from: websearch
17-
description: 'Search the web for information.'
18-
params:
19-
engine: perplexity
20-
perplexity_auth_token: ${ secrets:SPICE_PERPLEXITY_AUTH_TOKEN }
21-
```
22-
2311
For details on tool specifications, see the [Tools Spicepod Reference](../reference/spicepod/tools).
2412

2513
### Available Tools
@@ -35,7 +23,7 @@ For details on tool specifications, see the [Tools Spicepod Reference](../refere
3523
| `top_n_sample` | Sample the top N rows from a table based on a specified ordering. | `auto` |
3624
| `memory:load` | Retrieve all stored memories from the last time period. | `memory` |
3725
| `memory:store` | Store information from LLM interaction(s) for future reference. | `memory` |
38-
| [`websearch`][websearch] | Search the web for information. | - |
26+
| ~~[`websearch`][websearch]~~ | ~~Search the web for information.~~ (Deprecated) | - |
3927

4028
[websearch]: tools/websearch
4129

Lines changed: 8 additions & 61 deletions
Original file line numberDiff line numberDiff line change
@@ -1,66 +1,13 @@
11
---
2-
title: 'Web Search Tool'
3-
sidebar_label: 'Websearch'
4-
description: 'Configure web search tools for LLMs to search the internet using Perplexity and other search engines.'
2+
title: 'Web Search Tool (Deprecated)'
3+
sidebar_label: 'Websearch (Deprecated)'
4+
description: 'The websearch tool is no longer supported in Spice.'
55
---
66

7-
The Web Search Tool enables Spice models to search the web for information. The tool is available through the `websearch` tool, and backed by different search engines.
7+
:::warning Deprecated
8+
The `websearch` tool is no longer supported and was deprecated in [spiceai/spiceai#9910](https://github.com/spiceai/spiceai/pull/9910). The tool was backed by Perplexity, which is no longer supported.
89

9-
## Usage
10+
For web search functionality, use [OpenAI's hosted web search tool](https://platform.openai.com/docs/guides/tools-web-search?api-mode=responses) via the [OpenAI Responses API](/docs/features/web-search#web-search-through-openai-hosted-tools).
1011

11-
```yaml
12-
tools:
13-
- name: the_internet
14-
from: websearch
15-
description: "Search the web for information."
16-
params:
17-
engine: perplexity
18-
perplexity_auth_token: ${ secrets:SPICE_PERPLEXITY_AUTH_TOKEN }
19-
```
20-
21-
## Configuration
22-
23-
### `from`
24-
25-
The `from` field specifies the tool to use. For the Web Search Tool, use `websearch`.
26-
27-
### `name`
28-
29-
The `name` field specifies the name of the tool. This name is used:
30-
31-
- To reference the tool in the model's `params.tools` field
32-
- To make HTTP requests to the tool via the [API](../../api/HTTP/post), i.e. `v1/tools/{name}`
33-
- Provided to any language model that uses the tool
34-
35-
### `description`
36-
37-
The `description` field provides a description of the tool. This description is provided to any language model that uses the tool.
38-
39-
### `params`
40-
41-
The `params` field specifies configuration options for the tool. The following parameters are supported:
42-
43-
- `engine`: The search engine to use. Possible values:
44-
- `perplexity`: Use the Perplexity search engine.
45-
- `engine_*`: Each search engine has its own set of parameters. See the documentation for the specific search engine for more information.
46-
47-
## Search Engines
48-
49-
- [Perplexity](https://perplexity.com): Powered by Perplexity [Sonar](https://docs.perplexity.ai/).
50-
51-
### Perplexity
52-
53-
To define a Perplexity search engine, use the following parameters:
54-
55-
- `perplexity_auth_token` (required): The authentication token for the Perplexity API. Use the [secret replacement syntax](../secret-stores/) to reference a secret, e.g. `${secrets:my_perplexity_auth_token}`. To get an authentication token, see Perplexity's [Getting Started](https://docs.perplexity.ai/guides/getting-started).
56-
- `perplexity_return_images` (default: false): Determines whether a request should return images.
57-
- `perplexity_return_related_questions` (default: false): Determines whether a request should return related questions.
58-
- `perplexity_search_domain_filter`: Given a list of domains, limit the citations used by the online model to URLs from the specified domains. Currently limited to only 3 domains for whitelisting and blacklisting. For blacklisting add a `-` to the beginning of the domain string. Example:
59-
60-
```yaml
61-
perplexity_search_domain_filter:
62-
- spice.ai
63-
- docs.perplexity.ai
64-
```
65-
66-
- `perplexity_search_recency_filter`: Returns search results within the specified time interval (does not apply to images). One of: `month`, `week`, `day`, `hour`.
12+
For documentation on the websearch tool in previous versions, see the [v1.11.x websearch documentation](https://docs.spiceai.org/docs/1.11.x/components/tools/websearch).
13+
:::

website/docs/features/web-search/index.md

Lines changed: 5 additions & 71 deletions
Original file line numberDiff line numberDiff line change
@@ -8,50 +8,15 @@ tags:
88
- models
99
---
1010

11-
Spice provides web search functionality through LLMs and tools, enabling access to recent information and relevant context. Spice supports two ways of using web search in the runtime, namely through tools and through specific model providers.
11+
Spice provides web search functionality through OpenAI's hosted tools, enabling access to recent information and relevant context.
1212

13-
## Web Search Through LLM Tools
14-
15-
One way of using web search with Spice is through the dedicated web search tool configured to use Perplexity as the engine. Sample Spicepod configuration:
16-
17-
```yaml
18-
tools:
19-
- name: the_internet
20-
from: websearch
21-
description: 'Search the web for information.'
22-
params:
23-
engine: perplexity
24-
perplexity_auth_token: ${ secrets:SPICE_PERPLEXITY_AUTH_TOKEN }
25-
```
26-
27-
This tool can then be provided to any configured models like so:
28-
29-
```yaml
30-
models:
31-
- from: openai:gpt-4.1
32-
name: my-model
33-
params:
34-
openai_api_key: ${secrets:OPENAI_API_KEY}
35-
tools: websearch # configure the model to use the websearch tool.
36-
37-
- from: anthropic:claude-3-5-sonnet-latest
38-
name: claude_3_5_sonnet
39-
params:
40-
anthropic_api_key: ${ secrets:SPICE_ANTHROPIC_API_KEY }
41-
tools: websearch # configure the model to use the websearch tool.
42-
43-
- from: xai:grok4
44-
name: xai
45-
params:
46-
xai_api_key: ${secrets:SPICE_GROK_API_KEY}
47-
tools: websearch # configure the model to use the websearch tool.
48-
```
49-
50-
These models can then be invoked via an interactive REPL through [`spice chat`](../../cli/reference/chat) or via the OpenAI-compatible `/v1/chat/completions` HTTP endpoint. To learn more about the `websearch` tool, refer to [the reference](../../components/tools/websearch).
13+
:::note
14+
The `websearch` tool (backed by Perplexity) is no longer supported and was deprecated in [spiceai/spiceai#9910](https://github.com/spiceai/spiceai/pull/9910). Use OpenAI's hosted web search tool as described below.
15+
:::
5116

5217
## Web Search Through OpenAI Hosted Tools
5318

54-
Spice also supports web search using [OpenAI's hosted web search tool](https://platform.openai.com/docs/guides/tools-web-search?api-mode=responses) when using [OpenAI's Responses API](https://platform.openai.com/docs/api-reference/responses). Sample Spicepod configuration:
19+
Spice supports web search using [OpenAI's hosted web search tool](https://platform.openai.com/docs/guides/tools-web-search?api-mode=responses) when using [OpenAI's Responses API](https://platform.openai.com/docs/api-reference/responses). Sample Spicepod configuration:
5520

5621
```yaml
5722
models:
@@ -72,40 +37,9 @@ Start Spice with `spice run`. Then, execute the following command, which makes a
7237
curl -s -H "Content-Type: application/json" -X POST "http://localhost:8090/v1/responses" -d '{"model": "openai_model", "input": "what is the latest news today? use the web search tool"}' | jq -r '.output[] | select(.type=="message") | .content[] | select(.type=="output_text") | .text'
7338
```
7439
75-
Output:
76-
77-
```
78-
Here are some of the latest news updates as of August 30, 2025:
79-
80-
**International Affairs**
81-
82-
- **Thailand's Prime Minister Removed from Office**: The Constitutional Court of Thailand has dismissed Prime Minister Paetongtarn Shinawatra from office due to ethical misconduct related to leaked phone calls with former Cambodian Prime Minister Hun Sen. ([en.wikipedia.org](https://en.wikipedia.org/wiki/2025?utm_source=openai))
83-
84-
- **Armenia and Azerbaijan Sign Peace Deal**: On August 8, Armenia and Azerbaijan signed a peace agreement mediated by the United States, ending 37 years of hostilities over the Nagorno-Karabakh region. ([en.wikipedia.org](https://en.wikipedia.org/wiki/2025?utm_source=openai))
85-
86-
**Science and Technology**
87-
88-
- **OpenAI Releases GPT-5**: OpenAI has unveiled GPT-5, an upgraded version of its language model, featuring "PhD-level intelligence." ([en.wikipedia.org](https://en.wikipedia.org/wiki/2025_in_science?utm_source=openai))
89-
90-
- **NASA-ISRO Synthetic Aperture Radar (NISAR) Satellite Launched**: A joint project between NASA and the Indian Space Research Organisation (ISRO), the NISAR satellite was launched on July 30, 2025. It is the first dual-band radar imaging satellite, designed for remote sensing of Earth's surface. ([en.wikipedia.org](https://en.wikipedia.org/wiki/2025_in_spaceflight?utm_source=openai))
91-
92-
**United States**
93-
94-
- **Federal Reserve Governor Lisa Cook Dismissed**: President Donald Trump has removed Federal Reserve Governor Lisa Cook from her position, citing "false statements" on "one or more mortgage agreements." This decision has led to a weakening of the U.S. dollar. ([cnbc.com](https://www.cnbc.com/2025/08/25/stock-market-today-live-updates.html?utm_source=openai))
95-
96-
- **Stock Market Performance**: On August 26, 2025, major U.S. stock indices closed with gains. The Nasdaq Composite advanced 0.44%, the S&P 500 gained 0.41%, and the Dow Jones Industrial Average climbed 0.30%. ([cnbc.com](https://www.cnbc.com/2025/08/25/stock-market-today-live-updates.html?utm_source=openai))
97-
98-
**Space Exploration**
99-
100-
- **SpaceX's Seventh Starship Test Flight**: On January 16, 2025, SpaceX launched its seventh test flight of the Starship launch vehicle from its Starbase site in Boca Chica, Texas. The first stage was successfully recovered, but the second stage broke up shortly before engine shutdown. ([en.wikipedia.org](https://en.wikipedia.org/wiki/2025_in_Texas?utm_source=openai))
101-
102-
Please note that news developments are ongoing, and it's advisable to consult multiple sources for the most current information.
103-
```
104-
10540
To invoke this model, use [`spice chat --responses`](../../cli/reference/chat) for an interactive REPL or the OpenAI-compatible `/v1/responses` HTTP endpoint in the runtime. To learn more about configuring models provided by OpenAI, view [the reference](../../components/models/openai).
10641
10742
## References
10843
109-
- [Perplexity Search Documentation](https://docs.perplexity.ai/getting-started/overview)
11044
- [OpenAI Web Search Tool Documentation](https://platform.openai.com/docs/guides/tools-web-search?api-mode=responses)
11145
- [OpenAI Responses API Documentation](https://platform.openai.com/docs/api-reference/responses)

website/docs/reference/spicepod/tools.md

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,11 @@ Example:
1414

1515
```yaml
1616
tools:
17-
- name: arpanet
18-
from: websearch
19-
description: 'Search the web for information.'
17+
- name: my_mcp_tool
18+
from: mcp
19+
description: 'An MCP tool.'
2020
params:
21-
engine: perplexity
22-
perplexity_auth_token: ${ secrets:SPICE_PERPLEXITY_AUTH_TOKEN }
21+
mcp_endpoint: http://localhost:3000/sse
2322
```
2423
2524
### `name`

0 commit comments

Comments
 (0)