Commit message (Collapse) | Author | Files | Lines | ||
---|---|---|---|---|---|
2024-01-14 | Refactor code with AI | Heiner Lohaus | 19 | -564/+1400 | |
Add doctypes to many functions Add file upload for text files Add alternative url to FreeChatgpt Add webp to allowed image types | |||||
2024-01-13 | Fix process_image in Bing | Heiner Lohaus | 6 | -22/+23 | |
Add ImageResponse to Bing Fix cursor styling in gui | |||||
2024-01-13 | Improve FreeChatgpt Provider | Heiner Lohaus | 2 | -39/+49 | |
2024-01-13 | Added support for more models: FreeChatgpt (#1456) | Debaditya Banerji | 2 | -47/+50 | |
* Improved FreeChatgpt, added support for more models * Added new model: Gemini Pro | |||||
2024-01-13 | Fix merge issues | Heiner Lohaus | 2 | -5/+3 | |
2024-01-13 | Support upload image in gui | Heiner Lohaus | 17 | -427/+605 | |
Add image upload to OpenaiChat Add image response to OpenaiChat Improve ChatGPT Plus Support Remove unused requirements | |||||
2024-01-13 | Cleanup unused dependencies | Akash Mondal | 7 | -6992/+20 | |
* remove packages, that are not a direct dependency to this project, from requirements.txt * no need to just numpy for simple sqrt operation on numbers * write code on python than using a js compiler | |||||
2024-01-12 | Add publish-to-pypi workflow | Heiner Lohaus | 4 | -10/+14 | |
Improve gui frontend Fix web search in bing | |||||
2024-01-11 | Fixed Error "No module named g4f.Provider.bing" (#1448) | Debaditya Banerji | 1 | -0/+0 | |
* Added init file to initiate bing as a Module | |||||
2024-01-10 | Fix create_async in CreateImagesProvider | Heiner Lohaus | 1 | -5/+8 | |
2024-01-10 | Fix bing stream func | Heiner Lohaus | 1 | -1/+1 | |
2024-01-10 | Added timeout to Bing (#1438)0.1.9.10 | Eikosa | 1 | -8/+9 | |
Co-authored-by: H Lohaus <hlohaus@users.noreply.github.com> | |||||
2024-01-10 | Add create images to Bing (#1426) | H Lohaus | 18 | -307/+671 | |
Add create images from Bing Add FreeChatgpt Provider Fix Bard Provider | |||||
2024-01-04 | Fix module 'g4f.debug' has no attribute 'get_version' | Ramon Victor Cardoso | 1 | -1/+1 | |
2024-01-02 | Add GeminiProChat Provider (#1419) | H Lohaus | 3 | -6/+59 | |
* Add GeminiProChat Provider | |||||
2024-01-02 | New Provider 'Bestim' (#1416) | 4sh | 2 | -0/+79 | |
* Add new provider Bestim | |||||
2024-01-02 | Fix markdown replace | Heiner Lohaus | 1 | -1/+3 | |
2024-01-01 | Fix DeepInfra Provider | Heiner Lohaus | 1 | -40/+48 | |
2024-01-01 | Fix permissions for chromedriver | Heiner Lohaus | 2 | -2/+3 | |
Fix NoVNC server access Remove java from build | |||||
2024-01-01 | Add support for all models | Heiner Lohaus | 43 | -280/+393 | |
Add AbstractProvider class Add ProviderType type Add get_last_provider function Add version module and VersionUtils Display used provider in gui Fix error response in api | |||||
2024-01-01 | Patch event loop on win, Check event loop closed | Heiner Lohaus | 2 | -21/+24 | |
2024-01-01 | Add _puid cookie, save access_token in cookies in OpenaiChat | Heiner Lohaus | 1 | -7/+19 | |
2023-12-31 | Fix Chatgpt4Online provider | Heiner Lohaus | 1 | -17/+47 | |
2023-12-31 | Fix Liabots session | Heiner Lohaus | 1 | -4/+10 | |
2023-12-31 | remove unnecessary semicolon | Yash Varshney | 1 | -1/+1 | |
2023-12-29 | Update Liaobots.py | OmiiiDev | 1 | -3/+40 | |
Added more models | |||||
2023-12-27 | Improve Chatxyz Provider | Heiner Lohaus | 1 | -22/+14 | |
2023-12-27 | Added new Provider Chatxyz (#1393) | Debaditya Banerji | 2 | -0/+69 | |
* Added fucntionality for Provider * Added Provider in init * System message if present must be the first object in message array | |||||
2023-12-26 | Fix Phind provider | Zabir Raihan | 1 | -3/+4 | |
2023-12-25 | Support Python 3.8 | Heiner Lohaus | 1 | -2/+2 | |
2023-12-25 | Add Gpt6 Provider | Heiner Lohaus | 4 | -1/+61 | |
2023-12-24 | Update get_latest_version for docker | Heiner Lohaus | 1 | -2/+8 | |
2023-12-23 | Fix api run module | Heiner Lohaus | 1 | -1/+1 | |
2023-12-23 | Fix api and None provider | Heiner Lohaus | 1 | -20/+12 | |
2023-12-23 | Fix streaming in Aura | Heiner Lohaus | 1 | -1/+2 | |
2023-12-23 | Fix streaming in Aura | Heiner Lohaus | 1 | -12/+11 | |
2023-12-23 | Added OpenChat's Aura Model as a new Provider (#1371) | Debaditya Banerji | 2 | -1/+57 | |
* Added File for new Provider: Aura * Added Aura Provider in init | |||||
2023-12-21 | Update models.py | nullstreak | 1 | -0/+7 | |
2023-12-21 | Update Bing.py | nullstreak | 1 | -4/+12 | |
2023-12-19 | Bing: add parameter to enable/disable web search (#1360) | nullstreak | 1 | -4/+8 | |
Web search is disabled by default and can be enabled by passing `web_search = True` | |||||
2023-12-19 | Removed the condition for filtering token_ids | devAdityaa | 1 | -1/+1 | |
2023-12-19 | fix(g4f): Fix typo in function name | NiNiyas | 2 | -3/+3 | |
2023-12-18 | Fix Bing provider Cookie issue 2 | eminemkun | 1 | -2/+7 | |
2023-12-16 | Fix remove NoowAi, Fix download dir in docker | Heiner Lohaus | 1 | -1/+0 | |
2023-12-16 | Fix Bing provider Cookie issue | eminemkun | 1 | -2/+1 | |
2023-12-15 | HuggingChat: Strip leading whitespace from the first token in the stream | nullstreak | 1 | -2/+7 | |
For some reason first token from the stream on HuggingChat always starts with a whitespace. This commit strips the leading whitespace from the first token in the stream to fix this issue. | |||||
2023-12-15 | Moved NoowAI to deprecated folder as it's been officially taken down | devAdityaa | 1 | -0/+0 | |
2023-12-14 | Remove VoiGpt | H Lohaus | 1 | -5/+1 | |
2023-12-14 | Remove VoiGpt | H Lohaus | 1 | -1/+0 | |
2023-12-14 | Add providers in api | alvarosoares01@gmail.com | 1 | -0/+6 | |
2023-12-13 | Add Mistral models | nullstreak | 1 | -1/+16 | |
2023-12-12 | Update and rename g4f/Provider/VoiGpt.py to g4f/Provider/deprecated/VoiGpt.py | GEOEGII555 | 1 | -1/+1 | |
2023-12-11 | Change default port for gui | Heiner Lohaus | 3 | -7/+7 | |
Change default host for api Disable gui in build Add custom docker user | |||||
2023-12-11 | Add error classes | Heiner Lohaus | 5 | -70/+105 | |
Move version check to debug | |||||
2023-12-10 | Remove needs_auth, add proxy support in VoiGpt | Heiner Lohaus | 3 | -81/+95 | |
2023-12-10 | Added a new provider voigpt.com (#1328) | Meshwa428 | 3 | -1/+85 | |
* added the new VoiGpt provider * fixed the voigpt and moved it to needs_auth * added auth detail and doc to voiGpt provider | |||||
2023-12-10 | Improve error handling in gui | Heiner Lohaus | 2 | -59/+45 | |
2023-12-10 | Add G4F_PROXY environment | Heiner Lohaus | 5 | -120/+113 | |
Add regenerate button in gui | |||||
2023-12-08 | Fix llama2 provider, Update TOC in readme (#1325) | H Lohaus | 1 | -9/+7 | |
2023-12-07 | Update readme. Add docker hub | Heiner Lohaus | 2 | -3/+3 | |
2023-12-07 | Add websearch to gui (#1314) | H Lohaus | 12 | -123/+333 | |
* Add websearch to gui * Fix version_check config * Add version badge in README.md * Show version in gui * Add docker hub build * Fix gui backend, improve style | |||||
2023-12-06 | Update Pi.py | H Lohaus | 1 | -3/+6 | |
2023-12-06 | ~ | g4f v-0.1.9.20.1.9.2 | abc | 1 | -1/+1 | |
2023-12-06 | Improve docker image | Heiner Lohaus | 3 | -2/+7 | |
2023-12-06 | Add selenium to dockerfile | Heiner Lohaus | 12 | -143/+122 | |
Load model and provider list in gui Remove needs_auth in HuggingChat Add default model and login url in gui | |||||
2023-12-02 | ~ | g4f `v-0.1.9.1`0.1.9.1 | abc | 1 | -1/+1 | |
2023-12-02 | Add get_session_from_browser as cloudflare bypass | Heiner Lohaus | 13 | -115/+110 | |
2023-12-02 | Add proxy support / fix streaming | Heiner Lohaus | 1 | -15/+13 | |
2023-12-01 | Update pi provider | Heiner Lohaus | 4 | -117/+98 | |
2023-12-01 | Added new provider PI (Hacky way to use) (#1291) | madonchik123 | 6 | -12/+144 | |
* Added new provider PI (Hacky way to use) * Updated models endpoint made it show real info about the model.py * Added cloudscraper to the requirements * Fixed some bugs aka made streaming also return role | |||||
2023-11-24 | ~ | abc | 2 | -2/+2 | |
chatgptx not working | |||||
2023-11-24 | ~ | abc | 2 | -59/+56 | |
fix DeepInfra | |||||
2023-11-24 | ~ | g4f `v-0.1.9.0` | abc | 1 | -1/+1 | |
2023-11-22 | Fix ChatgptAi Provider | Heiner Lohaus | 1 | -1/+2 | |
2023-11-22 | Add GptTalkRu Provider | Heiner Lohaus | 2 | -0/+50 | |
2023-11-22 | Disable ChatgptDemoAi, ChatAnywhere and Berlin | Heiner Lohaus | 3 | -5/+6 | |
2023-11-22 | Fix Phind and GptGo Provider | Heiner Lohaus | 5 | -131/+188 | |
2023-11-20 | ~ | g4f v-0.1.8.90.1.8.9 | abc | 2 | -7/+11 | |
2023-11-20 | ~ | improve compatibility | abc | 15 | -29/+65 | |
2023-11-20 | Update AItianhu.py | H Lohaus | 1 | -3/+4 | |
2023-11-20 | Update GptGo.py | H Lohaus | 1 | -2/+3 | |
2023-11-20 | Syntax error Fixed : GptGo.py | egcash | 1 | -2/+2 | |
2023-11-20 | Support stream in create_async | Heiner Lohaus | 1 | -7/+9 | |
2023-11-20 | Add webdriver module | Heiner Lohaus | 14 | -269/+219 | |
2023-11-20 | Add auto support params method | Heiner Lohaus | 26 | -355/+56 | |
2023-11-20 | Fix tupo in GptGo | razrab | 1 | -2/+2 | |
2023-11-20 | ~ | | abc | 5 | -12/+13 | |
trying to improve compability with python versions < 3.8 | |||||
2023-11-20 | ~ | g4f `v-0.1.8.7`0.1.8.7 | abc | 1 | -1/+1 | |
2023-11-19 | ~ | improve compatibility with lower python versions | abc | 2 | -13/+13 | |
remove tiktoken | |||||
2023-11-19 | ~ | g4f v-0.1.8.6 | abc | 1 | -1/+1 | |
2023-11-19 | Add Response Handler to OpenaiChat | Heiner Lohaus | 11 | -448/+461 | |
Update Providers with WebDriver Add WebDriverSession helper Use native streaming in curl_cffi | |||||
2023-11-18 | Add AiChatOnline, ChatgptDemoAi, ChatgptNext Providers | Heiner Lohaus | 201 | -29100/+451 | |
Add OnlineGpt and TalkAi Provider Add get_random_string and get_random_hex helper Remove funcaptcha package | |||||
2023-11-18 | ~ | g4f `v-0.1.8.5` | abc | 1 | -2/+1 | |
2023-11-17 | Improve providers | Heiner Lohaus | 6 | -96/+231 | |
2023-11-17 | Remove virtualdisplay and add headless mode | Heiner Lohaus | 7 | -97/+32 | |
2023-11-17 | Add Poe Provider, Update AItianhuSpace Porvider | Heiner Lohaus | 5 | -86/+249 | |
2023-11-16 | ~ | g4f `v-0.1.8.4`0.1.8.4 | abc | 1 | -1/+1 | |
2023-11-16 | ~ | abc | 1 | -1/+1 | |
2023-11-16 | Update Liaobots.py | H Lohaus | 1 | -1/+1 | |
2023-11-16 | Update MyShell.py | H Lohaus | 1 | -5/+5 | |
2023-11-16 | Update Bard.py | H Lohaus | 1 | -12/+7 | |
2023-11-16 | Update Phind.py | H Lohaus | 1 | -4/+11 | |
2023-11-16 | Update Phind.py | H Lohaus | 1 | -5/+6 | |
2023-11-16 | Update MyShell.py | H Lohaus | 1 | -2/+7 | |
2023-11-16 | Update MyShell.py | H Lohaus | 1 | -10/+6 | |
2023-11-16 | Update PerplexityAi.py | H Lohaus | 1 | -10/+9 | |
2023-11-16 | Update helper.py | H Lohaus | 1 | -8/+8 | |
2023-11-16 | Update Phind.py | H Lohaus | 1 | -9/+4 | |
2023-11-16 | Update helper.py | H Lohaus | 1 | -0/+1 | |
2023-11-16 | Update helper.py | H Lohaus | 1 | -1/+6 | |
2023-11-16 | Fix Bard Provider | Heiner Lohaus | 3 | -81/+86 | |
2023-11-16 | Fix Phind and PerplexityAi - GPT-4 Providers | Heiner Lohaus | 9 | -402/+435 | |
Fix MyShell Provider Refactor Provider __init__ Add ChatAnywhere Provider Update models list | |||||
2023-11-16 | fix: GPTalk can only use 5 times (#1255) | hs_junxiang | 1 | -1/+4 | |
2023-11-16 | Add back crutch of incorrect responses to ChatBase | razrab | 1 | -0/+5 | |
2023-11-16 | Fixed tupo in list_ignored_providers parameter. | razrab | 1 | -1/+1 | |
2023-11-15 | Update OpenaiChat.py | H Lohaus | 1 | -0/+1 | |
2023-11-14 | Update __init__.py | Kacper Kwapisz | 1 | -1/+1 | |
fixed the line where it checks if stream is requested. I made the change because before it ignored what the user typed because there was a invalid conversion from the boolean to string where the if stream clause would always be true. Simple workaround :) | |||||
2023-11-13 | Check_pypi_version now returns value | Eikosa | 1 | -0/+2 | |
2023-11-13 | Fix Chatgpt4Online Provider | Heiner Lohaus | 12 | -48/+48 | |
2023-11-13 | Added back list_ignored_providers parameter to ChatCompletion.create method in api. | razrab | 1 | -1/+5 | |
2023-11-13 | Refactor item_data update to handle byte keys and convert messages to dict. | razrab | 1 | -2/+11 | |
2023-11-12 | Add Berlin and Koala Provider | Heiner Lohaus | 4 | -5/+160 | |
2023-11-12 | ~ | g4f `v-0.1.8.2`0.1.8.2 | abc | 1 | -1/+1 | |
2023-11-12 | Add auto_continue to OpenaiChat | Heiner Lohaus | 3 | -46/+71 | |
Update readme provider tables | |||||
2023-11-11 | Add py_arkose_generator in OpenaiChat | Heiner Lohaus | 1 | -48/+12 | |
2023-11-08 | Remove height restriction | pakmmc | 1 | -7/+1 | |
Currently has blank black space at the bottom of the screen on 13" devices | |||||
2023-11-07 | ~ | g4f `v-0.1.8.1`0.1.8.1 | abc | 1 | -1/+1 | |
2023-11-07 | fix: api streaming TypeError: Object of type generator is not JSON serializable | Giancarlo-Ma | 1 | -1/+2 | |
2023-11-07 | fix: no module named 'flask' (#1216) | hs_junxiang | 1 | -1/+1 | |
2023-11-05 | ~ | g4f `v-0.1.8.0` | abc | 1 | -1/+1 | |
2023-11-04 | Update __init__.py | ThatLukinhasGuy | 1 | -1/+1 | |
2023-11-04 | Update __init__.py | ThatLukinhasGuy | 1 | -1/+1 | |
2023-11-04 | Update __init__.py | ThatLukinhasGuy | 1 | -1/+1 | |
2023-11-04 | Update cli.py | ThatLukinhasGuy | 1 | -1/+1 | |
2023-11-04 | Update cli.py | ThatLukinhasGuy | 1 | -2/+1 | |
2023-11-04 | Update run.py | ThatLukinhasGuy | 1 | -1/+1 | |
2023-11-04 | Update __init__.py | ThatLukinhasGuy | 1 | -1/+1 | |
2023-11-04 | Update __init__.py | ThatLukinhasGuy | 1 | -1/+1 | |
2023-11-04 | Update __init__.py | ThatLukinhasGuy | 1 | -1/+1 | |
2023-11-04 | Update __init__.py | ThatLukinhasGuy | 1 | -1/+1 | |
2023-11-04 | Update cli.py | ThatLukinhasGuy | 1 | -5/+1 | |
2023-11-04 | Update run.py | ThatLukinhasGuy | 1 | -1/+1 | |
2023-11-04 | Update __init__.py | ThatLukinhasGuy | 1 | -143/+138 | |
2023-11-04 | Update run.py | ThatLukinhasGuy | 1 | -1/+1 | |
2023-11-04 | Update __init__.py | ThatLukinhasGuy | 1 | -2/+2 | |
2023-11-04 | Update __init__.py (#1) | ThatLukinhasGuy | 1 | -2/+2 | |
2023-11-04 | Update Bing.py - Removed unnecessary "await" statements that could potentially lead to errors | Luneye | 1 | -2/+2 | |
2023-11-03 | Add exec_js helper def | Heiner Lohaus | 1 | -21/+25 | |
2023-11-03 | Fix NotImplementedError on WIn | Heiner Lohaus | 1 | -0/+10 | |
2023-11-02 | Update __init__.py | ThatLukinhasGuy | 1 | -1/+1 | |
2023-11-02 | Update __init__.py | ThatLukinhasGuy | 1 | -1/+0 | |
2023-11-02 | Update run.py | ThatLukinhasGuy | 1 | -1/+1 | |
2023-11-02 | Update __init__.py | ThatLukinhasGuy | 1 | -200/+141 | |
2023-10-31 | ~ | g4f `v-0.1.7.9`0.1.7.9 | xtekky | 1 | -1/+1 | |
2023-10-29 | Update ChatBase.py - Added jailbreak (enabled by default), Removed list incorrect responses | Luneye | 1 | -10/+14 | |
2023-10-28 | Use asyncio subprocess in OpenaiChat | Heiner Lohaus | 1 | -3/+10 | |
2023-10-28 | Update backend.py, index.html, requirements.txt (#1180) | hdsz25 | 2 | -6/+6 | |
* Update backend.py change to the model that received from user interactive from the web interface model selection. * Update index.html added Llama2 as a provider selection and also include the model selection for Llama2: llama2-70b, llama2-13b, llama2-7b * Update requirements.txt add asgiref to enable async for Flask in api. "RuntimeError: Install Flask with the 'async' extra in order to use async views" | |||||
2023-10-28 | Add arkose_token to OpenaiChat | Heiner Lohaus | 178 | -15/+29503 | |
2023-10-27 | Update config supports_message_history | Heiner Lohaus | 27 | -47/+56 | |
2023-10-27 | added context | unknown | 3 | -50/+83 | |
2023-10-27 | ~Â | g4f `v-0.1.7.8` | abc | 1 | -1/+1 | |
2023-10-27 | add api proxy | catmeowjiao | 1 | -3/+19 | |
2023-10-26 | Add llama2 model mapping | Heiner Lohaus | 1 | -0/+5 | |
2023-10-26 | Add Llama2 Providers / Models | Heiner Lohaus | 4 | -9/+91 | |
2023-10-26 | add proxy support | catmeowjiao | 1 | -8/+29 | |
2023-10-25 | Extract keywords from incorrect responses | razrab | 1 | -3/+3 | |
The text of error responses is dynamically created by LLM. Need determine by keywords for more precise identification. | |||||
2023-10-24 | Indicated support of message history in GptForLove.py | Luneye | 1 | -0/+1 | |
2023-10-24 | Indicated support of message history in Bing.py | Luneye | 1 | -0/+1 | |
2023-10-24 | Indicated support of message history in ChatBase.py | Luneye | 1 | -1/+2 | |
2023-10-24 | Indicated support of message history in FreeGpt.py | Luneye | 1 | -0/+1 | |
2023-10-24 | Indicated support of message history in GPTalk.py | Luneye | 1 | -1/+2 | |
2023-10-24 | Indicated support of message history in Yqcloud.py | Luneye | 1 | -0/+1 | |
2023-10-24 | Indicated support of message history in You.py | Luneye | 1 | -1/+2 | |
2023-10-24 | Indicated support of message history in FakeGpt.py | Luneye | 1 | -1/+2 | |
2023-10-24 | Indicated support of message history in ChatForAi.py | Luneye | 1 | -1/+2 | |
2023-10-24 | Indicated support of message history in ChatgptX.py | Luneye | 1 | -1/+2 | |
2023-10-24 | ~ | g4f `v-0.1.7.7`0.1.7.7 | abc | 1 | -1/+1 | |
2023-10-24 | Update MyShell.py | Heiner Lohaus | 1 | -0/+1 | |
2023-10-24 | Update GetGpt provider for Debian python3-pycryptodome compatibility | razrab | 1 | -1/+4 | |
Try to import AES from Cryptodome.Cipher if Crypto.Cipher caused error. | |||||
2023-10-24 | Add support for detecting incorrect responses in ChatBase API requests. | razrab | 1 | -0/+7 | |
2023-10-24 | [suggestion] Adding new parameter to check if provider supports message history | Luneye | 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. | |||||
2023-10-24 | Update FreeGpt.py | Shubh Gajjar | 1 | -2/+2 | |
Changed older domain url with the working new url | |||||
2023-10-23 | ~ | g4f `v-0.1.7.6`0.1.7.6 | abc | 1 | -1/+1 | |
2023-10-23 | Bugfix Bing.py - Resolved Issues with system prompt, Bing personalities and enabled all supported user requests | Luneye | 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. | |||||
2023-10-23 | Debug config in api | Heiner Lohaus | 1 | -1/+1 | |
2023-10-23 | Refactor API initialization to accept a list of ignored providers. | razrab | 2 | -5/+24 | |
2023-10-23 | 'Refactored by Sourcery' (#1125) | ⲘrṨhส∂ow | 44 | -401/+398 | |
Co-authored-by: Sourcery AI <> | |||||
2023-10-23 | ~Â | g4f `v-0.1.7.5` | abc | 1 | -2/+2 | |
2023-10-22 | Debug logging support | Heiner Lohaus | 5 | -37/+46 | |
Async browse access token | |||||
2023-10-22 | Improve get_cookies helper | Heiner Lohaus | 2 | -14/+25 | |
2023-10-22 | ~ | g4f `v-0.1.7.4` | abc | 1 | -1/+1 | |
2023-10-22 | Fix ChatgptAi Provider | Heiner Lohaus | 2 | -39/+47 | |
2023-10-22 | Major Update for Bing - Supports latest bundle version and image analysis | Luneye | 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! | |||||
2023-10-22 | Add rate limit error messages | Heiner Lohaus | 2 | -1/+6 | |
2023-10-22 | Fix increase timeout | Heiner Lohaus | 6 | -54/+94 | |
Add Hashnode Provider Fix Yqcloud Provider | |||||
2023-10-22 | Enable Liaobots and ChatForAi again | Heiner Lohaus | 2 | -3/+3 | |
2023-10-22 | Fix MyShell Provider | Heiner Lohaus | 10 | -30/+115 | |
2023-10-22 | Add FakeGpt Provider | Heiner Lohaus | 3 | -15/+108 | |
Update providers in models | |||||
2023-10-21 | fix bug - Cannot assign requested address | late | 2 | -2/+2 | |
2023-10-21 | ~ | g4f `v-0.1.7.2`0.1.7.2 | abc | 1 | -1/+1 | |
fix tiktok not found error | |||||
2023-10-21 | ~ | g4f `v-0.1.7.2` | abc | 18 | -129/+184 | |
patch / unpatch providers | |||||
2023-10-20 | ~ | g4f v-0.1.7.0 | abc | 1 | -1/+1 | |
quick fix | |||||
2023-10-20 | ~ | 0.1.7.0 | abc | 2 | -3/+4 | |
2023-10-20 | ~ | g4f v-0.1.6.9 | abc | 1 | -1/+1 | |
2023-10-20 | ~ | abc | 4 | -4/+9 | |
minor changes | |||||
2023-10-20 | ~ | quick fix | abc | 1 | -1/+1 | |
2023-10-20 | ~ |Â updated g4f.api | abc | 5 | -154/+240 | |
new api and requirements | |||||
2023-10-19 | ~ | abc | 5 | -44/+101 | |
fix gui errors on iOS | |||||
2023-10-19 | ~ | g4f `v-0.1.6.8`0.1.6.8 | abc | 4 | -10/+15 | |
some quick fixes | |||||
2023-10-19 | ~ | g4f v-0.1.6.70.1.6.7 | abc | 1 | -1/+1 | |
2023-10-19 | ~ | abc | 6 | -151/+163 | |
automatic models fetching in GUI. | |||||
2023-10-19 | ~ | abc | 1 | -0/+7 | |
2023-10-19 | Fix: debug.logging not work in retry provider | hs_junxiang | 2 | -6/+6 | |
2023-10-17 | Add timeout | ostix360 | 1 | -1/+6 | |
2023-10-16 | ~ | g4f `v-0.1.6.6`0.1.6.6 | abc | 1 | -1/+1 | |
2023-10-16 | ~ | update working providers list & gpt-4 providers | abc | 1 | -5/+8 | |
2023-10-16 | ~ | add `g4f.Provider.GeekGpt` | abc | 2 | -1/+85 | |
2023-10-16 | ~ | g4f `v-0.1.6.5` | abc | 1 | -1/+1 | |
2023-10-16 | ~ | remove non-working providers | abc | 11 | -32/+107 | |
2023-10-15 | Add Llama2 and NoowAi Provider | Heiner Lohaus | 7 | -8/+156 | |
2023-10-14 | ~ | g4f `v-0.1.6.4` | abc | 1 | -1/+1 | |
2023-10-14 | ~ | abc | 3 | -15/+11 | |
fix chatbase (bad) and remove from auto selection | |||||
2023-10-14 | Fix Opchatgpts and ChatForAi Provider | Heiner Lohaus | 11 | -106/+121 | |
Deprecate Vitalentum and Aivvm Provider | |||||
2023-10-13 | g4f `v-0.1.6.3` | abc | 1 | -1/+1 | |
2023-10-13 | fix: remove typo in readme and configs | Ezra Adeyinka | 1 | -1/+1 | |
2023-10-13 | feat: ignore providers(#1014) | hs_junxiang | 1 | -8/+19 | |
2023-10-12 | Deprecate ChatForAi | Heiner Lohaus | 3 | -5/+6 | |
2023-10-12 | Add ChatgptLogin, ChatgptFree and GptChatly Provider | Heiner Lohaus | 10 | -80/+391 | |
2023-10-12 | ~ | g4f `v-0.1.6.2`0.6.1.2 | abc | 1 | -12/+8 | |
2023-10-12 | ~ | abc | 1 | -1/+1 | |
2023-10-12 | ~ | abc | 1 | -63/+63 | |
2023-10-12 | Fix: GptGo json.decoder.JSONDecodeError | hs_junxiang | 1 | -0/+2 | |
2023-10-12 | Unify g4f tools into one CLI | Arran Hobson Sayers | 7 | -111/+213 | |
2023-10-11 | ~ | g4f v-0.1.6.1 | abc | 4 | -11/+10 | |
some bug fixes | |||||
2023-10-11 | Fix: TypeError: unsupported operand type(s) for |:... | hs_junxiang | 2 | -0/+5 | |
2023-10-11 | fix typo in backend.py | Ikko Eltociear Ashimine | 1 | -1/+1 | |
occured -> occurred | |||||
2023-10-10 | ~ | g4f `v-0.1.5.9`(remove deepai.org) | abc | 1 | -1/+1 | |
2023-10-10 | ~ | remove DeepAi | abc | 4 | -87/+2 | |
2023-10-10 | ~ | g4f `v-0.1.5.8`0.1.5.8 | abc | 4 | -14/+6 | |
2023-10-10 | fix html | Commenter123321 | 1 | -1/+1 | |
2023-10-10 | what | Commenter123321 | 1 | -3/+3 | |
2023-10-10 | change discord icon to telegram icon on gui | Commenter123321 | 2 | -2/+2 | |
2023-10-10 | make user agent easily changeable in deepai | Commenter123321 | 1 | -2/+3 | |
2023-10-10 | fix deepai :) | Commenter123321 | 1 | -18/+17 | |
2023-10-10 | fix provider thing in gui x2 | Commenter123321 | 4 | -17/+23 | |
2023-10-10 | fix provider thing in gui | Commenter123321 | 1 | -1/+1 | |
2023-10-10 | remove unused import in Bing.py | Commenter123321 | 1 | -1/+0 | |
2023-10-10 | make internet searching better | Commenter123321 | 2 | -11/+41 | |
2023-10-10 | Aivvm is the best provider no cap | Commenter123321 | 1 | -3/+6 | |
2023-10-10 | Some small fixes | Heiner Lohaus | 9 | -35/+32 | |
2023-10-10 | Update Aivvm.py | Commenter123321 | 1 | -3/+3 | |
2023-10-10 | ~ | g4f `v-0.1.5.7` [Set Provider in GUI] + Provider Proxy | abc | 4 | -144/+165 | |
2023-10-10 | ~ | abc | 1 | -1/+15 | |
Command line arguments for GUI | |||||
2023-10-10 | ~ | abc | 2 | -7/+29 | |
New system for str to Provider | |||||
2023-10-10 | ~ | abc | 1 | -6/+7 | |
remove chatforai | |||||
2023-10-10 | ~ | abc | 1 | -0/+62 | |
Conversion from str Provider to g4f.Provider | |||||
2023-10-09 | add cool testing for gpt-3.5 and and gpt-4 | Commenter123321 | 3 | -26/+41 | |
2023-10-09 | Add Proxy Support and Create Provider to Readme | Heiner Lohaus | 7 | -41/+57 | |
Add proxy support to many providers | |||||
2023-10-09 | Add proxy support to all providers | Heiner Lohaus | 29 | -113/+162 | |
2023-10-08 | ~ | g4f `v-0.1.5.6` | abc | 4 | -14/+24 | |
gui & interference can now be run with: python -m g4f.gui.run and python -m g4f.interference.run | |||||
2023-10-08 | Add Messages and AsyncResult typing | Heiner Lohaus | 6 | -32/+45 | |
Add system_message in Yqcloud | |||||
2023-10-08 | Add Cromicle to provider list | Heiner Lohaus | 6 | -28/+66 | |
2023-10-07 | ~ | `v-0.1.5.5` | abc | 4 | -6/+10 | |
Aiivm working again | |||||
2023-10-07 | ~ | g4f `v-0.1.5.5`0.1.5.5 | abc | 1 | -1/+1 | |
2023-10-07 | Remove Aivvm from working providers | Heiner Lohaus | 4 | -21/+15 | |
2023-10-07 | Improve code with ai | Heiner Lohaus | 2 | -22/+32 | |
2023-10-07 | ~ | g4f `v-0.1.5.4` [new gui & interference] | abc | 1 | -4/+0 | |
2023-10-07 | ~ | abc | 1 | -0/+4 | |
2023-10-07 | Improve code by AI | Heiner Lohaus | 4 | -102/+103 | |
2023-10-07 | Add GptGod Provider | Heiner Lohaus | 14 | -29/+73 | |
Remove timeout from aiohttp providers Disable Opchatgpts and ChatgptLogin provider | |||||
2023-10-07 | Add GPTalk and GptForLove Provider | Heiner Lohaus | 5 | -0/+6618 | |
2023-10-06 | ~ | g4f `v-0.1.5.4` [new gui & interference]0.1.5.4 | abc | 1 | -1/+1 | |
+ version fix | |||||
2023-10-06 | ~ | g4f `v-0.1.5.3` [new gui & interference]0.1.5.3 | abc | 1 | -1/+1 | |
2023-10-06 | ~ | new instructions for gui & interference + telegram channel | abc | 1 | -1/+1 | |
2023-10-06 | ~ | g4f `v-0.1.5.1` [*new gui & interference*] | abc | 1 | -1/+0 | |
2023-10-06 | ~ | g4f `v-0.1.5.1` [*new gui & interference**] | abc | 1 | -1/+1 | |
2023-10-06 | ~ | gpt-3.5-turbo-0613 | abc | 1 | -0/+1 | |
2023-10-06 | ~ | new interference | abc | 1 | -0/+94 | |
2023-10-06 | ~ | new g4f GUI | abc | 20 | -0/+1880 | |
2023-10-06 | Fix timeout in create_async | Heiner Lohaus | 9 | -30/+17 | |
2023-10-06 | ~ | g4f v-0.1.5.0 | abc | 1 | -1/+1 | |
2023-10-06 | ~ | abc | 1 | -2/+4 | |
2023-10-06 | ~ | fix gpt-3.5-turbo models | abc | 1 | -5/+4 | |
2023-10-06 | Fix: TypeError: 'type' object is not subscriptable | hs_junxiang | 2 | -0/+8 | |
2023-10-05 | import fixed | ostix360 | 1 | -1/+3 | |
2023-10-05 | ~ | g4f v-0.1.4.9 [major updates and patches]0.1.4.9 | abc | 1 | -1/+1 | |
2023-10-05 | Add AiAsk, Chatgpt4Online, ChatgptDemo | Heiner Lohaus | 33 | -177/+603 | |
and ChatgptX Provider Fix Bing, Liaobots and ChatgptAi Provider Add "gpt_35_long" model and custom timeout | |||||
2023-10-04 | Update models.py | Hexye | 1 | -1/+2 | |
2023-10-04 | Update Cromicle.py | Hexye | 1 | -2/+2 | |
2023-10-04 | Create Cromicle.py | Hexye | 1 | -0/+50 | |
2023-10-04 | ~ | g4f v-0.1.4.8 - Fixed `g4f.Provider.Bing` | abc | 2 | -9/+35 | |
implemented new "X-Sydney-EncryptedConversationSignature" found in headers from "turing/conversation/create" | |||||
2023-10-04 | ~ | g4f v-0.1.4.7 `pip install -U g4f`0.1.4.7 | abc | 1 | -1/+1 | |
2023-10-04 | Sort providers in new dirs | Heiner Lohaus | 27 | -64/+71 | |
2023-10-04 | Use custom user dir | Heiner Lohaus | 2 | -26/+16 | |
2023-10-03 | Fix fetch_access_token in openai | Heiner Lohaus | 1 | -10/+16 | |
2023-10-03 | ~ | g4f v-0.1.4.6 `pip install -U g4f`0.1.4.6 | abc | 1 | -1/+1 | |
2023-10-03 | ~ | g4f v-0.1.4.5 `pip install -U g4f` | abc | 1 | -1/+1 | |
updated providers: - g4f.Provider.Bing - g4f.Provider.OpenaiChat | |||||
2023-10-03 | Add streaming in openai chat | Heiner Lohaus | 2 | -24/+75 | |
Fetch access token with chromedriver | |||||
2023-10-02 | Bing Updates: | Heiner Lohaus | 1 | -33/+45 | |
Add retry create conversation Removed get_cookies fallback Add creative tone parameter | |||||
2023-10-02 | ~ | g4f v-0.1.4.5 `pip install -U g4f`0.1.4.5 | abc | 1 | -1/+1 | |
2023-10-02 | Add Phind Provider | Heiner Lohaus | 4 | -13/+108 | |
Add release_curl in url_cffi requets Support create image response in Bing | |||||
2023-10-02 | feat: add custom header to deepai | Giancarlo-Ma | 1 | -0/+1 | |
2023-10-02 | ~ | g4f v-0.1.4.4 | abc | 2 | -2/+3 | |
release_curl bug | |||||
2023-10-02 | ~ | quick fix | abc | 1 | -1/+2 | |
2023-10-02 | ~ | g4f v-`0.1.4.3`0.1.4.3 | abc | 1 | -1/+1 | |
2023-10-02 | Fix: There is no current event loop in thread | Heiner Lohaus | 4 | -15/+34 | |
2023-10-02 | Remove fake_useragent module | Heiner Lohaus | 1 | -4/+0 | |
2023-10-02 | +Curl +Async +Stream Requests | Heiner Lohaus | 9 | -76/+119 | |
Update Model List | |||||
2023-10-02 | fix typo in payload | st4rted | 1 | -2/+2 | |
2023-10-01 | Change event loop policy on windows | Heiner Lohaus | 2 | -12/+30 | |
Support more versions from curl_cffi | |||||
2023-10-01 | aivvm's no life creator keeps patching it, but I'm just better 😉 | Commenter123321 | 1 | -3/+4 | |
2023-10-01 | Disable Wewordle Provider | Heiner Lohaus | 3 | -12/+10 | |
Update Ylokh Provider Improve StreamRequest | |||||
2023-10-01 | Disable PerplexityAi Provider | Heiner Lohaus | 2 | -2/+2 | |
2023-10-01 | Update HuggingChat to new api | Heiner Lohaus | 9 | -100/+206 | |
Impersonate Aivvm Provider Add ChatForAi and FreeGpt Provider Update AItianhuSpace Provider Improve StreamRequest Support Update get_event_loop Helper | |||||
2023-10-01 | ~ | v-0.1.4.2 `pip install -U g4f`0.1.4.2 | abc | 1 | -1/+1 | |
2023-10-01 | ~ | pypi v-0.1.4.0 `pip install -U g4f` | abc | 1 | -1/+1 | |
2023-10-01 | ~ | Tekky | 1 | -162/+162 | |
2023-09-29 | some more things | Commenter123321 | 1 | -148/+152 | |
2023-09-29 | Fix Aivvm and add new models in models.py | Commenter123321 | 2 | -19/+28 | |
2023-09-27 | ~ | g4f v-0.1.4.0 (new version checking system | abc | 1 | -1/+15 | |
2023-09-27 | ~ | g4f v-0.1.3.9 | abc | 2 | -3/+3 | |
2023-09-27 | ~ | g4f v-0.1.3.8 | abc | 1 | -1/+1 | |
2023-09-26 | fixed bug: ImportError: cannot import name 'Request' from 'curl_cffi.requests.cookies' (/Users/yanyuming/opt/anaconda3/envs/chatgpt/lib/python3.11/site-packages/curl_cffi/requests/cookies.py) | yym68686 | 1 | -1/+1 | |
2023-09-26 | ~ | v-0.1.3.7 | abc | 1 | -1/+1 | |
2023-09-26 | ~ | add version (`g4f.version`) | abc | 1 | -1/+1 | |
2023-09-26 | Add ChatgptDuo and Aibn Provider | Heiner Lohaus | 10 | -94/+226 | |
Add support for "nest_asyncio", Reuse event_loops with event_loop_policy Support for "create_async" with synchron provider | |||||
2023-09-26 | AItianhuSpace Provider with GPT 4 added | Heiner Lohaus | 3 | -18/+50 | |
Reduced chunksize to better text completion | |||||
2023-09-26 | "create_async" support for BaseProvider, | Heiner Lohaus | 4 | -2/+156 | |
by using ThreadPoolExecutor Default Model for Vercel | |||||
2023-09-25 | Add Myshell Provider | Heiner Lohaus | 6 | -22/+189 | |
Remove auto proxy prefix | |||||
2023-09-23 | TypeError: issubclass() arg 1 must be a class | Heiner Lohaus | 1 | -1/+2 | |
2023-09-23 | Fix: Aivvm: KeyError: '' | Heiner Lohaus | 2 | -4/+10 | |
and TypeError: issubclass() arg 1 must be a class | |||||
2023-09-23 | ~ | improve Vercel & g4f.Completion.create | abc | 1 | -1/+1 | |
2023-09-23 | ~ | improve Vercel & g4f.Completion.create | abc | 2 | -2/+33 | |
added `.Completion.create` class. ```py response = g4f.Completion.create( model='text-davinci-003', prompt="Hello") print(response) ``` | |||||
2023-09-23 | ~ | abc | 1 | -0/+369 | |
2023-09-23 | Delete g4f/Provider/Vercel.py | Tekky | 1 | -387/+0 | |
2023-09-23 | Improve Vercel Provider: | Heiner Lohaus | 4 | -46/+63 | |
- Fix endless loop - Add proxy, async support - Add default model Fix HuggingChat Provider | |||||
2023-09-23 | ~ | Update Vercel Provider | abc | 1 | -227/+307 | |
2023-09-23 | ~ | gpt-3.5-turbo-16k-0613 | abc | 1 | -17/+17 | |
2023-09-23 | ~ |Â new providers | abc | 3 | -70/+65 | |
Somwhat fix Aivvm provider, which looks to have a working gpt-4 kinda unstable | |||||
2023-09-23 | ~ | Fix DeepAi | abc | 1 | -1/+1 | |
2023-09-22 | ~ | gpt-3.5-turbo-0613 | abc | 1 | -144/+140 | |
2023-09-21 | Add RetryProvider | Heiner Lohaus | 4 | -16/+110 | |
2023-09-20 | Fix create_event_loop function | Heiner Lohaus | 3 | -10/+100 | |
Add PerplexityAi Provider | |||||
2023-09-20 | Improve code style in async support | Heiner Lohaus | 1 | -10/+22 | |
2023-09-20 | Add "create_event_loop" helper | Heiner Lohaus | 1 | -9/+13 | |
2023-09-20 | Add check_running_loop requirement | Heiner Lohaus | 2 | -34/+69 | |
Add create_async function in ChatCompletion Use SelectorEventLoop on windows | |||||
2023-09-20 | Cache "snlm0e" in Bard | Heiner Lohaus | 8 | -26/+43 | |
Improve error handling in ChatgptLogin Fix async example in readme | |||||
2023-09-20 | add model config : gpt_35_turbo_0613 | tony | 1 | -1/+1 | |
2023-09-20 | dd model config : gpt_35_turbo_0613 | tony | 1 | -35/+35 | |
2023-09-20 | add model config : gpt_35_turbo_0613 | tony | 1 | -3/+2 | |
2023-09-20 | add model config : gpt_35_turbo_0613 | tony | 1 | -138/+141 | |
2023-09-20 | add model config : gpt_35_turbo_0613 | tony | 1 | -1/+1 | |
2023-09-20 | add model config : gpt_35_turbo_0613 | tony | 1 | -1/+4 | |
2023-09-20 | add model config : gpt_35_turbo_0613 | tony | 1 | -0/+5 | |
2023-09-19 | ~ | abc | 1 | -64/+2 | |
2023-09-18 | Check supports_stream in best_providers list | Heiner Lohaus | 2 | -5/+7 | |
2023-09-18 | Improve event loop | Heiner Lohaus | 2 | -42/+44 | |
2023-09-18 | Add GptGo Provider, Fix AItianhu Provider | Heiner Lohaus | 3 | -41/+98 | |
2023-09-17 | ~ | Tekky | 1 | -353/+0 | |
2023-09-17 | ~ | improved stability with gpt-3.5-turbo | abc | 1 | -14/+21 | |
improved stability with gpt-3.5-turbo | |||||
2023-09-17 | ~ | abc | 1 | -2/+1 | |
2023-09-17 | Update __init__.py | abc | 1 | -2/+1 | |
2023-09-17 | Revert "Fix type hint" | Tekky | 28 | -30/+241 | |
2023-09-17 | . | Tekky | 1 | -218/+0 | |
2023-09-16 | fix typo: provider -> Provider | MIDORIBIN | 25 | -25/+25 | |
2023-09-16 | fix type hint | MIDORIBIN | 3 | -130/+137 | |
2023-09-12 | Disable not working providers: | Heiner Lohaus | 7 | -24/+33 | |
EasyChat, Equing, GetGpt, Liaobots and Wuguokai No and random best provider for a model Update providers in Readme | |||||
2023-09-12 | Add new providers: Aivvm, Vitalentum and Ylokh | Heiner Lohaus | 7 | -25/+251 | |
2023-09-11 | Fix: `TypedDict` from `typing` error #886 | hs_junxiang | 1 | -2/+8 | |
Ref: https://github.com/python/typeshed/issues/3500 | |||||
2023-09-10 | Add ChatBase Provider | Heiner Lohaus | 2 | -0/+64 | |
2023-09-09 | Add CodeLinkAva Provider, Improve test_async.py | Heiner Lohaus | 4 | -2/+67 | |
2023-09-05 | Fix imports in Bing | Heiner Lohaus | 1 | -16/+7 | |
2023-09-05 | Add to many provider async and stream support, Fix Ails, AItianhu, ChatgptAi, ChatgptLogin Provider, Add fallback cookies to Bing, Improve OpenaiChat Provider | Heiner Lohaus | 17 | -528/+443 | |
2023-09-04 | Join the messages | hs_junxiang | 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. | |||||
2023-09-03 | type hints | msi-JunXiang | 35 | -45/+176 | |
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 | |||||
2023-09-01 | Set working=True in Liaobots, Fix bing provider, Update readme | Heiner Lohaus | 4 | -24/+6 | |
2023-08-28 | ~ | v-0.0.2.6 | abc | 1 | -25/+25 | |
2023-08-28 | Update Bing.py | Luneye | 1 | -7/+7 | |
Fixed some errors in my previously precipitated commit. | |||||
2023-08-28 | Update Bing.py | Luneye | 1 | -53/+45 | |
Added support the async function Will implement proper cookie retrieval later but Bing is working for now | |||||
2023-08-28 | Add async support for H2o | Heiner Lohaus | 13 | -311/+468 | |
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 | |||||
2023-08-27 | Update Bing.py | Luneye | 1 | -46/+76 | |
Removed unnecessary check that could prematurely stop the AI's response while answering | |||||
2023-08-27 | ~ | code styling | abc | 33 | -967/+842 | |
2023-08-25 | ~ | v-0.0.2.50.0.2.5 | abc | 1 | -1/+1 | |
2023-08-25 | Add OpenaiChat and Hugchat Provider | Heiner Lohaus | 6 | -79/+259 | |
Add tests for providers with auth Improve async support / 2x faster Shared get_cookies by domain function | |||||
2023-08-25 | Ails Supplementary Identification of Unusual Response Content | zengrr | 1 | -1/+1 | |
2023-08-24 | Improve provider list | Heiner Lohaus | 5 | -11/+11 | |
2023-08-24 | remove whitspace from data: and raise exception | Bagus Indrayana | 1 | -3/+5 | |
2023-08-23 | Ails throw the contents of an error response | zengrr | 1 | -0/+2 | |
2023-08-23 | fix Yqcloud's prompter using only the last message | zengrr | 1 | -1/+4 | |
2023-08-23 | "You" unicode decode and fix prompt just is last message | zengrr | 1 | -5/+8 | |
2023-08-23 | Add create_async method | Heiner Lohaus | 1 | -19/+39 | |
2023-08-22 | Improve providers with tests | Heiner Lohaus | 6 | -20/+18 | |
2023-08-22 | fix Equing response error with no stream | zengrr | 1 | -0/+3 | |
2023-08-22 | set encoding and temperature | zengrr | 3 | -5/+10 | |
2023-08-21 | Fix bing provider | Heiner Lohaus | 1 | -261/+203 | |
2023-08-20 | change link | Bagus Indrayana | 1 | -8/+9 | |
2023-08-20 | fix theb but need auth | Bagus Indrayana | 1 | -15/+72 | |
2023-08-20 | update header & response easychat | Bagus Indrayana | 1 | -9/+30 | |
2023-08-18 | Fix bard provider, add async support | Heiner Lohaus | 1 | -69/+67 | |
2023-08-17 | Update Yqcloud.py | MaxKUlish1 | 1 | -0/+1 | |
# specify the correct encoding forcibly | |||||
2023-08-17 | Update Yqcloud.py | MaxKUlish1 | 1 | -1/+0 | |
2023-08-17 | Update Yqcloud.py | MaxKUlish1 | 1 | -0/+1 | |
# specify the correct encoding forcibly | |||||
2023-08-17 | add provider | Bagus Indrayana | 2 | -1/+68 | |
2023-08-17 | refactor V50 and Raycast | Bagus Indrayana | 2 | -85/+123 | |
2023-08-17 | ~ | major refractoring + new providers | v0.0.2.0 | abc | 5 | -3/+164 | |
g4f.Provider.FastGpt & g4f.Provider.Equing gpt-3.5-turbo-0613 | |||||
2023-08-17 | add proxy and remove stream | Bagus Indrayana | 1 | -1/+1 | |
2023-08-17 | add v50 | Bagus Indrayana | 2 | -0/+44 | |
2023-08-17 | ~ | major refractoring | v0.0.2.0 | abc | 5 | -12/+12 | |
2023-08-14 | refactor: refactor provider | MIDORIBIN | 186 | -10894/+2492 | |
2023-08-14 | ~ |Â small fixes & new pypi version | v-0.0.1.90.0.1.90.0.1.0 | abc | 1 | -1/+1 | |
2023-08-14 | small fixes & new pypi version | abc | 3 | -4/+113 | |
2023-08-14 | Fix Ails.py | johnd0e | 1 | -1/+1 | |
Fix arguments order | |||||
2023-08-12 | Update EasyChat.py | omidima | 1 | -10/+9 | |
Resolve review comments. | |||||
2023-08-11 | Update EasyChat.py | omidima | 1 | -1/+8 | |
update active servers | |||||
2023-08-09 | Add Raycast Provider | ye4241 | 2 | -0/+51 | |
2023-08-08 | Update EasyChat.py | omidima | 1 | -16/+17 | |
Change model address and add proxy & session for pass cloudflare auth on requests. | |||||
2023-08-05 | Update Ails.py | VastV2 | 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. | |||||
2023-08-05 | Update DeepAi.py | omidima | 1 | -26/+52 | |
2023-08-01 | Update __init__.py | kggn | 1 | -1/+1 | |
2023-08-01 | Update __init__.py | kggn | 1 | -0/+1 | |
2023-08-01 | Create opchatgpts.py | kggn | 1 | -0/+42 | |
2023-07-25 | refactor: refactor models | MIDORIBIN | 2 | -231/+243 | |
2023-07-24 | Update Vercel.py | abc | 1 | -109/+8 | |
2023-07-22 | Use the temperature parameter | grandsonneo@gmail.com | 6 | -13/+13 | |
2023-07-21 | Fix the import errors | nonk123 | 1 | -0/+0 | |
2023-07-19 | Update Provider.DfeHub to consider rate-limit | najam-tariq | 1 | -1/+9 | |
2023-07-18 | Rename DFEHub.py to DfeHub.py | xtekky | 1 | -1/+1 | |
2023-07-18 | . | abc | 1 | -1/+1 | |
2023-07-17 | pypi package (pip install `g4f`) | abc | 1 | -2/+6 | |
2023-07-16 | minor fixes | abc | 27 | -64/+136 | |
2023-07-16 | minor fixes | abc | 4 | -5/+4 | |
ails, chatgptai ... | |||||
2023-07-12 | refactor/move provider from testing folder | Bagus Indrayana | 5 | -0/+364 | |
2023-07-10 | Add files via upload | AlephZero255 | 1 | -105/+93 | |
Fix empty H2o output | |||||
2023-07-05 | some more providers | najam-tariq | 5 | -1/+169 | |
2023-06-29 | fix subDomain of LockChat | Lê Anh Tuấn | 1 | -2/+2 | |
2023-06-27 | Fix: There is no current event loop in thread. | Ramon Victor Cardoso | 1 | -12/+13 | |
2023-06-24 | gpt4free v2, first releasev2 | t.me/xtekky | 151 | -0/+10302 | |