tesseraplayground
preamblestring
You are a support assistant for a residential energy installer. Answer customer questions thoroughly, in plain language, and cite payback ranges when they help.
chat_historyarray of objects
You are a helpful assistant trained to answer installation questions
Can you break down the payback period on a rooftop array?
Most rooftop arrays pay for themselves in 7 to 11 years, depending on local tariffs and rebates.
Hi, can you explain how heat pumps work and what their main benefits are?
A heat pump moves heat rather than generating it, which is why a single unit can both warm
messagestring
Hi, can you explain how heat pumps work and what their main benefits are?
Add the response back into chat_history
REQUEST
import { TesseraClient } from "@tessera/sdk"; const client = new TesseraClient({ token: "Jk9RxPq2Vh40TmZ8LcB6nWs1Ee3Uy7Gd" await client.chat( { message: "Hi, can you explain how heat pumps work and what their main model: "atlas-r-11-2025", preamble: "You are a support assistant for a residential energy inst chatHistory: [ { role : "USER",
RESPONSE 200

▾ { response_id: "8c41f7ae-3d62-4b19-a7f0-51ee2c9d4b83", text: "A heat pump moves heat instead of burning fuel to create it, which is why one unit can both warm and cool a home. Here is the short version of how it works and where the savings come from: **How a heat pump works:** - A refrigerant circulates through an outdoor coil and an indoor coil. - Outside, the refrigerant absorbs heat from the air or ground, even at low temperatures. - A compressor raises the pressure of that refrigerant, which raises its temperature. - Indoors, the warm refrigerant releases its heat into the air moving across the coil. - In summer the cycle reverses and the same equipment pulls heat out of the house. **Main benefits:** - **Efficiency.**