jndiogo/LLM-chat-templates

Jinja2 chat templates for popular LLM models

34
/ 100
Emerging

This collection provides ready-to-use conversation formatting rules for various large language models (LLMs) and vision models, including those that handle text and images. It takes a list of messages with roles (like 'user' or 'assistant') and formats them correctly for specific models. This helps AI practitioners ensure their prompts are understood by different models, avoiding errors in how conversations are structured.

No commits in the last 6 months.

Use this if you need to reliably format conversational inputs for a wide range of popular LLMs or vision models.

Not ideal if you are a casual user interacting directly with an LLM and don't need to programmatically control prompt formatting.

AI-prompt-engineering LLM-application-development AI-model-integration conversational-AI multimodal-AI
Stale 6m No Package No Dependents
Maintenance 0 / 25
Adoption 8 / 25
Maturity 16 / 25
Community 10 / 25

How are scores calculated?

Stars

44

Forks

4

Language

License

CC0-1.0

Last pushed

Jun 21, 2024

Commits (30d)

0

Get this data via API

curl "https://pt-edge.onrender.com/api/v1/quality/llm-tools/jndiogo/LLM-chat-templates"

Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.