Skip to content

v3.1

Compare
Choose a tag to compare
@Lin-jun-xiang Lin-jun-xiang released this 29 Aug 08:07
· 35 commits to main since this release

✨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 the Provider (default is g4f.provider.ChatgptAi). For more details about gpt4free, 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.
  • Version 3:

    • Retains all the features of Version 2.
    • Introduces the gpt4free model, enabling completely free usage.
    • Users can choose between gpt4free and openai 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.

  1. Add the gpt4free model for app, user can choose use gpt4free or openai model.

  2. In the gpt4free model, we'll use HuggingFace embedding for document which is no need openai api key.

  3. Clean and refactor code.