Template Language
Tune has the same syntax @ to:
- insert content of another text file (
texttype) - add an image for models that supports vision (
imagetype) - specify language model (
llmtype) - add a tool to be called (
tooltype)
Here’s an example combining these features:
system: @gpt4o
@systemPrompt.txt
user: @image
what os on the image?
assistant:
this is Rome
user: @getWeather
what is the weather here?
tool_call: getWeather {"location": "Rome"}
tool_result: {
weather: [
{ id: 801, main: 'Clouds', description: 'few clouds', icon: '02d' }
],
...
}
You can use @ anywhere at any point of the chat (assistant and tool_call is and exception). You might want to switch to a smarter model or use a tool later in the conversation