# Jinja

In Prism, you can augment your YAML configuration files and Python tasks using [Jinja](https://jinja.palletsprojects.com/en/3.1.x/), a powerful templating language.

For example, using Jinja in Prism enables you to:

* Create relative variables (i.e., relative paths)
* Use environment variables for production deployments
* Use control structures (e.g. `if` statements and `for` loops)

Here are the list of available Jinja functions:

* [`wkdir()`](/v0.1.9/fundamentals/jinja/wkdir.md)
* [`parent_dir(path)`](/v0.1.9/fundamentals/jinja/parent_dir.md)
* [`concat(str1, str2)`](/v0.1.9/fundamentals/jinja/concat.md)
* [`env(var)`](/v0.1.9/fundamentals/jinja/env.md)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.runprism.com/v0.1.9/fundamentals/jinja.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
