How do I create a custom chatbot that is trained on specialised material specifically to answer questions accurately and without hallucinations about QLab including QLab AppleScript.
I won’t paste the full reply here as you can use this prompt as a starting point and refine further but chatGPT does seem to understand the problem and states quite useful objectives. It begins with:
Great question — and given your experience with very confident, very wrong QLab answers, this is exactly the right problem to solve.
Below is the best-practice, battle-tested way to build a chatbot that answers accurately, conservatively, and honestly about QLab and QLab AppleScript, with minimal hallucination.
This is the same approach used in production knowledge assistants.
The Correct Approach (TL;DR)
Do NOT fine-tune a model.
Use Retrieval-Augmented Generation (RAG) + strict prompting + curated QLab docs.
This ensures the bot:
and the end of the reply is this.
What This Gets You
✔ Accurate AppleScript
✔ Honest limitations
✔ No invented properties
✔ Answers that feel like a senior QLab programmer
✔ Easily updatable as QLab evolves
Want help with the
actual build
?
I can:
Say the word and tell me how hands-on you want to be.
This sort of gives the impression that with a few hours work it would be possible for someone with access to large quantities of information about QLab (e.g Figure53) to be assisted by chatGPT to develop a QLab specific custom chatbot, that among other things could write accurate and useful QLab scripts.
Thoughts?
Mic