How does the Stampy chatbot work?
This website hosts a chatbot named Stampy that can answer your questions related to AI safety
A research field about how to prevent risks from advanced artificial intelligence.
Stampy will serve a human-written answer directly from this website when one exists. When there is no matching answer, Stampy will attempt to generate one.
Like all LLM-based chatbots, it will sometimes hallucinate/confabulate/make stuff up. However, it will cite sources to support what it says, and when in doubt, you can check these sources to see whether what Stampy says is accurate.
At a high level1
-
Searching a curated dataset of AI safety sources (like articles and blog posts) for snippets relevant to the question;
-
Feeding these snippets into the context window of an LLM
and prompting the LLM to write a summary;Large language modelView full definitionAn AI model that takes in some text and predicts how the text is most likely to continue.
-
Showing this summary on the site, along with links to the sources.
For a more detailed explanation of how the chatbot works, see this post.
This approach is called “retrieval-augmented generation” (RAG). ↩︎