Skip to content

Play WarGames with ChatGPT using Langchain's Agents

Notifications You must be signed in to change notification settings

multipolarityai/warGPT

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

War Game Dialogue Simulator

This is a Python script that simulates a war game dialogue between two entities: an AI system named "WOPR" and a human supervisor named "David Lightman". It uses the LangChain implementation of OpenAI's ChatGPT model.

We don't claim any credit except for the idea of adapting the code you can find on LangChain which explains how to play Two-Player Dungeons & Dragons using an LLM like OpenAI's ChatGPT.

Setup

To run this script, you need to set your OpenAI API key as an environment variable:

export OPENAI_API_KEY="your OpenAI API Key"

About

Play WarGames with ChatGPT using Langchain's Agents

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages