Functions
Functions
Endpoints for managing generative functions
Opper enables management of task specific prompts, schemas, model configuration and datasets through the concept of a generative function. Generative functions are composable, can be optimized and reused.
Common operations
- Use create function to build a server side function with instruction, model, schemas etc.
- Use get function to retrieve the function, including its configuration, dataset id etc.
- Use update function to update the function with new configuration. Yields a new revision
- Use call function to send input data to the function, that will process the data with the function and yield the output as configured.