Warning
This repository is no longer actively maintained. caa 10 Sep 2023, CherGPT is now in maintenance mode. Please see CherGPT Basic instead
![image](https://private-user-images.githubusercontent.com/44336310/270166711-a8015029-46c5-45dc-a10e-559cad1d220d.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzg5NjI3NzksIm5iZiI6MTczODk2MjQ3OSwicGF0aCI6Ii80NDMzNjMxMC8yNzAxNjY3MTEtYTgwMTUwMjktNDZjNS00NWRjLWExMGUtNTU5Y2FkMWQyMjBkLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMDclMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjA3VDIxMDc1OVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTY5NDBmMzllODZmZjIwYjMyOTZhNGJiMDVmYTc2M2ViMjVhYWI4YjNjMTc4ZWI4MGE0ZDI5OWYxY2IwMzEzZjMmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.G9MOcHMDeeNf3KENnmwJguk7oJc3kMqiUdv7kRGONtA)
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*
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
- MongoDB account**
- Retrieve your own OpenAPI key
- 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"