Heiner Lohaus
5ca47b44b2
Add to many provider async and stream support, Fix Ails, AItianhu, ChatgptAi, ChatgptLogin Provider, Add fallback cookies to Bing, Improve OpenaiChat Provider
1 year ago
Tekky
8fe76cc4c9
~ | Merge pull request #869 from ahobsonsayers/add-console-script
...
~ | Add console script
1 year ago
Tekky
ae9702ecf0
~ | Merge pull request #876 from Lin-jun-xiang/join_messages
...
~ | Following PEP8, use `.join()` to process `messages`
1 year ago
Tekky
4323662008
Merge pull request #875 from Lin-jun-xiang/annotations
...
Fix: Python versions below 3.9 cannot use `g4f`
1 year ago
hs_junxiang
17c9adf485
Join the messages
...
A better approach is to use the `.join()` method of strings, which reduces string concatenation operations and improves performance.
Additionally, using formatted strings (f-strings) makes the code cleaner and more readable.
1 year 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
1 year ago
Tekky
9de43a0e95
~ | Merge pull request #872
...
~ | Fix bing provider, Update readme
1 year ago
Heiner Lohaus
9bfcc0c4b9
Update readme
1 year ago
Heiner Lohaus
3e6b1d6bef
Set working=True in Liaobots, Fix bing provider, Update readme
1 year ago
Arran Hobson Sayers
73f9b93f33
Merge branch 'main' into add-console-script
1 year ago
Arran Hobson Sayers
bb9f3edfff
Update requirements.txt
1 year ago
abc
e818fcda6b
~
1 year ago
Tekky
e7b90652b8
~ | Merge pull request #861 (add httpx)
...
Add httpx requirement
1 year ago
Tekky
0abdec5d42
Merge pull request #859 from Lin-jun-xiang/junxiang/add-related-project
...
Add related project: Document GPT
1 year ago
Arran Hobson Sayers
eee553bd46
Add console script
1 year ago
Josh XT
3e7be07a54
Add httpx requirement
1 year 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.
1 year ago
abc
51c5197c5c
~
1 year ago
abc
a4fe9907d6
~ | v-0.0.2.6
1 year ago
abc
095eb48ee3
~ | v-0.0.2.6
1 year ago
Tekky
7e687b3d17
~ | Merge pull request #844
...
Add OpenAssistant and HuggingChat provider, Remove HugChat
1 year ago
Tekky
a11b5baaa4
Merge branch 'main' into hugging
1 year ago
Tekky
ab2bc031aa
Merge pull request #851 from Luneye/patch-1
...
Update Bing.py
1 year ago
Luneye
01294db699
Merge branch 'main' into patch-1
1 year ago
Luneye
a3851150b7
Update Bing.py
...
Fixed some errors in my previously precipitated commit.
1 year ago
Luneye
87c7db73a2
Update Bing.py
...
Added support the async function
Will implement proper cookie retrieval later but Bing is working for now
1 year 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
1 year ago
Luneye
e2e2f281e8
Update Bing.py
...
Removed unnecessary check that could prematurely stop the AI's response while answering
1 year ago
abc
efd75a11b8
~ | code styling
1 year ago
abc
5d08c7201f
~ | v-0.0.2.5
1 year ago
abc
bf3f0faa15
~
1 year ago
abc
567a0304ad
~| v-0.0.2.5
1 year ago
abc
b953024f85
~
1 year ago
abc
de42b60aba
~
1 year ago
Tekky
b2baf46e3c
~ | Merge pull request #803
...
Improve providers
1 year ago
Tekky
473ac1450a
Merge branch 'main' into up
1 year ago
Tekky
393d5788de
~ | Merge pull request #841
...
Add related project
1 year ago
Tekky
af7defe2e4
~ | Merge pull request #839
...
Wuguokai
1 year ago
Tekky
19a13c240a
~ | Merge pull request #838
...
fix easychat stream : remove whitspace from data: and raise exception
1 year ago
Tekky
80f85e851e
~| Merge pull request #834
...
fix Yqcloud and You prompter using only the last message
1 year ago
Tekky
d765551b97
Merge pull request #833 from hlohaus/bing
...
Fix bing provider
1 year 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.
1 year 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
1 year ago
zengrr
38abb0a0b0
Ails Supplementary Identification of Unusual Response Content
1 year ago
Heiner Lohaus
1f56c79222
Remove judge function
1 year ago
Heiner Lohaus
69ca98ac85
Improve provider list
1 year ago
Bagus Indrayana
c9d2f06090
Merge branch 'main' of https://github.com/bagusindrayana/gpt4free into main
1 year ago
Bagus Indrayana
e56f9b7c0d
remove whitspace from data: and raise exception
1 year ago
zengrr
1ed448e584
Ails throw the contents of an error response
1 year ago
zengrr
6a4463889e
fix Yqcloud's prompter using only the last message
1 year ago