summaryrefslogtreecommitdiffstats
path: root/g4f/models.py (follow)
Commit message (Collapse)AuthorAgeFilesLines
* A few small fixes in GUI and Providers (#1861)kqlio672024-04-191-19/+34
|
* Added Meta llama-3 support! (#1856)PD2024-04-191-4/+18
| | | | | | | | * Added Meta llama-3 support! Decided to change llama2.py to llama.py to hold all the llama family models. * updated HuggingChat provider * Update FlowGpt.py
* add cohere provider.abc2024-04-161-1/+2
|
* new gpt-4 beating opensource modelsabc2024-04-131-2/+9
|
* add more modelsabc2024-04-131-10/+24
| | | | mixtral 8x22b
* improve models list for gpt-3.5-turboabc2024-04-121-0/+1
|
* update default gpt-3.5-turbo modelsabc2024-04-121-2/+8
| | | | | | by default, only OpenAI was enabled, more models enable for more flexibility. new provider `Koala` added, to watch out as it could be unstable.
* Update DeepInfra modelsnullstreak2024-04-121-9/+16
|
* Add authless OpenaiChatHeiner Lohaus2024-04-051-17/+9
|
* GigaChat models addvlad2024-03-131-2/+26
|
* Remove all not working provider (#1679)H Lohaus2024-03-121-5/+2
| | | | Fix many providers Add selenium-wire to requierments
* Fix HuggingChat and PerplexityLabs and add HuggingFace providerHeiner Lohaus2024-03-111-6/+21
| | | | | Add more models and image generation in You provider Use You as second default image provider
* Improve readme, add smartphone guideHeiner Lohaus2024-02-231-5/+5
|
* Move some modules, create providers dirHeiner Lohaus2024-02-221-0/+2
| | | | | | Set min version for duckduckgo Make duckduckgo search async Remove get_lastet_version
* Update provider and model list (#1568)H Lohaus2024-02-091-11/+7
| | | | Move bing.create_images and cookies helper Disable some providers
* Merge pull request #1565 from hlohaus/gemini0.2.1.1H Lohaus2024-02-091-1/+1
|\ | | | | Fix OpenaiChat provider, Fix issue with curl_cffi
| * Fix Phind Provider / add generate_challengeHeiner Lohaus2024-02-091-1/+1
| |
* | Added CodeLlama 70bnullstreak2024-02-041-1/+8
|/
* Added CodeLlama and misc models from DeepInfra (#1506)nullstreak2024-01-231-5/+25
|
* Cleanup model listHeiner Lohaus2024-01-231-164/+20
|
* Add upload svg image supportHeiner Lohaus2024-01-231-5/+6
| | | | Fix upload image in Bing Provider
* Add dolphin-2.6-mixtral-8x7bnullstreak2024-01-211-0/+13
|
* Refactor code with AIHeiner Lohaus2024-01-141-0/+15
| | | | | | | Add doctypes to many functions Add file upload for text files Add alternative url to FreeChatgpt Add webp to allowed image types
* Improve FreeChatgpt ProviderHeiner Lohaus2024-01-131-7/+5
|
* Added support for more models: FreeChatgpt (#1456)Debaditya Banerji2024-01-131-5/+15
| | | | | | * Improved FreeChatgpt, added support for more models * Added new model: Gemini Pro
* Add create images to Bing (#1426)H Lohaus2024-01-101-5/+2
| | | | | Add create images from Bing Add FreeChatgpt Provider Fix Bard Provider
* Add GeminiProChat Provider (#1419)H Lohaus2024-01-021-5/+1
| | | * Add GeminiProChat Provider
* Add support for all modelsHeiner Lohaus2024-01-011-8/+19
| | | | | | | | | 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
* Add Gpt6 ProviderHeiner Lohaus2023-12-251-0/+4
|
* Update models.pynullstreak2023-12-211-0/+7
|
* Remove VoiGptH Lohaus2023-12-141-5/+1
|
* Add Mistral modelsnullstreak2023-12-131-1/+16
|
* Added a new provider voigpt.com (#1328)Meshwa4282023-12-101-0/+4
| | | | | | | * added the new VoiGpt provider * fixed the voigpt and moved it to needs_auth * added auth detail and doc to voiGpt provider
* Improve docker imageHeiner Lohaus2023-12-061-0/+2
|
* Add selenium to dockerfileHeiner Lohaus2023-12-061-1/+2
| | | | | | Load model and provider list in gui Remove needs_auth in HuggingChat Add default model and login url in gui
* Update pi providerHeiner Lohaus2023-12-011-3/+2
|
* Added new provider PI (Hacky way to use) (#1291)madonchik1232023-12-011-0/+8
| | | | | | | | | * 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
* ~abc2023-11-241-1/+1
| | | | chatgptx not working
* Add AiChatOnline, ChatgptDemoAi, ChatgptNext ProvidersHeiner Lohaus2023-11-181-1/+8
| | | | | | Add OnlineGpt and TalkAi Provider Add get_random_string and get_random_hex helper Remove funcaptcha package
* Fix Bard ProviderHeiner Lohaus2023-11-161-2/+1
|
* Fix Phind and PerplexityAi - GPT-4 ProvidersHeiner Lohaus2023-11-161-9/+16
| | | | | | | Fix MyShell Provider Refactor Provider __init__ Add ChatAnywhere Provider Update models list
* Fix Chatgpt4Online ProviderHeiner Lohaus2023-11-131-3/+1
|
* Add Berlin and Koala ProviderHeiner Lohaus2023-11-121-5/+5
|
* Add auto_continue to OpenaiChatHeiner Lohaus2023-11-121-1/+1
| | | | Update readme provider tables
* Add llama2 model mappingHeiner Lohaus2023-10-261-0/+5
|
* Add Llama2 Providers / ModelsHeiner Lohaus2023-10-261-0/+17
|
* Fix MyShell ProviderHeiner Lohaus2023-10-221-7/+0
|
* Add FakeGpt ProviderHeiner Lohaus2023-10-221-15/+11
| | | | Update providers in models
* ~ | g4f `v-0.1.7.2`abc2023-10-211-1/+2
| | | | patch / unpatch providers
* ~abc2023-10-201-3/+4
| | | | minor changes
* ~ | updated g4f.apiabc2023-10-201-1/+1
| | | | new api and requirements
* ~abc2023-10-191-5/+6
| | | | fix gui errors on iOS
* ~ | g4f `v-0.1.6.8`0.1.6.8abc2023-10-191-2/+2
| | | | some quick fixes
* ~abc2023-10-191-3/+15
| | | | automatic models fetching in GUI.
* ~ | update working providers list & gpt-4 providersabc2023-10-161-5/+8
|
* Add Llama2 and NoowAi ProviderHeiner Lohaus2023-10-151-1/+3
|
* ~ | Merge pull request #1068 from hlohaus/freTekky2023-10-141-5/+5
|\ | | | | Fix Opchatgpts and ChatForAi Provider
| * Fix Opchatgpts and ChatForAi ProviderHeiner Lohaus2023-10-141-5/+5
| | | | | | | | Deprecate Vitalentum and Aivvm Provider
* | ~abc2023-10-141-2/+0
|/ | | | fix chatbase (bad) and remove from auto selection
* ~ | g4f v-0.1.6.1abc2023-10-111-8/+7
| | | | some bug fixes
* ~ | remove DeepAiabc2023-10-101-3/+2
|
* fix provider thing in gui x2Commenter1233212023-10-101-7/+14
|
* ~abc2023-10-101-6/+7
| | | | remove chatforai
* Add Cromicle to provider listHeiner Lohaus2023-10-081-1/+4
|
* Remove Aivvm from working providersHeiner Lohaus2023-10-071-14/+10
|
* ~ | gpt-3.5-turbo-0613abc2023-10-061-0/+1
|
* ~ | fix gpt-3.5-turbo modelsabc2023-10-061-5/+4
|
* import fixedostix3602023-10-051-1/+3
|
* Merge branch 'main' into bomTekky2023-10-051-1/+2
|\
| * Update models.pyHexye2023-10-041-1/+2
| |
* | Add AiAsk, Chatgpt4Online, ChatgptDemoHeiner Lohaus2023-10-051-12/+19
|/ | | | | | and ChatgptX Provider Fix Bing, Liaobots and ChatgptAi Provider Add "gpt_35_long" model and custom timeout
* Sort providers in new dirsHeiner Lohaus2023-10-041-3/+1
|
* +Curl +Async +Stream RequestsHeiner Lohaus2023-10-021-3/+6
| | | | Update Model List
* ~Tekky2023-10-011-162/+162
|
* some more thingsCommenter1233212023-09-291-148/+152
|
* Fix Aivvm and add new models in models.pyCommenter1233212023-09-291-3/+13
|
* Add ChatgptDuo and Aibn ProviderHeiner Lohaus2023-09-261-3/+6
| | | | | | Add support for "nest_asyncio", Reuse event_loops with event_loop_policy Support for "create_async" with synchron provider
* AItianhuSpace Provider with GPT 4 addedHeiner Lohaus2023-09-261-3/+4
| | | | Reduced chunksize to better text completion
* Add Myshell ProviderHeiner Lohaus2023-09-251-5/+8
| | | | Remove auto proxy prefix
* Fix: Aivvm: KeyError: ''Heiner Lohaus2023-09-231-1/+1
| | | | and TypeError: issubclass() arg 1 must be a class
* ~ | gpt-3.5-turbo-16k-0613abc2023-09-231-17/+17
|
* ~ | new providersabc2023-09-231-11/+15
| | | | | | Somwhat fix Aivvm provider, which looks to have a working gpt-4 kinda unstable
* ~ | Merge pull request #924 from hlohaus/vercelTekky2023-09-221-8/+23
|\ | | | | Fix async example in readme
| * Add RetryProviderHeiner Lohaus2023-09-211-7/+22
| |
| * Cache "snlm0e" in BardHeiner Lohaus2023-09-201-1/+1
| | | | | | | | | | Improve error handling in ChatgptLogin Fix async example in readme
* | ~ | gpt-3.5-turbo-0613abc2023-09-221-144/+140
| |
* | add model config : gpt_35_turbo_0613tony2023-09-201-1/+1
| |
* | dd model config : gpt_35_turbo_0613tony2023-09-201-35/+35
| |
* | add model config : gpt_35_turbo_0613tony2023-09-201-3/+2
| |
* | add model config : gpt_35_turbo_0613tony2023-09-201-138/+141
| |
* | add model config : gpt_35_turbo_0613tony2023-09-201-1/+1
| |
* | add model config : gpt_35_turbo_0613tony2023-09-201-1/+4
| |
* | add model config : gpt_35_turbo_0613tony2023-09-201-0/+5
|/
* Check supports_stream in best_providers listHeiner Lohaus2023-09-181-2/+1
|
* ~ | improved stability with gpt-3.5-turboabc2023-09-171-14/+21
| | | | improved stability with gpt-3.5-turbo
* Revert "Fix type hint"Tekky2023-09-171-0/+212
|
* .Tekky2023-09-171-218/+0
|
* fix type hintMIDORIBIN2023-09-161-126/+132
|
* Disable not working providers:Heiner Lohaus2023-09-121-8/+13
| | | | | | EasyChat, Equing, GetGpt, Liaobots and Wuguokai No and random best provider for a model Update providers in Readme
* type hintsmsi-JunXiang2023-09-031-0/+1
| | | | | | | | | | 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
* Add async support for H2oHeiner Lohaus2023-08-281-0/+7
| | | | | | | | | | | | | 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 stylingabc2023-08-271-148/+122
|
* ~ | major refractoring + new providers | v0.0.2.0abc2023-08-171-2/+2
| | | | | | g4f.Provider.FastGpt & g4f.Provider.Equing gpt-3.5-turbo-0613
* ~ | major refractoring | v0.0.2.0abc2023-08-171-1/+1
|
* refactor: refactor providerMIDORIBIN2023-08-141-139/+121
|
* small fixes & new pypi versionabc2023-08-141-3/+2
|
* refactor: refactor modelsMIDORIBIN2023-07-251-228/+240
|
* minor fixesabc2023-07-161-0/+31
|
* gpt4free v2, first releasev2t.me/xtekky2023-06-241-0/+201