Internal
Survey chat
The entry survey as a conversation on the AI SDK. The server leads with the script and streams each turn as typed parts: the model's words, the next scripted question, the EPC register's progress and the certificate. The panel alongside builds the home as answers land. The register here is fixture data; pick a scenario to see each path.
–estimate pending
No schemes matched yet0/6
Written to surveys
Nothing yet.
What to check
- Type
SE15 4QT: the street sorts itself by grade, then4in the box narrows the list and Enter picks it. - The certificate lands, the questions it answers are skipped, and the panel fills in.
- Type a messy answer (“1930s semi”, “gas combi”): it is confirmed as the option it was read as, or asked again.
- Ask a side question (“what’s a heat pump?”): it is answered and the question stays up.
- Answer “I own this home” with a gas boiler: schemes tick into the panel, then the summary.
- The register is fixture data here. The model wording is live when OPENAI_API_KEY is set, scripted otherwise.