URL Parameters
In Open WebUI, chat sessions can be customized through various URL parameters. These parameters allow you to set specific configurations, enable features, and define model settings on a per-chat basis. This approach provides flexibility and control over individual chat sessions directly from the URL.
URL Parameter Overview
The following table lists the available URL parameters, their function, and example usage.
| Parameter | Description | Example |
|---|---|---|
models | Specifies the models to be used, as a comma-separated list. | /?models=model1,model2 |
model | Specifies a single model to be used for the chat session. | /?model=model1 |
youtube | Specifies a YouTube video ID to be transcribed within the chat. | /?youtube=VIDEO_ID |
load-url | Specifies a Website URL to be fetched and uploaded as a document within the chat. | /?load-url=https://google.com |
web-search | Enables web search functionality if set to true. | /?web-search=true |
tools or tool-ids | Specifies a comma-separated list of tool IDs to activate in the chat. | /?tools=tool1,tool2 |
call | Enables a call overlay if set to true. | /?call=true |
q | Sets an initial query or prompt for the chat. | /?q=Hello%20there |
temporary-chat | Marks the chat as temporary if set to true, for one-time sessions. | /?temporary-chat=true |
code-interpreter | Enables the code interpreter feature if set to true. | /?code-interpreter=true |
image-generation | Enables the image generation feature if set to true. | /?image-generation=true |
1. Models and Model Selection
- Description: The
modelsandmodelparameters allow you to specify which language models should be used for a particular chat session. - How to Set: You can use either
modelsfor multiple models ormodelfor a single model. - Example:
/?models=model1,model2– This initializes the chat withmodel1andmodel2./?model=model1– This setsmodel1as the sole model for the chat.
2. YouTube Transcription
- Description: The
youtubeparameter takes a YouTube video ID, enabling the chat to transcribe the specified video. - How to Set: Use the YouTube video ID as the value for this parameter.
- Example:
/?youtube=VIDEO_ID - Behavior: This triggers transcription functionality within the chat for the provided YouTube video.
3. Website Insertion
- Description: The
load-urlparameter downloads the specified website and extracts the content to upload it as a document into the chat. - How to Set: Use the full website URL as the value for this parameter.
- Example:
/?load-url=https://google.com - Behavior: This triggers insertion of the specified website url.