Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ services:
environment:
ENABLE_WEB_SEARCH: True
WEB_SEARCH_ENGINE: "youcom"
YOUCOM_API_KEY: "YOUR_API_KEY"
YDC_API_KEY: "YOUR_API_KEY" # legacy YOUCOM_API_KEY also accepted
WEB_SEARCH_RESULT_COUNT: 3
WEB_SEARCH_CONCURRENT_REQUESTS: 10
```
Expand Down
4 changes: 2 additions & 2 deletions docs/reference/env-configuration.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -4365,11 +4365,11 @@ If you use `perplexity`, this variable is not relevant to you.

:::

#### `YOUCOM_API_KEY`
#### `YDC_API_KEY`

- Type: `str`
- Default: Empty string (' ')
- Description: Sets the API key for [You.com](https://you.com/) YDC Index API web search. Required when `WEB_SEARCH_ENGINE` is set to `youcom`. Obtain an API key from [You.com API](https://you.com/api).
- Description: Sets the API key for [You.com](https://you.com/) YDC Index API web search. Required when `WEB_SEARCH_ENGINE` is set to `youcom`. Obtain an API key from [You.com API](https://you.com/api). The legacy `YOUCOM_API_KEY` is also accepted as a fallback.
- Persistence: This environment variable is a `ConfigVar` variable.

### Web Loader Configuration
Expand Down