Skip to content

String-sg/chergpt2

Repository files navigation

Warning

This repository is no longer actively maintained. caa 10 Sep 2023, CherGPT is now in maintenance mode. Please see CherGPT Basic instead

CherGPT

image

Main developer (Web): Joe Tay
Main developer (Telegram) and Web Starter Kit: Kahhow
Documentation previously maintained by Kahhow and Adrian
Support and access previously managed by Lance*

Setup instructions

In your terminal, run:
pip install -r requirements.txt

Please approach the String Team for secrets.toml credentials to be defined under .streamlit folder

Thereafter, in your terminal, run:
streamlit run main.py

Required Setup

  1. MongoDB account**
  2. Retrieve your own OpenAPI key
  3. Deploy this app to streamlit.

    ** If you would like to view chatlogs (basically a backend/ some sort of datastore). The basic chatbot setup without backend is simpler. More will be explained in the documentation (Work-in-progress)

You can develop your own function and call the function in the main(), you need to modify the default tab list in secrets.toml to add in a new function Secrets.toml is part of your Streamlit deployment and is the equivalent of .env file

Note: Please refer to upcoming documentation on what to include in Secrets.toml. Should be just OpenAI API Key and also MongoDB URI (to be confirmed)

db_host = "insert your own MongoDB URI"
OPENAI_API_KEY = "insert your own"

About

AI-powered virtual learning assistant

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages