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

techthiyanes/tutor-gpt

Repository files navigation

tutor-gpt

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

Installation

Create a new virtualenv and pip install -r requirements.txt.

Getting Started

Go to https://beta.openai.com/account/api-keys to generate your own OpenAI API key. Create a .env file from the .env.template and paste in your key.

To run the demo locally, uncomment line 133 in app.py and comment out 132. Then run python app.py.

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

Languages

  • Python 97.8%
  • Dockerfile 2.2%