Commit Graph

769 Commits (4323662008519396c598b4e14ab87923fadff923)
 

Author SHA1 Message Date
Tekky 4323662008
Merge pull request #875 from Lin-jun-xiang/annotations
Fix: Python versions below 3.9 cannot use `g4f`
11 months ago
msi-JunXiang 901595b10f type hints
Use `from __future__ import annotations avoid `dict` and `list` cause "TypeErro: 'type' object is not subscriptable".

Refer to the following Stack Overflow discussions for more information:
1.
https://stackoverflow.com/questions/75202610/typeerror-type-object-is-not-subscriptable-python
2.
https://stackoverflow.com/questions/59101121/type-hint-for-a-dict-gives-typeerror-type-object-is-not-subscriptable
11 months ago
Tekky 9de43a0e95
~ |  Merge pull request #872
~ | Fix bing provider, Update readme
11 months ago
Heiner Lohaus 9bfcc0c4b9 Update readme 11 months ago
Heiner Lohaus 3e6b1d6bef Set working=True in Liaobots, Fix bing provider, Update readme 11 months ago
abc e818fcda6b ~ 11 months ago
Tekky e7b90652b8
~ | Merge pull request #861 (add httpx)
Add httpx requirement
11 months ago
Tekky 0abdec5d42
Merge pull request #859 from Lin-jun-xiang/junxiang/add-related-project
Add related project: Document GPT
11 months ago
Josh XT 3e7be07a54 Add httpx requirement 11 months ago
JunXiang a514ffb16f
Add related project: Document GPT
I've created a `document GPT`(chatPDF) which is based on "`langchain`" and "`gpt4free`".

The project initially utilized the Langchain to invoke the OpenAI model for implementing document GPT.

Now, it offers the option to use the gpt4free model, coupled with Hugging Face embedding.

**This integration enables users to use the document GPT app completely free**, without the need to input any API keys!

The [link](https://github.com/Lin-jun-xiang/docGPT-streamlit) has been added.
11 months ago
abc 51c5197c5c ~ 11 months ago
abc a4fe9907d6 ~ | v-0.0.2.6 11 months ago
abc 095eb48ee3 ~ | v-0.0.2.6 11 months ago
Tekky 7e687b3d17
~ | Merge pull request #844
Add OpenAssistant and HuggingChat provider, Remove HugChat
11 months ago
Tekky a11b5baaa4
Merge branch 'main' into hugging 11 months ago
Tekky ab2bc031aa
Merge pull request #851 from Luneye/patch-1
Update Bing.py
11 months ago
Luneye 01294db699
Merge branch 'main' into patch-1 11 months ago
Luneye a3851150b7
Update Bing.py
Fixed some errors in my previously precipitated commit.
11 months ago
Luneye 87c7db73a2
Update Bing.py
Added support the async function

Will implement proper cookie retrieval later but Bing is working for now
11 months ago
Heiner Lohaus 7294abc890 Add async support for H2o
Add format_prompt helper
Fix create_completion in AsyncGeneratorProvider
Move get_cookies from constructor to function
Add ow HuggingChat implement
Remove need auth form Liabots
Add staic cache for access_token in  OpenaiChat
Add OpenAssistant provider
Support stream and async in You
Support async and add userId in Yqcloud
Add log_time module
11 months ago
Luneye e2e2f281e8
Update Bing.py
Removed unnecessary check that could prematurely stop the AI's response while answering
11 months ago
abc efd75a11b8 ~ | code styling 11 months ago
abc 5d08c7201f ~ | v-0.0.2.5 11 months ago
abc bf3f0faa15 ~ 11 months ago
abc 567a0304ad ~| v-0.0.2.5 11 months ago
abc b953024f85 ~ 11 months ago
abc de42b60aba ~ 11 months ago
Tekky b2baf46e3c
~ | Merge pull request #803
Improve providers
11 months ago
Tekky 473ac1450a
Merge branch 'main' into up 11 months ago
Tekky 393d5788de
~ | Merge pull request #841
Add related project
11 months ago
Tekky af7defe2e4
~ | Merge pull request #839
Wuguokai
11 months ago
Tekky 19a13c240a
~ | Merge pull request #838
fix easychat stream : remove whitspace from data: and raise exception
11 months ago
Tekky 80f85e851e
~| Merge pull request #834
fix Yqcloud and You prompter using only the last message
11 months ago
Tekky d765551b97
Merge pull request #833 from hlohaus/bing
Fix bing provider
11 months ago
JunXiang c6b1a9a03b
Add related project
I've created a project that uses `gpt4free` for **auto translation** task.

This action will automatically update and push README.md for different language. For example:
1. push `README.zh-TW.md` (zh-tw version)
2. use `gpt4free` to translate
3. generate the `README.md` (en version)
4. auto commit and push translating version.

The [link](https://github.com/Lin-jun-xiang/action-translate-readme) has been added.
11 months ago
Heiner Lohaus 126496d3ca Add OpenaiChat and Hugchat Provider
Add tests for providers with auth
Improve async support / 2x faster
Shared get_cookies by domain  function
11 months ago
zengrr 38abb0a0b0 Ails Supplementary Identification of Unusual Response Content 11 months ago
Heiner Lohaus 1f56c79222 Remove judge function 11 months ago
Heiner Lohaus 69ca98ac85 Improve provider list 11 months ago
Bagus Indrayana c9d2f06090 Merge branch 'main' of https://github.com/bagusindrayana/gpt4free into main 11 months ago
Bagus Indrayana e56f9b7c0d remove whitspace from data: and raise exception 11 months ago
zengrr 1ed448e584 Ails throw the contents of an error response 12 months ago
zengrr 6a4463889e fix Yqcloud's prompter using only the last message 12 months ago
zengrr 7222d9b7ce "You" unicode decode and fix prompt just is last message 12 months ago
Heiner Lohaus d1b6921b5f Add create_async method 12 months ago
Heiner Lohaus 98d3304108 Improve providers with tests 12 months ago
Tekky 847843d120
~ | Merge pull request #829
Update link for provider ChatgptLogin
12 months ago
Tekky e0c9a05df2
~ | Merge pull request #828
fix theb but need auth
12 months ago
Tekky 41309d4f01
~ | Merge pull request #827
update header & response easychat
12 months ago
Tekky 704408202b
~ | Merge pull request #832
Fixed Equing non-streaming request error and added encoding and temperature settings.
12 months ago