Skip to content

LangChain LLM application. Dynamic few-shot metaprompting for the task of tutoring.

License

Notifications You must be signed in to change notification settings

alexd725/tutor-gpt

Repository files navigation

tutor-gpt

Tutor-GPT is a LangChain LLM application. It uses dynamic few-shot prompting for the task of tutoring.

Installation

This project requires docker to be installed and running locally. Install docker and ensure it's running before proceeding.

Getting Started

This app requires you to have a few different environment variables set. Create a .env file from the .env.template.

OPENAI_API_KEY: Go to OpenAI to generate your own API key.
BOT_TOKEN: This is the discord bot token. You can find instructions on how to create a bot and generate a token in the pycord docs.
THOUGHT_CHANNEL_ID: This is the discord channel for the bot to output thoughts to. Make a channel in your server and copy the ID by right clicking the channel and copying the link. The channel ID is the last string of numbers in the link.

Docker/Containerization

The repository containers a Dockerfile for running the bot in a containerized workflow. Use the follow command to build and run the container

docker build -t tutor-gpt:latest .
docker run tutor-gpt:latest 

The current behaviour will utilize the .env file in your local repository and run the bot.

About

LangChain LLM application. Dynamic few-shot metaprompting for the task of tutoring.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published