Applied AI · Research in progress
Ask Chicka
Building a poultry assistant that knows when it has the right evidence.
Ask Chicka is PoultryPoint’s assistant. The research challenge is helping a farmer understand a particular operation without inventing a feature, overlooking a business rule or confusing general poultry advice with instructions for the app.
The problem behind the assistant
Answering a question fluently is not the same as answering it correctly. A farmer might ask how to record feed, correct an expense or interpret a flock metric. The answer must respect what the application actually supports, including conditions that change the correct action.
I approached this as a knowledge and retrieval problem before treating it as a model-generation problem. The knowledge base was mapped against application capabilities, source code and relevant tests, rather than relying on generic poultry information alone.
When the baseline stopped being convincing
At the November 27, 2026 checkpoint, the experimental knowledge base contained 65 articles. The established suite had 386 cases across development, validation and test splits. A further 40 generalisation cases challenged the retriever with unfamiliar wording and distinct workflows.
The fresh evaluation was more revealing when separated by intent:
- App-specific questions with all required evidence retrieved
- 2/30
- Expected no-match cases correctly rejected
- 10/10
- Required article IDs retrieved
- 4/35
Half of the retrieved results in that fresh set were outside the accepted article labels. The evaluator treated missing required evidence or an unexpected match on a negative case as a failure. Certification failed despite the perfect established regression result.
These are the recorded first-run results, not a new test execution or proof of independent human-labelled accuracy. The 40 questions subsequently became known diagnostic cases, not a reusable untouched holdout.
Separating retrieval from selection
Rather than tuning the wording of failed questions, I kept the lexical retriever as a control and explored whether semantic search could discover the evidence it missed.
Candidate discovery
The experimental scripts compare lexical matches with embedding similarity, and combine their results into candidate sets. Gemini document and query embeddings are cached against a versioned corpus. Thresholds are calibrated on development cases, with regressions and no-match behaviour checked separately.
Evidence selection
A separate experiment compares a model selecting from a hybrid candidate pool with selecting from the full article catalogue. The selector can return zero to four supplied article IDs; it is not asked to write the answer. Finding a relevant candidate is not sufficient if the final selection is wrong.
The read-only chat lab then separates selection from answer generation, comparing retrieval modes and handling relevant follow-up context. This allows failures to be investigated at the stage where they occur. The experiments are isolated from the production runtime.
Retrieval alone was not the whole problem
A later investigation recorded an incorrect answer about adding a forgotten transport cost to a purchase. A useful answer needs to distinguish acquisition cost from an unrelated operating expense, and account for whether the original stock has already been consumed.
The source audit found that the purchase-cost article lacked important correction conditions. A relevant article can therefore be retrieved and still be insufficient. Elsewhere, existing source guidance was not consistently applied by the answer model.
This changed the next research task: audit business-rule completeness, then evaluate whether answers convey the required conditions and avoid unsupported actions. The proposed evaluation covers normal, boundary, negative and multi-turn cases, not just article IDs.
How I worked with AI
I use Codex as an implementation and investigation partner, including code exploration, experiment tooling, documentation and tests. My responsibility is to define the problem, challenge assumptions, review the proposed approach, interpret results and decide when a change is ready.
For this investigation, the repository records a frozen baseline, separate experimental branches, reproducible evaluation inputs and explicit promotion gates. Failed tests remain part of the record. A successful experiment is not permission to deploy it.
This is AI-assisted engineering, not a claim of exclusively manual code authorship.
Where the research stands
The KB V3 certification work is still open. Semantic, hybrid and catalogue-selection experiments exist, but the evidence reviewed here does not establish a winning production architecture or reliable answer quality.
The next meaningful checkpoints are independently reviewed questions and relevance labels, source-verified business rules, answer-level evaluation and live latency and cost measurements. Until then, I treat retrieval and response reliability as open engineering questions.
Related work: PoultryPoint engineering →