Cookbook
Eleven worked use cases on real documents
Each with the code that ran, what the API answered.
View on GitHubCall tools
- Voice commands
Turn a spoken command into one function call
Picks the function for a spoken command and fills in its arguments. One request does it; two requests, a classification and then an extraction, do it ten points better, and a check keeps out the dates the user never said.
- Safety complaints and recall records
Answer a customer from your own records
The model reads a customer’s message, calls your look-up with the vehicle and the recall number, and words an answer from the record that comes back. The look-up is exact because your code does it.
Extract
- Reports
Turn an accident report into a database row
Pulls the date, the place, the aircraft and the kind of flight out of a narrative report as one JSON record, with dates in the format you ask for.
- Notices
Pull the recalling firm and the quantity out of a recall notice
Turns a batch of short, densely written recall notices into rows, eight requests at a time, and checks every row with rules before it is stored.
- Letters
Log who an FDA warning letter went to, from which office and when
Reads a letter of about six thousand characters for three facts, and shows what to do with the one fact the model gets wrong: a rule for the letters that follow a pattern.
- Customer complaints
Pull the vehicle and the mileage out of a consumer complaint
Reads a complaint in the customer’s words and returns the make, the model, the year and the mileage, leaves out what was not said, and checks that every value stands in the text.
- PDFs and scans
Extract from a PDF or a scan
Turns a PDF into text on your own machine with Docling, tables included, and runs the extraction recipe on that text unchanged. A scan takes one more option.
Classify
- Customer complaints
Route a vehicle safety complaint to the right engineering team
Reads a complaint as the customer wrote it, names the component it is about, and says how sure it is, so the sure ones are routed and the rest go to a person.
- Voice commands
Route a spoken command to the skill that handles it
Names the intent of a short spoken command in about a seventh of a second, and says “none” or shows doubt when the assistant has no skill for it.
- Papers
File a research paper under its subject area
Reads a title and an abstract and names the subject area, and shows why you check every label before you trust the total.
- Forum questions
Send a question to the community that can answer it
Routes a question to one of ten communities, sixty questions in about a second, and shows how the confidence turns 90% right into 97% right on what you act on.
Need fine-tuning, on-prem deployment, your own evals or support?
Nenya 1 is free to call here and free to download. Book a call for a fine-tuned model or an on-prem deployment.