Skip to content

Generative AI choose-your-own-adventure game. Made using Langchain and Streamlit

Notifications You must be signed in to change notification settings

r-chong/DreamlandAI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Dreamland AI 🏰🌈

Generative AI choose-your-own-adventure game. Story progresses as you make decisions. Made using Python Langchain and Streamlit.

StorytellerGPT-3

Final Features:

  1. Dynamic Story Progression: As you make choices, the story will evolve in real time, giving you a unique experience each time you play the game.
  2. Streamlit Interface: The game's interface is built using Streamlit, which provides an intuitive and interactive environment for playing the game.
  3. NLP-Based Decision Making: The game uses natural language processing (NLP) to understand and process your decisions, making the game more immersive and interactive.

My Experience with Langchain 🦜️🔗

Working with Langchain has been a great experience. The library offers an intuitive and powerful way of generating text using AI models, allowing me to experiment with different styles and structures, resulting in a more variable development experience. In particular I focused on the chaining feature, which I used to feed the initial prompt to the chatbot, and the later connecting its outputs to decision-making chain.

How to Run 🏃

To run the game, follow these steps:

  1. Clone the repository to your local machine using git clone https://github.com/r-chong/DreamlandAI.git.
  2. Navigate to the directory of the game using cd StorytellerGPT.
  3. Run script python app.py
  4. Install dependencies
  5. Visit localhost:8501

About

Generative AI choose-your-own-adventure game. Made using Langchain and Streamlit

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages