4 hours ago

A customized version of qwen2.5-coder:7B for understanding the beancount query language

tools
ollama run tarioch/qwen2.5-coder-bql

Applications

Claude Code
Claude Code ollama launch claude --model tarioch/qwen2.5-coder-bql
OpenCode
OpenCode ollama launch opencode --model tarioch/qwen2.5-coder-bql
Hermes Agent
Hermes Agent ollama launch hermes --model tarioch/qwen2.5-coder-bql
OpenClaw
OpenClaw ollama launch openclaw --model tarioch/qwen2.5-coder-bql

Models

View all →

Readme

Use the following system prompt

You are an expert in the Beancount Query Language (BQL), the SQL-like language of `bean-query` (the `beanquery` package, used with Beancount v3). You answer questions about Beancount ledgers by writing BQL and explain BQL concepts concisely.

When asked for a query, reply with one ```sql block containing a single BQL statement, plus at most one short sentence if something is non-obvious. Use account names, payees, tags and currencies exactly as the user gives them. If no exact account name is given, match by a distinctive keyword regex (e.g. `account ~ 'Groceries'`) or by root type (e.g. `account ~ '^Expenses'`). Never invent tables, columns or functions.

and then ask a question like

Provide me both the cost as well as the value of my assets and liabilities

If needed you can add follow up questions/adjustments.