---
title: Own Knowledge GPT
emoji: 🚀
colorFrom: indigo
colorTo: red
sdk: gradio
sdk_version: 4.2.0
app_file: app.py
pinned: false
license: mit
---
# Own-Knowledge-GPT
## Introduction
Welcome to the Own-Knowledge-GPT, this is a demo project that allow you want your Chat bot can learn anything you want
This project is built by Python and integration with OpenAI API which use GPT-3.5-turbo model
## Getting Started
### 1. Environment Setup
The project is built in python 3.9+. You need to install python 3.9 or later
```commandline
git clone git@hf.co:spaces/myn0908/Own-Knowledge-GPT
```
For install dependencies:
```commandline
pip install -r requirements.txt
```
### How to use
This project use Gradio to build User Interface, please use:
```commandline
python app.py
```
Enjoy project with step by step follow this:
Bot Learning with URL
![Screenshot 2023-11-13 at 19.56.40.png](..%2F..%2F..%2F..%2Fvar%2Ffolders%2Fzc%2Fcsmhsgrd0bz3bbkycljwdk2c0000gn%2FT%2FTemporaryItems%2FNSIRD_screencaptureui_zJFx9p%2FScreenshot%202023-11-13%20at%2019.56.40.png)
Please input URL and your file format and then press Training button, when the training process is finished, it's will notice you Training Completed
After that, you can starting chat with your custom bot about the topic in your URL
![Screenshot 2023-11-13 at 20.00.10.png](..%2F..%2F..%2F..%2Fvar%2Ffolders%2Fzc%2Fcsmhsgrd0bz3bbkycljwdk2c0000gn%2FT%2FTemporaryItems%2FNSIRD_screencaptureui_xDIQGv%2FScreenshot%202023-11-13%20at%2020.00.10.png)
The vector index storage by this structure:
![Screenshot 2023-11-13 at 20.03.04.png](..%2F..%2F..%2F..%2Fvar%2Ffolders%2Fzc%2Fcsmhsgrd0bz3bbkycljwdk2c0000gn%2FT%2FTemporaryItems%2FNSIRD_screencaptureui_ZTP7r9%2FScreenshot%202023-11-13%20at%2020.03.04.png)
Raw data
{
"_id": null,
"home_page": "https://huggingface.co/myn0908",
"name": "own-knowledge-gpt",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3.9",
"maintainer_email": "",
"keywords": "AI HACKER,AI,autoGPT,Deep Learning,LLM,Interface",
"author": "TinVo",
"author_email": "tinprocoder0908@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/5d/66/a820a1c8e2b51c89d7a546c961c67a026233fbdcfa45d027f2619c93a73d/own-knowledge-gpt-0.0.3.tar.gz",
"platform": null,
"description": "---\ntitle: Own Knowledge GPT\nemoji: \ud83d\ude80\ncolorFrom: indigo\ncolorTo: red\nsdk: gradio\nsdk_version: 4.2.0\napp_file: app.py\npinned: false\nlicense: mit\n---\n\n# Own-Knowledge-GPT \n## Introduction \nWelcome to the Own-Knowledge-GPT, this is a demo project that allow you want your Chat bot can learn anything you want \n\nThis project is built by Python and integration with OpenAI API which use GPT-3.5-turbo model \n\n## Getting Started \n### 1. Environment Setup\nThe project is built in python 3.9+. You need to install python 3.9 or later\n```commandline\n git clone git@hf.co:spaces/myn0908/Own-Knowledge-GPT\n```\nFor install dependencies:\n```commandline\n pip install -r requirements.txt\n```\n### How to use \nThis project use Gradio to build User Interface, please use: \n```commandline\n python app.py\n```\nEnjoy project with step by step follow this: \n\nBot Learning with URL \n![Screenshot 2023-11-13 at 19.56.40.png](..%2F..%2F..%2F..%2Fvar%2Ffolders%2Fzc%2Fcsmhsgrd0bz3bbkycljwdk2c0000gn%2FT%2FTemporaryItems%2FNSIRD_screencaptureui_zJFx9p%2FScreenshot%202023-11-13%20at%2019.56.40.png)\n\nPlease input URL and your file format and then press Training button, when the training process is finished, it's will notice you Training Completed \n\nAfter that, you can starting chat with your custom bot about the topic in your URL\n![Screenshot 2023-11-13 at 20.00.10.png](..%2F..%2F..%2F..%2Fvar%2Ffolders%2Fzc%2Fcsmhsgrd0bz3bbkycljwdk2c0000gn%2FT%2FTemporaryItems%2FNSIRD_screencaptureui_xDIQGv%2FScreenshot%202023-11-13%20at%2020.00.10.png)\n\nThe vector index storage by this structure: \n\n![Screenshot 2023-11-13 at 20.03.04.png](..%2F..%2F..%2F..%2Fvar%2Ffolders%2Fzc%2Fcsmhsgrd0bz3bbkycljwdk2c0000gn%2FT%2FTemporaryItems%2FNSIRD_screencaptureui_ZTP7r9%2FScreenshot%202023-11-13%20at%2020.03.04.png)\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "Custom Knowledge GPT",
"version": "0.0.3",
"project_urls": {
"Homepage": "https://huggingface.co/myn0908"
},
"split_keywords": [
"ai hacker",
"ai",
"autogpt",
"deep learning",
"llm",
"interface"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "3562a89cb1746e7b518a9758e89be25dba23330c04b7023f90547340a4c5ff09",
"md5": "47e84aad6f741dc86516582f88397a89",
"sha256": "9efc8db7891f48b72b19ffedc7cf06540c356be7f1712aa188914550c72ce419"
},
"downloads": -1,
"filename": "own_knowledge_gpt-0.0.3-py3-none-any.whl",
"has_sig": false,
"md5_digest": "47e84aad6f741dc86516582f88397a89",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.9",
"size": 3757,
"upload_time": "2023-11-13T14:22:42",
"upload_time_iso_8601": "2023-11-13T14:22:42.965862Z",
"url": "https://files.pythonhosted.org/packages/35/62/a89cb1746e7b518a9758e89be25dba23330c04b7023f90547340a4c5ff09/own_knowledge_gpt-0.0.3-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "5d66a820a1c8e2b51c89d7a546c961c67a026233fbdcfa45d027f2619c93a73d",
"md5": "d29904f0b233bc9baa45f32109301dc1",
"sha256": "8cf90448c02d72d96e30c8319c95e0ace7abbfe7aa8dd4902ef1a494734b0bb3"
},
"downloads": -1,
"filename": "own-knowledge-gpt-0.0.3.tar.gz",
"has_sig": false,
"md5_digest": "d29904f0b233bc9baa45f32109301dc1",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.9",
"size": 3828,
"upload_time": "2023-11-13T14:22:45",
"upload_time_iso_8601": "2023-11-13T14:22:45.048967Z",
"url": "https://files.pythonhosted.org/packages/5d/66/a820a1c8e2b51c89d7a546c961c67a026233fbdcfa45d027f2619c93a73d/own-knowledge-gpt-0.0.3.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-11-13 14:22:45",
"github": false,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"lcname": "own-knowledge-gpt"
}