Au2mater / MyGPTs

Allow everyone in your organisation to create their own personlized GPT Chat Assistants with custom "rules" and knowledge sources, using a simple graphic user interface and without any coding.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

MyGPTs 🗨️

A simple user interface for easily creating, sharing and chatting with assistants based on GPT models.

Creating and sharing custom chatbots has never been easier! The goal of this app is to allow everyone in an organization to create their own personalized GPT Chat Assistants with custom "rules" and knowledge sources (RAG), using a simple graphic user interface and without any coding.
Setting up the app might require some technical knowledge. If you already have access to an OpenAi API, Azure OpenAi API or have LM Studio running locally, this can be done in a few minutes.
When the app is launched, everyone with access to the app can create, share and chat with their own custom made assistants.

Oprah meme: You get a GPT! You get a GPT! Everyone gets a GPT!

Table of contents

Features

Assistants

  • Allow anyone to create and edit their own GPT Chat Assistants
  • Add documents and websites to the assistant's knowledge base (Drag and drop RAG).
  • No coding required

Models
APIs currently supported:

  • Azure OpenAi
  • OpenAi
  • Local models served using LM Studio
  • Any Chat API compatible with openai-python library

Privacy
This app runs locally on your server.
Besides the optional OpenAi or Azure API calls, no data is collected.
The only external data transfer happens when using OpenAi and Azure OpenAi APIs.
If you want full privacy, use an open-source local model through LM Studio. In this case everything should run on-premise and no data will leave your organisation.
Knowledge sources are indexed in a local vector database using a locally downloaded open-source embeddings model.

Languages
User interface languages currently supported:

  • Danish

Knowledge base sources currently supported
PDF, DOC, DOCX, MD, TXT, and web URLs

Installation

Docker

Prerequisites

Before you can run this application, you need to have the following installed on your server or local machine:

Setup

  1. Clone the repository to your local machine or download as a zip file and extract it.
  2. In a terminal: Navigate to the project directory in your terminal, the folder named 'MYGPTS'. For windows and linux:
cd <path to project directory>/MYGPTS
  1. Build the docker image: For windows and linux:
docker build -t mygpts:latest .

Local virtual environment

Prerequisites

Before you can run this application, you need to have the following installed on your server or local machine:

pixi install pipenv

Setup

  1. Clone the repository to your local machine or download as a zip file and extract it.
  2. In a terminal: Navigate to the project directory in your terminal, the folder named 'MYGPTS'. For windows:
cd <path to project directory>/MYGPTS
  1. Install the project dependencies using Pipenv by running the following command:
pipenv install
  1. Activate the virtual environment:
pipenv shell
  1. With the environment still activated, run the following command to setup the databases:
python scripts\setup.py

Congrats! 🎉 You're ready to run the app.

Running the app

  1. Start the app:
    a. If your using docker, run the docker image:
    docker run -p 8501:8501 mygpts:latest
    b. If you're using a local virtual environment, in the scripts folder, run the the start_app.bat file.

A server should start up on port 8501 and a browser tab should open with the app interface.

  1. In the browser tab, add /?admin to the url and press enter.


    Example: http://localhost:8501/MyGPTs/?admin

  2. You will now be presented with an admin interface where you can add your model APIs to the app.
    Click the 'Tilføj ny model' button and fill out the form.
    To start creating and sharing assistants press the 'Mine assistenter' button.

Start building and sharing your GPTs.

Prototype in Beta

Please note that this app is currently in beta and is still a prototype. Breaking changes may occur as I continue to improve and refine the functionality. I appreciate your understanding and feedback as I work towards a stable release.

Version: 0.3.4

Built using Streamlit, LangChain and ChromaDB.

Screenshots

Screenshot of assistant builder.


Screenshot of assistant builder.


Screenshot of chat interface.

About

Allow everyone in your organisation to create their own personlized GPT Chat Assistants with custom "rules" and knowledge sources, using a simple graphic user interface and without any coding.

License:GNU General Public License v3.0


Languages

Language:Python 100.0%Language:Batchfile 0.0%