Skip to content

rubenvereecken/treasurehunt-gpt

Repository files navigation

Treasure Hunt GPT

Treasure Hunt Admin Bot, written on top of Langchain and GPT 3.5, for a Treasure Hunt that I organised. See this notebook to see the bot in action, including the prompts used to direct it.

Frontend (with screenshots) lives here

Tech Stack

  • Python 3.9
  • Langchain and GPT 3.5 (optimised for chat)
  • DynamoDB for chat history
  • Serverless Framework + AWS Lambda/API Gateway

Running Locally

You'll need to set up the environment variable OPENAI_API_KEY with your own OpenAI key. From there on, spin up the notebook using jupyter notebook or using Visual Studio's Notebook plugin.

State Machine

Instead of relying on the bot to remember which state (treasure hunt riddle) it should be on, it is instead forced to simulate a state machine. In each state, it should figure out the best action to take. The rules of the state machine are explained in simple natural language, as opposed to a formal representation.

(TODO: add screenshot for the state machine governing the bot)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published