Releases: Lin-jun-xiang/docGPT-langchain
v3.3
v3.2
- add
show available providers
button - Update README
v3.1
✨What's new in version3?
- Introduction of integration with
gpt4free
, allowing users to use docGPT for free without needing to input API keys or make payments.
-
If you choose to use the
gpt4free
model, you only need to select theProvider
(default isg4f.provider.ChatgptAi
). For more details aboutgpt4free
, refer to the source project. -
Version 2:
- Uses the
openai
model. - Requires an
openai_api_key
. You can obtain this key from the link. - If you have a
serpapi_key
, AI responses can include Google search results.
- Uses the
-
Version 3:
- Retains all the features of Version 2.
- Introduces the
gpt4free
model, enabling completely free usage. - Users can choose between
gpt4free
andopenai
models:gpt4free
: Allows free access to OpenAI models through reverse engineering, but stability might be compromised.openai
: Offers stable access by using an API key.
We introduced the usage of gpt4free
, allowing users to use the application for free without entering any API key or making payments.
-
Add the
gpt4free
model for app, user can choose usegpt4free
oropenai
model. -
In the
gpt4free
model, we'll use HuggingFace embedding for document which is no needopenai
api key. -
Clean and refactor code.
v2
v1
-
The agent utility toolkit includes: search, calculator, and docGPT. The removal of LLM aims to allow the model to be more focused on document-related tasks.
-
The implementation of docGPT involves FAISS + RetrievalQA. In the past, ChromaDB was used, but due to the issue mentioned here: GitHub Link, where there was a compatibility mismatch between ChromaDB and pysqlite3 versions causing the app to crash, it has been replaced with FAISS vector database.
-
For langchain and streamlit, versions 0.0.218 and 1.22.0 are temporarily being used. Attempts were made with versions 0.0.228 and 1.24.1, but the model's responses were not satisfactory (reasons unknown).