Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Update helper.py | H Lohaus | 2023-11-16 | 1 | -8/+8 |
| | |||||
* | Update Phind.py | H Lohaus | 2023-11-16 | 1 | -9/+4 |
| | |||||
* | Update helper.py | H Lohaus | 2023-11-16 | 1 | -0/+1 |
| | |||||
* | Update helper.py | H Lohaus | 2023-11-16 | 1 | -1/+6 |
| | |||||
* | Fix Bard Provider | Heiner Lohaus | 2023-11-16 | 2 | -79/+85 |
| | |||||
* | Fix Phind and PerplexityAi - GPT-4 Providers | Heiner Lohaus | 2023-11-16 | 8 | -393/+419 |
| | | | | | | | Fix MyShell Provider Refactor Provider __init__ Add ChatAnywhere Provider Update models list | ||||
* | Update OpenaiChat.py | H Lohaus | 2023-11-15 | 1 | -0/+1 |
| | |||||
* | Fix Chatgpt4Online Provider | Heiner Lohaus | 2023-11-13 | 11 | -45/+47 |
| | |||||
* | Add Berlin and Koala Provider | Heiner Lohaus | 2023-11-12 | 3 | -0/+155 |
| | |||||
* | Add auto_continue to OpenaiChat | Heiner Lohaus | 2023-11-12 | 2 | -45/+70 |
| | | | | Update readme provider tables | ||||
* | Add py_arkose_generator in OpenaiChat | Heiner Lohaus | 2023-11-11 | 1 | -48/+12 |
| | |||||
* | fix: no module named 'flask' (#1216) | hs_junxiang | 2023-11-07 | 1 | -1/+1 |
| | |||||
* | Merge pull request #1207 from hlohaus/win | H Lohaus | 2023-11-05 | 1 | -12/+26 |
|\ | | | | | Fix NotImplementedError on WIn | ||||
| * | Add exec_js helper def | Heiner Lohaus | 2023-11-03 | 1 | -21/+25 |
| | | |||||
| * | Fix NotImplementedError on WIn | Heiner Lohaus | 2023-11-03 | 1 | -0/+10 |
| | | |||||
* | | Update Bing.py - Removed unnecessary "await" statements that could potentially lead to errors | Luneye | 2023-11-04 | 1 | -2/+2 |
|/ | |||||
* | Merge pull request #1181 from hlohaus/arkose | H Lohaus | 2023-10-29 | 1 | -3/+10 |
|\ | | | | | Use asyncio subprocess in OpenaiChat | ||||
| * | Use asyncio subprocess in OpenaiChat | Heiner Lohaus | 2023-10-28 | 1 | -3/+10 |
| | | |||||
* | | Update ChatBase.py - Added jailbreak (enabled by default), Removed list incorrect responses | Luneye | 2023-10-29 | 1 | -10/+14 |
|/ | |||||
* | Add arkose_token to OpenaiChat | Heiner Lohaus | 2023-10-28 | 178 | -15/+29503 |
| | |||||
* | Update config supports_message_history | Heiner Lohaus | 2023-10-27 | 27 | -47/+56 |
| | |||||
* | Add Llama2 Providers / Models | Heiner Lohaus | 2023-10-26 | 3 | -9/+74 |
| | |||||
* | Merge pull request #1153 from AndPim4912/ChatBase-incorrect-responses | Tekky | 2023-10-25 | 1 | -2/+2 |
|\ | | | | | Extract keywords from incorrect responses | ||||
| * | Extract keywords from incorrect responses | razrab | 2023-10-25 | 1 | -3/+3 |
| | | | | | | | | The text of error responses is dynamically created by LLM. Need determine by keywords for more precise identification. | ||||
* | | Merge pull request #1149 from Luneye/patch-4 | Tekky | 2023-10-25 | 11 | -7/+18 |
|\ \ | |/ |/| | [suggestion] Adding new parameter to check if a provider 'natively' supports mesage history | ||||
| * | Indicated support of message history in GptForLove.py | Luneye | 2023-10-24 | 1 | -0/+1 |
| | | |||||
| * | Indicated support of message history in Bing.py | Luneye | 2023-10-24 | 1 | -0/+1 |
| | | |||||
| * | Indicated support of message history in ChatBase.py | Luneye | 2023-10-24 | 1 | -1/+2 |
| | | |||||
| * | Indicated support of message history in FreeGpt.py | Luneye | 2023-10-24 | 1 | -0/+1 |
| | | |||||
| * | Indicated support of message history in GPTalk.py | Luneye | 2023-10-24 | 1 | -1/+2 |
| | | |||||
| * | Indicated support of message history in Yqcloud.py | Luneye | 2023-10-24 | 1 | -0/+1 |
| | | |||||
| * | Indicated support of message history in You.py | Luneye | 2023-10-24 | 1 | -1/+2 |
| | | |||||
| * | Indicated support of message history in FakeGpt.py | Luneye | 2023-10-24 | 1 | -1/+2 |
| | | |||||
| * | Indicated support of message history in ChatForAi.py | Luneye | 2023-10-24 | 1 | -1/+2 |
| | | |||||
| * | Indicated support of message history in ChatgptX.py | Luneye | 2023-10-24 | 1 | -1/+2 |
| | | |||||
| * | [suggestion] Adding new parameter to check if provider supports message history | Luneye | 2023-10-24 | 1 | -1/+2 |
| | | | | | | What are your thoughts on introducing a parameter that allows us to promptly verify whether the provider supports message history? I also considered adding a parameter to indicate whether a provider can perform web searches. | ||||
* | | Merge pull request #1146 from AndPim4912/GetGpt-debian-compat | Tekky | 2023-10-24 | 1 | -1/+4 |
|\ \ | | | | | | | Update GetGpt provider for Debian python3-pycryptodome compatibility | ||||
| * | | Update GetGpt provider for Debian python3-pycryptodome compatibility | razrab | 2023-10-24 | 1 | -1/+4 |
| |/ | | | | | | | Try to import AES from Cryptodome.Cipher if Crypto.Cipher caused error. | ||||
* | | Merge pull request #1145 from AndPim4912/chatbase-invalid-response | Tekky | 2023-10-24 | 1 | -0/+7 |
|\ \ | | | | | | | Add support for detecting incorrect responses in ChatBase API requests. | ||||
| * | | Add support for detecting incorrect responses in ChatBase API requests. | razrab | 2023-10-24 | 1 | -0/+7 |
| |/ | |||||
* / | Update MyShell.py | Heiner Lohaus | 2023-10-24 | 1 | -0/+1 |
|/ | |||||
* | Update FreeGpt.py | Shubh Gajjar | 2023-10-24 | 1 | -2/+2 |
| | | | Changed older domain url with the working new url | ||||
* | Bugfix Bing.py - Resolved Issues with system prompt, Bing personalities and enabled all supported user requests | Luneye | 2023-10-23 | 1 | -47/+45 |
| | | | | | I used this repository (https://github.com/waylaidwanderer/node-chatgpt-api/) as a reference to fix all the bugs related to Bing "personality." I included all the required fields in the allowedMessageTypes and optionsSets (as well as sliceIds) to allow it to respond to any requests it actually supports. Will also finish the code to fully implement the image generation functionality. | ||||
* | 'Refactored by Sourcery' (#1125) | ⲘrṨhส∂ow | 2023-10-23 | 37 | -358/+364 |
| | | | Co-authored-by: Sourcery AI <> | ||||
* | Merge pull request #1124 from hlohaus/fake | Tekky | 2023-10-22 | 5 | -44/+65 |
|\ | | | | | Improve helper | ||||
| * | Debug logging support | Heiner Lohaus | 2023-10-22 | 4 | -34/+44 |
| | | | | | | | | Async browse access token | ||||
| * | Improve get_cookies helper | Heiner Lohaus | 2023-10-22 | 2 | -14/+25 |
| | | |||||
* | | Merge pull request #1122 from Luneye/patch-2 | Tekky | 2023-10-22 | 1 | -42/+222 |
|\ \ | |/ |/| | Major Update for Bing - Supports latest bundle version and image analysis | ||||
| * | Major Update for Bing - Supports latest bundle version and image analysis | Luneye | 2023-10-22 | 1 | -42/+222 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Here it is, a much-needed update to this service which offers numerous functionalities that the old code was unable to deliver to us. As you may know, ChatGPT Plus subscribers now have the opportunity to request image analysis directly from GPT within the chat bar. Bing has also integrated this feature into its chatbot. With this new code, you can now provide an image using a data URI, with all the following supported extensions: jpg, jpeg, png, and gif! **What is a data URI and how can I provide an image to Bing?** Just to clarify, a data URI is a method for encoding data directly into a URI (Uniform Resource Identifier). It is typically used for embedding small data objects like images, text, or other resources within web pages or documents. Data URIs are widely used in web applications. To provide an image from your desktop and retrieve it as a data URI, you can use this code: [GitHub link](https://gist.github.com/jsocol/1089733). Now, here is a code snippet you can use to provide images to Bing: ```python import g4f provider = g4f.Provider.Bing user_message = [{"role": "user", "content": "Hi, describe this image."}] response = g4f.ChatCompletion.create( model = g4f.models.gpt_4, provider = g4f.provider, # Corrected the provider value messages = user_message, stream = True, image = "data:image/jpeg;base64,/9j/4AAQSkZJRgABAQEASABIAAD/4RiSRXhpZgAASUkqAAg..." # Insert your full data URI image here ) for message in response: print(message, flush=True, end='') ``` If you don't want to analyze the image, just do not specify the image parameter. Regarding the implementation, the image is preprocessed within the Bing.py code, which can be resource-intensive for a server-side implementation. When using the Bing chatbot in your web browser, the image is preprocessed on your computer before being sent to the server. This preprocessing includes tasks like image rotation and compression. Although this implementation works, it would be more efficient to delegate image preprocessing to the client as it happens in reality. I will try to provide a JavaScript code for that at a later time. As you saw, I did mention in the title that it is in Beta. The way the code is written, Bing can sometimes mess up its answers. Indeed, Bing does not really stream its responses as the other providers do. Bing sends its answers like this on each iteration: "Hi," "Hi, this," "Hi, this is," "Hi, this is Bing." Instead of sending each segment one at a time, it already adds them on each iteration. So, to simulate a normal streaming response, other contributors made the code wait for the next iteration to retrieve the newer segments and yield them. However, this method ignores something that Bing does. Bing processes its responses in a markdown detector, which searches for links while the AI answers. If it finds a link, it saves it and waits until the AI finishes its answer to put all the found links at the very end of the answer. So if the AI is writing a link, but then on the next iteration, it finishes writing this link, it will then be deleted from the answer and appear later at the very end. Example: "Here is your link reference [" "Here is your link reference [^" "Here is your link reference [^1" "Here is your link reference [^1^" And then the response would get stuck there because the markdown detector would have deleted this link reference in the next response and waited until the AI is finished to put it at the very end. For this reason, I am working on an update to anticipate the markdown detector. So please, if you guys notice any bugs with this new implementation, I would greatly appreciate it if you could report them on the issue tab of this repo. Thanks in advance, and I hope that all these explanations were clear to you! | ||||
* | | Fix ChatgptAi Provider | Heiner Lohaus | 2023-10-22 | 2 | -39/+47 |
| | | |||||
* | | Add rate limit error messages | Heiner Lohaus | 2023-10-22 | 2 | -1/+6 |
| | | |||||
* | | Fix increase timeout | Heiner Lohaus | 2023-10-22 | 6 | -54/+94 |
| | | | | | | | | | | Add Hashnode Provider Fix Yqcloud Provider | ||||
* | | Enable Liaobots and ChatForAi again | Heiner Lohaus | 2023-10-22 | 2 | -3/+3 |
| | | |||||
* | | Fix MyShell Provider | Heiner Lohaus | 2023-10-22 | 9 | -23/+115 |
| | | |||||
* | | Add FakeGpt Provider | Heiner Lohaus | 2023-10-22 | 2 | -0/+97 |
|/ | | | | Update providers in models | ||||
* | ~ | g4f `v-0.1.7.2` | abc | 2023-10-21 | 16 | -123/+175 |
| | | | | patch / unpatch providers | ||||
* | ~ | abc | 2023-10-20 | 1 | -0/+3 |
| | | | | minor changes | ||||
* | ~ | abc | 2023-10-19 | 1 | -60/+72 |
| | | | | automatic models fetching in GUI. | ||||
* | Fix: debug.logging not work in retry provider | hs_junxiang | 2023-10-19 | 1 | -6/+5 |
| | |||||
* | Add timeout | ostix360 | 2023-10-17 | 1 | -1/+6 |
| | |||||
* | ~ | add `g4f.Provider.GeekGpt` | abc | 2023-10-16 | 2 | -1/+85 |
| | |||||
* | ~ | remove non-working providers | abc | 2023-10-16 | 11 | -32/+107 |
| | |||||
* | Add Llama2 and NoowAi Provider | Heiner Lohaus | 2023-10-15 | 6 | -7/+153 |
| | |||||
* | ~ | Merge pull request #1068 from hlohaus/fre | Tekky | 2023-10-14 | 10 | -101/+116 |
|\ | | | | | Fix Opchatgpts and ChatForAi Provider | ||||
| * | Fix Opchatgpts and ChatForAi Provider | Heiner Lohaus | 2023-10-14 | 10 | -101/+116 |
| | | | | | | | | Deprecate Vitalentum and Aivvm Provider | ||||
* | | ~ | abc | 2023-10-14 | 2 | -13/+11 |
|/ | | | | fix chatbase (bad) and remove from auto selection | ||||
* | Deprecate ChatForAi | Heiner Lohaus | 2023-10-12 | 3 | -5/+6 |
| | |||||
* | Add ChatgptLogin, ChatgptFree and GptChatly Provider | Heiner Lohaus | 2023-10-12 | 10 | -80/+391 |
| | |||||
* | Fix: GptGo json.decoder.JSONDecodeError | hs_junxiang | 2023-10-12 | 1 | -0/+2 |
| | |||||
* | ~ | g4f v-0.1.6.1 | abc | 2023-10-11 | 2 | -2/+2 |
| | | | | some bug fixes | ||||
* | ~ | remove DeepAi | abc | 2023-10-10 | 2 | -83/+0 |
| | |||||
* | ~ | g4f `v-0.1.5.8`0.1.5.8 | abc | 2023-10-10 | 1 | -1/+1 |
| | |||||
* | ~ | Merge pull request #1029 from hlohaus/die | Tekky | 2023-10-10 | 9 | -35/+32 |
|\ | | | | | Some small fixes | ||||
| * | Some small fixes | Heiner Lohaus | 2023-10-10 | 9 | -35/+32 |
| | | |||||
* | | make user agent easily changeable in deepai | Commenter123321 | 2023-10-10 | 1 | -2/+3 |
| | | |||||
* | | fix deepai :) | Commenter123321 | 2023-10-10 | 1 | -18/+17 |
| | | |||||
* | | remove unused import in Bing.py | Commenter123321 | 2023-10-10 | 1 | -1/+0 |
| | | |||||
* | | Aivvm is the best provider no cap | Commenter123321 | 2023-10-10 | 1 | -3/+6 |
| | | |||||
* | | Merge remote-tracking branch 'origin/main' | Commenter123321 | 2023-10-10 | 34 | -138/+252 |
|\ \ | | | | | | | | | | | | | | | | # Conflicts: # g4f/Provider/Aivvm.py # g4f/models.py | ||||
| * | | Update Aivvm.py | Commenter123321 | 2023-10-10 | 1 | -3/+3 |
| |/ | |||||
| * | ~ | abc | 2023-10-10 | 1 | -0/+62 |
| | | | | | | | | Conversion from str Provider to g4f.Provider | ||||
| * | Add Proxy Support and Create Provider to Readme | Heiner Lohaus | 2023-10-09 | 7 | -41/+57 |
| | | | | | | | | Add proxy support to many providers | ||||
| * | Add proxy support to all providers | Heiner Lohaus | 2023-10-09 | 28 | -102/+144 |
| | | |||||
* | | add cool testing for gpt-3.5 and and gpt-4 | Commenter123321 | 2023-10-09 | 2 | -20/+27 |
| | | |||||
* | | Merge remote-tracking branch 'origin/main' | Commenter123321 | 2023-10-09 | 60 | -516/+7991 |
|\| | | | | | | | | | # Conflicts: # g4f/Provider/Aivvm.py | ||||
| * | Add Messages and AsyncResult typing | Heiner Lohaus | 2023-10-08 | 5 | -31/+42 |
| | | | | | | | | Add system_message in Yqcloud | ||||
| * | Add Cromicle to provider list | Heiner Lohaus | 2023-10-08 | 5 | -27/+62 |
| | | |||||
| * | ~ | `v-0.1.5.5` | abc | 2023-10-07 | 3 | -5/+10 |
| | | | | | | | | Aiivm working again | ||||
| * | Remove Aivvm from working providers | Heiner Lohaus | 2023-10-07 | 3 | -7/+5 |
| | | |||||
| * | Improve code with ai | Heiner Lohaus | 2023-10-07 | 1 | -9/+16 |
| | | |||||
| * | Improve code by AI | Heiner Lohaus | 2023-10-07 | 2 | -25/+27 |
| | | |||||
| * | Add GptGod Provider | Heiner Lohaus | 2023-10-07 | 13 | -28/+73 |
| | | | | | | | | | | Remove timeout from aiohttp providers Disable Opchatgpts and ChatgptLogin provider | ||||
| * | Add GPTalk and GptForLove Provider | Heiner Lohaus | 2023-10-07 | 5 | -0/+6618 |
| | | |||||
| * | Fix timeout in create_async | Heiner Lohaus | 2023-10-06 | 9 | -30/+17 |
| | | |||||
| * | ~ | abc | 2023-10-06 | 1 | -2/+4 |
| | | |||||
| * | Fix: TypeError: 'type' object is not subscriptable | hs_junxiang | 2023-10-06 | 2 | -0/+8 |
| | | |||||
| * | Merge branch 'main' into bom | Tekky | 2023-10-05 | 1 | -0/+50 |
| |\ | |||||
| | * | Update Cromicle.py | Hexye | 2023-10-04 | 1 | -2/+2 |
| | | | |||||
| | * | Create Cromicle.py | Hexye | 2023-10-04 | 1 | -0/+50 |
| | | | |||||
| * | | Add AiAsk, Chatgpt4Online, ChatgptDemo | Heiner Lohaus | 2023-10-05 | 30 | -163/+578 |
| |/ | | | | | | | | | | | and ChatgptX Provider Fix Bing, Liaobots and ChatgptAi Provider Add "gpt_35_long" model and custom timeout | ||||
| * | ~ | g4f v-0.1.4.8 - Fixed `g4f.Provider.Bing` | abc | 2023-10-04 | 1 | -8/+34 |
| | | | | | | | | implemented new "X-Sydney-EncryptedConversationSignature" found in headers from "turing/conversation/create" | ||||
| * | ~ | Merge pull request #982 from hlohaus/fetch | Tekky | 2023-10-04 | 27 | -97/+102 |
| |\ | | | | | | | Fix fetch_access_token in openai | ||||
| | * | Sort providers in new dirs | Heiner Lohaus | 2023-10-04 | 26 | -61/+70 |
| | | | |||||
| | * | Use custom user dir | Heiner Lohaus | 2023-10-04 | 2 | -26/+16 |
| | | | |||||
| | * | Fix fetch_access_token in openai | Heiner Lohaus | 2023-10-03 | 1 | -10/+16 |
| | | | |||||
| * | | Merge pull request #975 from hlohaus/mmm | Tekky | 2023-10-03 | 3 | -57/+120 |
| |\| | | | | | | | Bing Updates: | ||||
| | * | Add streaming in openai chat | Heiner Lohaus | 2023-10-03 | 2 | -24/+75 |
| | | | | | | | | | | | | Fetch access token with chromedriver | ||||
| | * | Bing Updates: | Heiner Lohaus | 2023-10-02 | 1 | -33/+45 |
| | | | | | | | | | | | | | | | | | | Add retry create conversation Removed get_cookies fallback Add creative tone parameter | ||||
| * | | Merge pull request #971 from Giancarlo-Ma/main | Tekky | 2023-10-02 | 1 | -0/+1 |
| |\ \ | | |/ | |/| | feat: allow to add custom header to deepai | ||||
| | * | feat: add custom header to deepai | Giancarlo-Ma | 2023-10-02 | 1 | -0/+1 |
| | | | |||||
| * | | Add Phind Provider | Heiner Lohaus | 2023-10-02 | 3 | -9/+91 |
| |/ | | | | | | | | | Add release_curl in url_cffi requets Support create image response in Bing | ||||
| * | ~ | Merge pull request #968 from st4rted/patch-1 | Tekky | 2023-10-02 | 1 | -2/+2 |
| |\ | | | | | | | fix typo in payload | ||||
| | * | fix typo in payload | st4rted | 2023-10-02 | 1 | -2/+2 |
| | | | |||||
| * | | Fix: There is no current event loop in thread | Heiner Lohaus | 2023-10-02 | 4 | -15/+34 |
| | | | |||||
| * | | Remove fake_useragent module | Heiner Lohaus | 2023-10-02 | 1 | -4/+0 |
| | | | |||||
| * | | +Curl +Async +Stream Requests | Heiner Lohaus | 2023-10-02 | 7 | -32/+33 |
| | | | | | | | | | | | | Update Model List | ||||
| * | | Change event loop policy on windows | Heiner Lohaus | 2023-10-01 | 1 | -2/+9 |
| | | | | | | | | | | | | Support more versions from curl_cffi | ||||
| * | | Disable Wewordle Provider | Heiner Lohaus | 2023-10-01 | 2 | -9/+3 |
| | | | | | | | | | | | | | | | Update Ylokh Provider Improve StreamRequest | ||||
| * | | Disable PerplexityAi Provider | Heiner Lohaus | 2023-10-01 | 2 | -2/+2 |
| | | | |||||
| * | | Update HuggingChat to new api | Heiner Lohaus | 2023-10-01 | 8 | -91/+183 |
| |/ | | | | | | | | | | | | | | | Impersonate Aivvm Provider Add ChatForAi and FreeGpt Provider Update AItianhuSpace Provider Improve StreamRequest Support Update get_event_loop Helper | ||||
* / | aivvm's no life creator keeps patching it, but I'm just better 😉 | Commenter123321 | 2023-10-01 | 1 | -3/+4 |
|/ | |||||
* | Fix Aivvm and add new models in models.py | Commenter123321 | 2023-09-29 | 1 | -16/+15 |
| | |||||
* | Add ChatgptDuo and Aibn Provider | Heiner Lohaus | 2023-09-26 | 7 | -75/+191 |
| | | | | | | Add support for "nest_asyncio", Reuse event_loops with event_loop_policy Support for "create_async" with synchron provider | ||||
* | AItianhuSpace Provider with GPT 4 added | Heiner Lohaus | 2023-09-26 | 2 | -15/+46 |
| | | | | Reduced chunksize to better text completion | ||||
* | "create_async" support for BaseProvider, | Heiner Lohaus | 2023-09-26 | 3 | -2/+78 |
| | | | | | by using ThreadPoolExecutor Default Model for Vercel | ||||
* | Add Myshell Provider | Heiner Lohaus | 2023-09-25 | 5 | -17/+181 |
| | | | | Remove auto proxy prefix | ||||
* | Fix: Aivvm: KeyError: '' | Heiner Lohaus | 2023-09-23 | 1 | -3/+9 |
| | | | | and TypeError: issubclass() arg 1 must be a class | ||||
* | ~ | improve Vercel & g4f.Completion.create | abc | 2023-09-23 | 1 | -1/+1 |
| | |||||
* | ~ | improve Vercel & g4f.Completion.create | abc | 2023-09-23 | 1 | -2/+6 |
| | | | | | | | | | | | added `.Completion.create` class. ```py response = g4f.Completion.create( model='text-davinci-003', prompt="Hello") print(response) ``` | ||||
* | ~ | abc | 2023-09-23 | 1 | -0/+369 |
| | |||||
* | Delete g4f/Provider/Vercel.py | Tekky | 2023-09-23 | 1 | -387/+0 |
| | |||||
* | Improve Vercel Provider: | Heiner Lohaus | 2023-09-23 | 3 | -45/+62 |
| | | | | | | | - Fix endless loop - Add proxy, async support - Add default model Fix HuggingChat Provider | ||||
* | ~ | Update Vercel Provider | abc | 2023-09-23 | 1 | -227/+307 |
| | |||||
* | ~ | new providers | abc | 2023-09-23 | 2 | -59/+50 |
| | | | | | | Somwhat fix Aivvm provider, which looks to have a working gpt-4 kinda unstable | ||||
* | ~ | Fix DeepAi | abc | 2023-09-23 | 1 | -1/+1 |
| | |||||
* | Add RetryProvider | Heiner Lohaus | 2023-09-21 | 2 | -1/+86 |
| | |||||
* | Fix create_event_loop function | Heiner Lohaus | 2023-09-20 | 3 | -10/+100 |
| | | | | Add PerplexityAi Provider | ||||
* | Improve code style in async support | Heiner Lohaus | 2023-09-20 | 1 | -10/+22 |
| | |||||
* | Add "create_event_loop" helper | Heiner Lohaus | 2023-09-20 | 1 | -9/+13 |
| | |||||
* | Add check_running_loop requirement | Heiner Lohaus | 2023-09-20 | 1 | -5/+18 |
| | | | | | Add create_async function in ChatCompletion Use SelectorEventLoop on windows | ||||
* | Cache "snlm0e" in Bard | Heiner Lohaus | 2023-09-20 | 7 | -25/+42 |
| | | | | | Improve error handling in ChatgptLogin Fix async example in readme | ||||
* | ~ | Merge pull request #914 from hlohaus/lesh | Tekky | 2023-09-19 | 5 | -83/+142 |
|\ | | | | | ~ | Add GptGo Provider, Fix AItianhu Provider | ||||
| * | Improve event loop | Heiner Lohaus | 2023-09-18 | 2 | -42/+44 |
| | | |||||
| * | Add GptGo Provider, Fix AItianhu Provider | Heiner Lohaus | 2023-09-18 | 3 | -41/+98 |
| | | |||||
| * | ~ | Tekky | 2023-09-17 | 1 | -353/+0 |
| | | |||||
* | | ~ | abc | 2023-09-19 | 1 | -64/+2 |
|/ | |||||
* | Revert "Fix type hint" | Tekky | 2023-09-17 | 25 | -25/+25 |
| | |||||
* | fix typo: provider -> Provider | MIDORIBIN | 2023-09-16 | 25 | -25/+25 |
| | |||||
* | Disable not working providers: | Heiner Lohaus | 2023-09-12 | 5 | -14/+9 |
| | | | | | | EasyChat, Equing, GetGpt, Liaobots and Wuguokai No and random best provider for a model Update providers in Readme | ||||
* | Add new providers: Aivvm, Vitalentum and Ylokh | Heiner Lohaus | 2023-09-12 | 7 | -25/+251 |
| | |||||
* | Add ChatBase Provider | Heiner Lohaus | 2023-09-10 | 2 | -0/+64 |
| | |||||
* | Add CodeLinkAva Provider, Improve test_async.py | Heiner Lohaus | 2023-09-09 | 4 | -2/+67 |
| | |||||
* | Fix imports in Bing | Heiner Lohaus | 2023-09-05 | 1 | -16/+7 |
| | |||||
* | Add to many provider async and stream support, Fix Ails, AItianhu, ChatgptAi, ChatgptLogin Provider, Add fallback cookies to Bing, Improve OpenaiChat Provider | Heiner Lohaus | 2023-09-05 | 17 | -528/+443 |
| | |||||
* | ~ | Merge pull request #876 from Lin-jun-xiang/join_messages | Tekky | 2023-09-05 | 7 | -29/+14 |
|\ | | | | | ~ | Following PEP8, use `.join()` to process `messages` | ||||
| * | Join the messages | hs_junxiang | 2023-09-04 | 7 | -29/+14 |
| | | | | | | | | | | 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. | ||||
* | | type hints | msi-JunXiang | 2023-09-03 | 33 | -45/+174 |
|/ | | | | | | | | | | 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 | ||||
* | Set working=True in Liaobots, Fix bing provider, Update readme | Heiner Lohaus | 2023-09-01 | 4 | -24/+6 |
| | |||||
* | ~ | v-0.0.2.6 | abc | 2023-08-28 | 1 | -25/+25 |
| | |||||
* | Merge branch 'main' into hugging | Tekky | 2023-08-28 | 1 | -28/+64 |
|\ | |||||
| * | Merge branch 'main' into patch-1 | Luneye | 2023-08-28 | 30 | -792/+699 |
| |\ | |||||
| * | | Update Bing.py | Luneye | 2023-08-28 | 1 | -7/+7 |
| | | | | | | | | | Fixed some errors in my previously precipitated commit. | ||||
| * | | Update Bing.py | Luneye | 2023-08-28 | 1 | -53/+45 |
| | | | | | | | | | | | | | | | Added support the async function Will implement proper cookie retrieval later but Bing is working for now | ||||
| * | | Update Bing.py | Luneye | 2023-08-27 | 1 | -46/+76 |
| | | | | | | | | | Removed unnecessary check that could prematurely stop the AI's response while answering | ||||
* | | | Add async support for H2o | Heiner Lohaus | 2023-08-28 | 12 | -311/+461 |
| |/ |/| | | | | | | | | | | | | | | | | | | | | | | | 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 | ||||
* | | ~ | code styling | abc | 2023-08-27 | 30 | -790/+695 |
|/ | |||||
* | Merge branch 'main' into up | Tekky | 2023-08-25 | 11 | -297/+516 |
|\ | |||||
| * | ~ | Merge pull request #839 | Tekky | 2023-08-25 | 2 | -0/+67 |
| |\ | | | | | | | Wuguokai | ||||
| | * | Merge branch 'main' of https://github.com/bagusindrayana/gpt4free into main | Bagus Indrayana | 2023-08-24 | 13 | -179/+292 |
| | |\ | |||||
| | * | | add provider | Bagus Indrayana | 2023-08-17 | 2 | -1/+68 |
| | | | | |||||
| * | | | ~ | Merge pull request #838 | Tekky | 2023-08-25 | 1 | -3/+5 |
| |\ \ \ | | | | | | | | | | | fix easychat stream : remove whitspace from data: and raise exception | ||||
| | * | | | remove whitspace from data: and raise exception | Bagus Indrayana | 2023-08-24 | 1 | -3/+5 |
| | | |/ | | |/| | |||||
| * | | | ~| Merge pull request #834 | Tekky | 2023-08-25 | 3 | -6/+14 |
| |\ \ \ | | | | | | | | | | | fix Yqcloud and You prompter using only the last message | ||||
| | * | | | Ails Supplementary Identification of Unusual Response Content | zengrr | 2023-08-25 | 1 | -1/+1 |
| | | | | | |||||
| | * | | | Ails throw the contents of an error response | zengrr | 2023-08-23 | 1 | -0/+2 |
| | | | | | |||||
| | * | | | fix Yqcloud's prompter using only the last message | zengrr | 2023-08-23 | 1 | -1/+4 |
| | | | | | |||||
| | * | | | "You" unicode decode and fix prompt just is last message | zengrr | 2023-08-23 | 1 | -5/+8 |
| | |/ / | |||||
| * | | | Merge pull request #833 from hlohaus/bing | Tekky | 2023-08-25 | 6 | -288/+430 |
| |\ \ \ | | |/ / | |/| | | Fix bing provider | ||||
| | * | | Add OpenaiChat and Hugchat Provider | Heiner Lohaus | 2023-08-25 | 6 | -79/+259 |
| | | | | | | | | | | | | | | | | | | | | | | | | Add tests for providers with auth Improve async support / 2x faster Shared get_cookies by domain function | ||||
| | * | | Add create_async method | Heiner Lohaus | 2023-08-23 | 1 | -19/+39 |
| | | | | |||||
| | * | | Fix bing provider | Heiner Lohaus | 2023-08-21 | 1 | -261/+203 |
| | | | | |||||
* | | | | Improve provider list | Heiner Lohaus | 2023-08-24 | 5 | -11/+11 |
| | | | | |||||
* | | | | Improve providers with tests | Heiner Lohaus | 2023-08-22 | 6 | -20/+18 |
|/ / / | |||||
* | | | ~ | Merge pull request #8290.0.2.4 | Tekky | 2023-08-22 | 1 | -8/+9 |
|\ \ \ | | | | | | | | | Update link for provider ChatgptLogin | ||||
| * | | | change link | Bagus Indrayana | 2023-08-20 | 1 | -8/+9 |
| |/ / | |||||
* | | | ~ | Merge pull request #828 | Tekky | 2023-08-22 | 1 | -15/+72 |
|\ \ \ | | | | | | | | | fix theb but need auth | ||||
| * | | | fix theb but need auth | Bagus Indrayana | 2023-08-20 | 1 | -15/+72 |
| |/ / | |||||
* | | | ~ | Merge pull request #827 | Tekky | 2023-08-22 | 1 | -9/+30 |
|\ \ \ | | | | | | | | | update header & response easychat | ||||
| * | | | update header & response easychat | Bagus Indrayana | 2023-08-20 | 1 | -9/+30 |
| |/ / | |||||
* | | | fix Equing response error with no stream | zengrr | 2023-08-22 | 1 | -0/+3 |
| | | | |||||
* | | | set encoding and temperature | zengrr | 2023-08-22 | 3 | -5/+10 |
|/ / | |||||
* | | ~ Merge pull request #816 | Tekky | 2023-08-20 | 4 | -74/+101 |
|\ \ | | | | | | | add V50 Provider & refactor Raycast (need testing with auth) | ||||
| * | | another merge | Bagus Indrayana | 2023-08-17 | 4 | -2/+163 |
| |\| | |||||
| * | | refactor V50 and Raycast | Bagus Indrayana | 2023-08-17 | 2 | -85/+123 |
| | | | |||||
| * | | merge and refactor | Bagus Indrayana | 2023-08-17 | 56 | -2097/+2264 |
| |\ \ | |||||
| * | | | add proxy and remove stream | Bagus Indrayana | 2023-08-17 | 1 | -1/+1 |
| | | | | |||||
| * | | | add v50 | Bagus Indrayana | 2023-08-17 | 2 | -0/+44 |
| | | | | |||||
* | | | | ~ | Merge pull request #808 | Tekky | 2023-08-20 | 1 | -69/+67 |
|\ \ \ \ | | | | | | | | | | | Fix bard provider | ||||
| * | | | | Fix bard provider, add async support | Heiner Lohaus | 2023-08-18 | 1 | -69/+67 |
| | |_|/ | |/| | | |||||
* | | | | Update Yqcloud.py | MaxKUlish1 | 2023-08-17 | 1 | -0/+1 |
| | | | | | | | | | | | | # specify the correct encoding forcibly | ||||
* | | | | Update Yqcloud.py | MaxKUlish1 | 2023-08-17 | 1 | -1/+0 |
| | | | | |||||
* | | | | Update Yqcloud.py | MaxKUlish1 | 2023-08-17 | 1 | -0/+1 |
|/ / / | | | | | | | # specify the correct encoding forcibly | ||||
* | / | ~ | major refractoring + new providers | v0.0.2.0 | abc | 2023-08-17 | 4 | -1/+162 |
| |/ |/| | | | | | | | | | g4f.Provider.FastGpt & g4f.Provider.Equing gpt-3.5-turbo-0613 | ||||
* | | ~ | major refractoring | v0.0.2.0 | abc | 2023-08-17 | 2 | -4/+4 |
| | | |||||
* | | refactor: refactor provider | MIDORIBIN | 2023-08-14 | 55 | -2095/+2317 |
|/ | |||||
* | small fixes & new pypi version | abc | 2023-08-14 | 1 | -0/+110 |
| | |||||
* | Merge pull request #801 from johnd0e/fix-ails | xtekky | 2023-08-14 | 1 | -1/+1 |
|\ | | | | | Fix Ails.py | ||||
| * | Fix Ails.py | johnd0e | 2023-08-14 | 1 | -1/+1 |
| | | | | | | Fix arguments order | ||||
* | | Merge pull request #794 from ye4241/main | xtekky | 2023-08-14 | 2 | -0/+51 |
|\ \ | | | | | | | Add Raycast Provider | ||||
| * | | Add Raycast Provider | ye4241 | 2023-08-09 | 2 | -0/+51 |
| |/ | |||||
* | | Update EasyChat.py | omidima | 2023-08-12 | 1 | -10/+9 |
| | | | | | | Resolve review comments. | ||||
* | | Update EasyChat.py | omidima | 2023-08-11 | 1 | -1/+8 |
| | | | | | | update active servers | ||||
* | | Update EasyChat.py | omidima | 2023-08-08 | 1 | -16/+17 |
|/ | | | Change model address and add proxy & session for pass cloudflare auth on requests. | ||||
* | Merge pull request #693 from ramonvc/main | xtekky | 2023-08-07 | 1 | -12/+13 |
|\ | | | | | Fix: There is no current event loop in thread. | ||||
| * | Fix: There is no current event loop in thread. | Ramon Victor Cardoso | 2023-06-27 | 1 | -12/+13 |
| | | |||||
* | | Merge pull request #790 from VastV2/Ails-Update | xtekky | 2023-08-07 | 1 | -3/+5 |
|\ \ | | | | | | | Update Ails.py | ||||
| * | | Update Ails.py | VastV2 | 2023-08-05 | 1 | -3/+5 |
| | | | | | | | | | after they update the client-v version the page is not working anymore, so I made this to get the version number automatically, this way we don't need to update the version manually. | ||||
* | | | Merge pull request #788 from omidima/main-1 | xtekky | 2023-08-07 | 1 | -26/+52 |
|\ \ \ | | | | | | | | | Update DeepAi.py | ||||
| * | | | Update DeepAi.py | omidima | 2023-08-05 | 1 | -26/+52 |
| |/ / | |||||
* | | | Update __init__.py | kggn | 2023-08-01 | 1 | -1/+1 |
| | | | |||||
* | | | Update __init__.py | kggn | 2023-08-01 | 1 | -0/+1 |
| | | | |||||
* | | | Create opchatgpts.py | kggn | 2023-08-01 | 1 | -0/+42 |
|/ / | |||||
* | | Update Vercel.py | abc | 2023-07-24 | 1 | -109/+8 |
| | | |||||
* | | Use the temperature parameter | grandsonneo@gmail.com | 2023-07-22 | 6 | -13/+13 |
| | | |||||
* | | Merge pull request #768 from nonk123/main | xtekky | 2023-07-21 | 1 | -0/+0 |
|\ \ | | | | | | | Fix the import errors | ||||
| * | | Fix the import errors | nonk123 | 2023-07-21 | 1 | -0/+0 |
| | | | |||||
* | | | Update Provider.DfeHub to consider rate-limit | najam-tariq | 2023-07-19 | 1 | -1/+9 |
|/ / | |||||
* | | Merge branch 'main' of https://github.com/xtekky/gpt4free | abc | 2023-07-18 | 1 | -1/+1 |
|\ \ | |||||
| * | | Rename DFEHub.py to DfeHub.py | xtekky | 2023-07-18 | 1 | -1/+1 |
| | | | |||||
* | | | . | abc | 2023-07-18 | 1 | -1/+1 |
|/ / | |||||
* | | minor fixes | abc | 2023-07-16 | 25 | -63/+101 |
| | | |||||
* | | minor fixes | abc | 2023-07-16 | 4 | -5/+4 |
| | | | | | | | | ails, chatgptai ... | ||||
* | | refactor/move provider from testing folder | Bagus Indrayana | 2023-07-12 | 5 | -0/+364 |
| | | |||||
* | | Add files via upload | AlephZero255 | 2023-07-10 | 1 | -105/+93 |
| | | | | | | Fix empty H2o output | ||||
* | | some more providers | najam-tariq | 2023-07-05 | 5 | -1/+169 |
| | | |||||
* | | fix subDomain of LockChat | Lê Anh Tuấn | 2023-06-29 | 1 | -2/+2 |
|/ | |||||
* | gpt4free v2, first releasev2 | t.me/xtekky | 2023-06-24 | 20 | -0/+1442 |