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 🔑VARto 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-nameis the name of the template you savedkey=valueare the variables you want to pass to the template. E.g., if you added🔑Emailthen 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