Update Bot Prompt

Update the bot prompt for your RAG project using an existing prompt. This endpoint allows you to change the current bot prompt to a different existing prompt.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
uuid
required
string
required
Query Params
file_urls
array of uris

Optional list of URLs to images or other files that should be included with the prompt for multimodal models. Files are not supported by all models.

file_urls
string
required
length ≥ 1

The model used to call the prompt. E.g. openai/gpt-4o

string
required
length ≥ 1

The unique identifier for the prompt. Must contain only alphanumeric characters, underscores (_) and hyphens (-). No spaces allowed.

string

Params that are passed on to the llm request. See llm chat docs for more details.

Example

{
  "temperature": 0.7,
  "max_tokens": 100
}
string
length ≥ 1

Specify a system prompt for the LLM

string
required
length ≥ 1

The text used for the prompt

You can include prompt variables with {{ my_variable }}. These variables are injected when you later call your prompt.

The template language is compatible with jinja2

Example

Translate this word to {{ language }}: {{ word }}
Response
204

No response body

Language
Credentials
Bearer
JWT
LoadingLoading…
Response
Click Try It! to start a request and see the response here!