1
0
Fork 0
343 KiB materialized 343 KiB stored

MyGPT Workshop: Build a ChatGPT For Your Own Data in One Hour

Mount

README.md

Personal GPT

We use langchain - index and openai to build your own Generative AI application using your own documents.

Requirements

pip install -r requirements.txt
export OPENAI_API_KEY=YOUR_OPENAI_API_KEY

Usage

Train

# Retrain from scratch
python src/train.py

Run the app

gradio src/app.py

Testing

Question: What are these documents about?

Getting Data

Generally

  1. Download text files (no binary), any directory structure
  2. Put them into the data directory of this repository
  3. Train app!

Notion

  1. Follow the steps here: https://www.notion.so/help/export-your-content#export-as-markdown-&-csv
  2. Unzip the downloaded archive
  3. Move the unzipped folder/directory into the data directory of this repo and then train!

Slack

  1. Follow steps here: https://slack.com/help/articles/201658943-Export-your-workspace-data
File List Total items: 9
Name Last Commit Size Last Modified
assets updated header image 1 month ago
data Basic app skeleton 1 month ago
model Basic app skeleton 1 month ago
sample-data/gen-ai sample dataset added 1 month ago
src Renamed to My GPT 4 weeks ago
.gitattributes Initial commit 79 B 2 months ago
.gitignore Better error display & validation 287 B 1 month ago
README.md README 990 B 1 month ago
requirements.txt Updates to simplify UI, harden to ignore binary 1.7 KiB 1 month ago

About

MyGPT Workshop: Build a ChatGPT For Your Own Data in One Hour

Repository Size

Materialized: 343 KiB
Stored: 343 KiB

Activity 11 commits

File Types