myn0908 commited on
Commit
d59aa43
·
1 Parent(s): 085b39c

update readme.md

Browse files
README.md CHANGED
@@ -10,4 +10,35 @@ pinned: false
10
  license: mit
11
  ---
12
 
13
- Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
10
  license: mit
11
  ---
12
 
13
+ # Own-Knowledge-GPT
14
+ ## Introduction
15
+ Welcome to the Own-Knowledge-GPT, this is a demo project that allow you want your Chat bot can learn anything you want
16
+
17
+ This project is built by Python and integration with OpenAI API which use GPT-3.5-turbo model
18
+
19
+ ## Getting Started
20
+ ### 1. Environment Setup
21
+ The project is built in python 3.9+. You need to install python 3.9 or later
22
+
23
+ For install dependencies:
24
+ ```commandline
25
+ pip install -r requirements.txt
26
+ ```
27
+ ### How to use
28
+ This project use Gradio to build User Interface, please use:
29
+ ```commandline
30
+ python app.py
31
+ ```
32
+ Enjoy project with step by step follow this:
33
+
34
+ Bot Learning with URL
35
+ ![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)
36
+
37
+ 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
38
+
39
+ After that, you can starting chat with your custom bot about the topic in your URL
40
+ ![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)
41
+
42
+ The vector index storage by this structure:
43
+
44
+ ![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)
learning_documents/combined_content_index/index.faiss CHANGED
Binary files a/learning_documents/combined_content_index/index.faiss and b/learning_documents/combined_content_index/index.faiss differ
 
learning_documents/combined_content_index/index.pkl CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:7246a7c708997772e992539fa7cef62d0e33a4a77a03f6483be6a108106a7c1c
3
- size 100825
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:bbc4c242c12ce0d77cdeb962c2854f6c0888ce56f6d098a40570e16caff75d52
3
+ size 6059