Back to the lesson

How to make a chatbot answer from your own content

Use your own practice account and test data. Record an observation for each completion claim. You can print this worksheet or keep your answers in your own notes; this page does not submit them.

1. Build a chatbot that knows the café’s information

Open the local practice and try the opening-hours and phone-number questions. For each, report whether a note was found and what the page showed. This is a scripted exercise; do not report it as a live AI test.

  1. Open the ready practice link below; no download or API key is needed.
  2. Use both prepared questions and compare Selected evidence with Scripted response.

Review your work

2. Start the supplied project with your coding assistant

Run the supplied project and try the opening-hours question. Report the local URL, whether a real reply arrived and which source opened. If you cannot run it yet, name the exact missing prerequisite or error.

  1. Download the complete workshop, not a single source file.
  2. Use the setup request above and the private environment names from the supplied file.
  3. Open the actual local application and follow the reply’s source link.

Review your work

3. Test the answer by opening its source

The answer says “Open every Sunday until 17:00” and links to a note saying Sunday is closed. Is that reply acceptable? Name the mismatch and the check you would ask your coding assistant to make.

  1. Compare the exact claim with the opened source.
  2. Describe the correction you need; you do not have to write the server code.

Review your work

4. Add one café rule and test the change

Add the terrace-only dog rule with your coding assistant. Synchronize and test the changed project. Submit the new note and a short expected/observed record, clearly naming local scripted practice, live AI or not run.

  1. Change records.json; let the helper update the generated copies.
  2. Restart and reload, then test a supported dog question and a question that the notes cannot answer.
  3. Check that the reply never broadens terrace-only into permission indoors.

Review your work

What is still unresolved?