Generation Presets
Manage generation presets for controlling the behavior of generative AI responses.
List generation presets
Lists the generation presets used for [query](/docs/rest-api/queries) requests. The platform creates and maintains predefined generation presets. A generation preset groups several properties that configure generation for a request. This includes the `prompt_template`, the Large Language Model (LLM), and other generation settings like `max_tokens` and `temperature`. Each preset includes a complete Velocity template for the prompt. Presets are typically associated with a single LLM.
Create a generation preset
Creates a custom generation preset for use in query and chat requests. A generation preset bundles a prompt template, an LLM, and model parameters into a reusable configuration.
Replace a generation preset
Replaces an existing custom generation preset. This is a full replacement of the preset configuration.
Delete a generation preset
Deletes an existing custom generation preset.