Commit Graph

15 Commits (6135f4ac08508f902cc417ef1e9d11b299ab5fd9)

Author SHA1 Message Date
Heiner Lohaus e46b5fe043 Add proxy support to all providers 11 months ago
Heiner Lohaus 3c2755bc72 Add ChatgptDuo and Aibn Provider
Add support for "nest_asyncio",
Reuse event_loops with event_loop_policy
Support for  "create_async" with synchron provider
12 months ago
Heiner Lohaus 72c3ff7a25 AItianhuSpace Provider with GPT 4 added
Reduced chunksize to better text completion
12 months ago
abc 6c2e3cc53c ~ | improve Vercel & g4f.Completion.create
added `.Completion.create` class.

```py
response = g4f.Completion.create(
    model='text-davinci-003', prompt="Hello")

print(response)
```
12 months ago
abc af9fc19938 ~ 12 months ago
Tekky 1215d30bf4
Delete g4f/Provider/Vercel.py 12 months ago
Heiner Lohaus a3ecabb00e Improve Vercel Provider:
- Fix endless loop
 - Add proxy, async support
 - Add default model
 Fix HuggingChat Provider
12 months ago
abc d4acc23c0b ~ | Update Vercel Provider 12 months ago
abc 42a02c3d2d ~ | new providers
Somwhat fix Aivvm provider, which looks to have a working gpt-4

kinda unstable
12 months ago
abc bae9c432db ~ 12 months ago
Heiner Lohaus d6382a2145 Add new providers: Aivvm, Vitalentum and Ylokh 1 year ago
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
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
abc efd75a11b8 ~ | code styling 1 year ago
MIDORIBIN f6ef3cb223 refactor: refactor provider 1 year ago