Skip to content

API Reference parrot.outputs.formats.jinja2

github-actions[bot] edited this page Dec 2, 2026 · 4 revisions

parrot.outputs.formats.jinja2

View source

Alias BaseRenderer

Re-exported from parrot.outputs.formats.base.BaseRenderer.

Class Jinja2Renderer

Renders the output using a Jinja2 template.

Method Jinja2Renderer.render

Renders data using a Jinja2 template asynchronously.

render(data: Any, **kwargs: Any) -> Tuple[str, str]

Parameter Type Default Description
data Any The data to render.
**kwargs Any {} Must contain 'env' (a Jinja2 Environment) and 'template' (the template name).

Returns: Tuple[str, str] — A tuple containing the rendered content and the guessed MIME type.

Alias OutputMode

Re-exported from parrot.models.outputs.OutputMode.

Alias register_renderer

Re-exported from parrot.outputs.formats.register_renderer.

Architecture

Clients

Bots & Agents

Memory

Knowledge

Tools & Toolkits

Flows

Experts

Skills

Stores & Loaders

MCP & A2A

Server & APIs

Integrations

Outputs & A2UI

Prompts

Security

Operations

Migration

SDD Tooling

LLM Wiki

Deployment

Decisions

API Reference

Clone this wiki locally