Simatwa / python-tgpt

AI Chat in Terminal + Package + REST-API

Home Page:https://python-tgpt.onrender.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Additional providers

johnd0e opened this issue · comments

Could you provide links to these models.

I would like to highlight the following.

Google's Bard powered by Gemini is already implemented though I'm not sure if it's pro.
OpenAI's GPT4 is already implemented too. Thanks to WebChatGPT. It's accessed slightly different $ pytgpt webchatgpt

Could you provide links to these models.

Done

Google's Bard powered by Gemini is already implemented though I'm not sure if it's pro

Google Bard is still powered by PaLM worldwide, only in US it is by Gemini.
And current Bard support implementation is far less reliable than straightforward gemini api usage via Google SDK.

OpenAI's GPT4 is already implemented too. Thanks to WebChatGPT

Well, GPT-4 via web chat is available only with Plus subscription.
But I actually mean https://github.com/xtekky/gpt4free, it is lib with many sub-providers.

gpt4free is truly a masterpiece but one of it's major con is the dependency on Google Chrome, which renders it useless in certain devices/emulators such as Termux. Despite of that, it gonna serve as a useful resource for the providers which will otherwise be recreated.

but one of it's major con is the dependency on Google Chrome

Most providers does not require it at all.
Some can get cookies out of it (but it is also possible to provide cookies via arguments).

And that's why we shall have to recreate them to achieve the said functionality.

g4f==0.2.0.3

You probably should not fix any particular version, as g4f is very unstable project: frequent updates, and frequent providers changes. Yesterday some providers were ok, but today they may just gone (possibly forever).

Also consider Status column of this table: https://github.com/xtekky/gpt4free/tree/main?tab=readme-ov-file#-providers-and-models: there are plenty providers, but only 12 marked as Active at the moment.

Just updated the list (in the first post)

Bumping this issue because it has been open for 14 days with no activity. Closing automatically in 14 days unless it becomes active again.

I think we should add Gemini-pro api support since it's free upto 60 requests per minute. You need an api-key which can be generated by signing into Google AI Studio. Also check this out https://github.com/llegomark/gemini-pro-chat.

Okay I will look into it.

@sameedzahoor

I think we should add Gemini-pro api support since it's free

See https://github.com/PublicAffairs/openai-gemini

Bumping this issue because it has been open for 14 days with no activity. Closing automatically in 14 days unless it becomes active again.

Hello, I am not sure if it is the right place to ask but is there a way to use the g4f models other than the 13 first ones in the readme in python ? I can't find a way to use them along with pytgpt.

Bumping this issue because it has been open for 14 days with no activity. Closing automatically in 14 days unless it becomes active again.

Keep it aliv

Hello, I am not sure if it is the right place to ask but is there a way to use the g4f models other than the 13 first ones in the readme in python ? I can't find a way to use them along with pytgpt.

Try out this

import pytgpt.gpt4free as gpt4free
bot = gpt4free.GPT4FREE(provider="Koala")
print(bot.chat("<Your-prompt>"))

Bumping this issue because it has been open for 14 days with no activity. Closing automatically in 14 days unless it becomes active again.

Closing due to inactivity.