Skip to content

No backend, no login, vanilla ChatGPT-like interface with scaffolded code for immediate deployment

Notifications You must be signed in to change notification settings

String-sg/chergpt-basic

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

87 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Chergpt-Basic: Custom Chat Assistant

Chergpt-Basic is a simplified, login-free ChatGPT-like interface designed for quick deployment image It is also mobile friendly!
image

Deployment - examples

Features

  • Set custom instructions to guide student interactions.
  • Download chatlogs
  • Generate learning/ teaching analytics based on chatlogs

Need to secure access with a simple global password? Check the authentication guide.

Use Cases

Chergpt-Basic enables a variety of use cases, with the primary one being the creation of user personas for students to interact with. Examples include historical figures or patients with specific medical conditions and a guided escape room for primary school Chinese Language Learning (wiht particular tasks as checks for understanding)

Deploying

There are three main steps:
1 Setup your database
2 Getting your OpenAI API Key (will soon move to another open source model)
3 Deploy to the web via Streamlit
##1 How to setup backend (database) We recommend using NeonDB, start here

  1. Go to this link, login and create your account.
    image

2. Create a free project with Singapore as the region. Pick any project and database name you like.
![image](https://github.com/String-sg/chergpt-basic/assets/44336310/c5e529e2-74c6-47d8-935e-43b0a911c252)

image
3. Click on the copy icon - this will give you your database (DB) connection String that allows you to store data persistently in CherGPT.
Keep this somewhere safe, you will also need to use this shortly.

OpenAI API Key

  • See here if you're unsure how to create it.
    Keep this somewhere safe, you will also need to use this shortly.

3 Deploying to Streamlit

Click here

  1. You will be prompted to create a streamlit account here
  2. You will be prompted to create a github account image
  3. Click Deploy app. You should see this screen - edit the domain to anything of your choice! image Under Repository, type: String-sg/Chergpt-basic image
  4. Go to advanced settings and update Secrets.toml with your own values image
  5. Upon clicking "fork", wait a few mins:
    image

Feel free to explore and enhance the functionality of Chergpt-Basic according to your specific needs!

About

No backend, no login, vanilla ChatGPT-like interface with scaffolded code for immediate deployment

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages