File tree Expand file tree Collapse file tree 1 file changed +8
-7
lines changed Expand file tree Collapse file tree 1 file changed +8
-7
lines changed Original file line number Diff line number Diff line change 1
1
# chatgpt-retrieval
2
2
3
- Run ChatGPT on your own files.
4
- Video summary: https://youtu.be/9AXP7tCI9PI
3
+ Simple script to use ChatGPT on your own files.
5
4
6
- ** Installation **
5
+ Here's the [ YouTube Video ] ( https://youtu.be/9AXP7tCI9PI ) .
7
6
8
- Install Langchain https://github.com/hwchase17/langchain .
7
+ ## Installation
8
+
9
+ Install [ Langchain] ( https://github.com/hwchase17/langchain ) .
9
10
```
10
11
pip install langchain
11
12
pip install openai
12
13
```
13
- Modify ` constants.py ` to use your own OpenAI API key. https://platform.openai.com/account/api-keys .
14
+ Modify ` constants.py ` to use your own [ OpenAI API key] ( https://platform.openai.com/account/api-keys ) .
14
15
15
- Place your own data into " data.txt" .
16
+ Place your own data into ` data.txt ` .
16
17
17
- ** Example usage: **
18
+ ## Example usage
18
19
```
19
20
> python chatgpt.py "what is my dog's name"
20
21
Your dog's name is Sunny.
You can’t perform that action at this time.
0 commit comments