Template API
GET https://llmfoundry.straive.com/template/<template-name>?key=value&...
runs the template-name
and returns the JSON response. To use this:
- Use the Playground to create a template. Click on
Insert 🔑VAR
to add variables. - Save the template giving it a name
- Test the template on the Templates page
- Open the URL
https://llmfoundry.straive.com/template/<template-name>?key=value&...
where:template-name
is the name of the template you savedkey=value
are the variables you want to pass to the template. E.g., if you added🔑Email
then passEmail=...
The response is a JSON object with the template's output, without streaming.
Templates page
The Templates page shows all templates shared by the LLM Foundry community.
It shows:
- The template name
- System prompt
- User prompt
- Author
- Date last modified
- Model used
You can sort by
- Latest first
- Largest first
- Model A-Z
- Author A-Z