Skip to content

Commit 922ffea

Browse files
committed
Update Version3 for gpt4free model
1 parent f93cd92 commit 922ffea

File tree

2 files changed

+45
-6
lines changed

2 files changed

+45
-6
lines changed

README.md

Lines changed: 19 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,18 +12,33 @@
1212
- [Advanced - How to build a better model in langchain](#advanced---how-to-build-a-better-model-in-langchain)
1313

1414
* Main Development Software and Packages:
15-
* `Python 3.8.6`
15+
* `Python 3.10.11`
1616
* `Langchain 0.0.218`
1717
* `Streamlit 1.22.0`
1818

19-
* Using this tool requires at least the `openai_api_key`. You can visit the [link](https://platform.openai.com/) to learn how to obtain the key.
19+
### docGPT-V2 vs docGPT-V3
20+
21+
In docGPT-V3, we introduced the usage of `gpt4free`, allowing users to use the application **for free without entering any API key or making payments** (For more information about [`gpt4free`](https://github.com/xtekky/gpt4free), please refer to the source project).
22+
23+
* Version2
24+
* Utilizes the **`openai` model**
25+
* To use this tool, you need to have at least the `openai_api_key`. You can obtain the key by visiting the [link](https://platform.openai.com/)
26+
* If you have a `serpapi_key`, the AI model can answer questions and implement Google search functionality
27+
28+
* Version3
29+
* Retains all the features of Version2
30+
* Adds the **`gpt4free` model**, enabling users to use it **completely for free**
31+
* Users can choose between `gpt4free` or `openai` as the model, with differences as follows:
32+
* `gpt4free`: Achieves free access to openai through reverse engineering, although it's less stable
33+
* `openai`: Stable access to the `openai` model by providing an API key
2034

2135
<p align="center">
22-
<img src='img/2023-08-24-15-02-11.png' width='100%'>
36+
<img src="img/2023-08-29-11-51-13.png" width="70%">
2337
</p>
2438

25-
---
39+
If you like this project, please give it a ⭐`Star` to support the developers~
2640

41+
---
2742

2843
### Introduction
2944

README.zh-TW.md

Lines changed: 26 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,33 @@
1010
- [Advanced - How to build a better model in langchain](#advanced---how-to-build-a-better-model-in-langchain)
1111

1212
* 主要開發軟體與套件:
13-
* `Python 3.8.6`
13+
* `Python 3.10.11`
1414
* `Langchain 0.0.218`
1515
* `Streamlit 1.22.0`
16+
* [more](./requirements.txt)
1617

17-
* 使用該工具至少須具備 `openai_api_key`,有關如何取得 key 可以前往[連結](https://platform.openai.com/)
18+
### docGPT-V2 vs docGPT-V3
19+
20+
我們在 docGPT-V3 引入 `gpt4free` 的調用,讓使用者可以在不輸入任何 api key、付費的情況下,**免費使用**該應用程序
21+
(更多 [`gpt4free`](https://github.com/xtekky/gpt4free) 的資訊請參考源專案)
22+
23+
* Version2
24+
* 使用 **`openai` 模型**
25+
* 使用該工具至少**須具備** `openai_api_key`,有關如何取得 key 可以前往[連結](https://platform.openai.com/)
26+
* 若具備 `serpapi_key`,可以讓 AI 模型回答實現 google 搜尋功能
27+
28+
* Version3
29+
* 保留 Version2 的所有功能
30+
* 新增 **`gpt4free` 模型**,讓使用者能在**完全免費**的狀態下使用
31+
* 使用者可以選擇 `gpt4free` 或者 `openai` 作為模型,差別如下:
32+
* `gpt4free`: 透過逆向工程實現免費調用 openai,缺點是不穩定
33+
* `openai`: 帶入 api key,穩定調用 `openai` 模型
34+
35+
<p align="center">
36+
<img src="img/2023-08-29-11-51-13.png" width="70%">
37+
</p>
38+
39+
如果您喜歡這個專案,請給予⭐`Star`以支持開發者~
1840

1941
---
2042

@@ -34,6 +56,8 @@
3456
* `docGPT`: 當使用者詢問有關 PDF 文檔內容,使用該工具可以進行解答 (該工具也是我們透過 retrievalQA 建立的)
3557
* `docGPT` 是基於 **langchain****streamlit** 開發的
3658

59+
###
60+
3761
---
3862

3963
### What's LangChain?

0 commit comments

Comments
 (0)