What is a Galileo template?

Galileo templates are a versioned way to manage your parameters as part of a single step run. These include the prompt, the model, and the keyword arguments to the model. As you make changes to your templates, they are automatically recognized and saved upon creating new runs with them. These versions start as v0 and increment.

When viewing a template in a project, the options are to edit the template, view template code, or tag as production template. Editing the template brings you to the Playground, where you can modify the template. Viewing template code generates an OpenAI, Langchain, or cURL command to replicate the parameters of the template.

Production templates can be fetched programmatically as the below Python example illustrates:

from promptquality.helpers import get_template

template = get_template(project_id=<project-id>, template_id=<template-id>)

Last updated