Ask BrandHub
BUILDINGBefore
Monthly reports that take longer to read than to produce.
How
A local Llama model on BrandHub (opens in a new tab)'s own server. It is not given the whole database. It has tools to query PostgreSQL and knows which tables hold which data, so it answers in plain language.
Role
I am developing it: the tools it may use, the tables it may read and the checks on its answers.
- question
- Llama selects a query
- PostgreSQL
- data returned
- plain-language answer
"Which tenants ordered napkins last month?"
→ identifies the product first
→ then the tenants, then their orders
