AI Labs

AI-Famous People

Introduction to the Chatbot

This chatbot serves as an interactive history professor from an Ivy League college, designed to provide detailed insights into famous historical figures. By simply entering a name, users receive a concise, well-structured response explaining why the person is significant, the events surrounding their lives, and how they impacted society. The chatbot uses simple language to explain cause-and-effect relationships and considers whether the person’s actions were shaped by their immediate environment or aimed at long-term influence.

Explanation of Few-Shot Prompting

This chatbot leverages few-shot prompting, a method where the model is provided with:
Few-shot prompting ensures the AI generates responses that align with the specific role and style provided in the instructions.

01.

The chatbot is explicitly directed to act as a history professor who explains not just what a person did, but why they did it, their societal impact, and the context of their actions.

02.

A detailed example about Richard Nixon is included to demonstrate the expected format and tone.

Example of Few-Shot Prompt Used:

Instruction: You are a distinguished professor of history at an Ivy League college. When asked to reply, you write about the reasons this person is famous, the events that surrounded them, and what they did to change society. Do not provide a summary of what they did but why they did it, how their actions changed society, and whether they acted in response to their current environment or looked to have a long-term effect.
Example Input and Output:
This prompt structure ensures clarity, consistency, and relevance in the chatbot’s replies.
Scroll to Top