Aim of this repository is to provide on-premise server for chat-gpt rather than local server.
It helps companies/organisation to provide access to Chat-Gpt to their employees without them(employees) actually purchasing the GPT subscription individually.
It stores the usage data at the server in postgres backend. It also helps analyze the data of how people are using the chat-gpt at the workspace to optimize the workflow.
I recommend to use this only for work purpose and not for personal use as this stores data regarding user usage in plain text (for now).
Prerequisites
Running this project requires following dependencies
Docker (to orchestrate container)
Docker Compose (to manage containers)
Google Auth client id
Open AI key
Steps to install
Update the .env file with three parameters
API_KEY: OpenAi Key
GOOGLE_LOGIN_CLIENT_ID : Read here to get this. This is used to facilitate login via gmail.
EMAIL_DOMAIN: Email for your organisation for example
Run docker compose up -d. Wait for some time to get it live.
For production purpose make IS_DEBUG=false in .env file
Features supported
Feature to store conversation with chat-gpt.
Template feature with any number of variables.
Features to be supported
Stream tokens
Loader screen after submitting query. For now it takes time to load response, so one has to wait for the response without any indication.