Create a New Task
GACreate a new Task with specified prompts, model configuration, and output format.
Tasks are the core building blocks that define how the LLM processes inputs and generates structured outputs. Each Task includes:
- System and user prompts that guide the LLM’s behavior
- Input parameters that can be dynamically provided when running the Task
- Output format specification that ensures consistent, structured responses
- Optional image processing capabilities
- Optional RAG (Retrieval Augmented Generation) for domain-specific knowledge
The Task will be created with an initial revision that becomes automatically active.
Path parameters
Headers
Bearer authentication of the form Bearer <token>, where token is your auth token.
Request
The description of the Task. It is not required to mention the outputs in the prompt, but it can help the model to understand the context better. Any input strings should be referenced with the dynamic {...}
syntax, this informs the model to look for those values in the input data.
This gives control over the structure of how the Task responds. Supports shorthand notation or an object with type
can be specified for each attribute. In most instances, the LLM will be able to generate the desired output into the relevant property, but an optional description
can be passed to provide it with additional context.
When true
the Task is active and callable. false
denotes the Task is not yet operational.
Note: This is a Paid Tier feature. Provide additional domain specific input to the LLM so that it is able to reference user specific information when executing the Task. Examples of this could be a product catalogue, terms and conditions or a user manual.
When true
it requires an image to be sent in the Task Run request.
When true
(default) images will be automatically optimised before processing. Set to false
to disable lossy image optimisation.
True if revision is a test revision. Test revisions cannot be live and are used for rapid Task testing/iteration.
When true
the Task is public and can be accessed by any User.
Response
When true
the Task is active and callable. false
denotes the Task is not yet operational.
When true
the Task is public and can be accessed by any User.
Each update to a Task results in a new Revision being created. Task Revisions are a powerful concept that can be used to assist with A/B testing, comparing responses from different LLM’s, etc.