noes14155 / Telegrambot-with-GPT

telegram bot with gpt
GNU General Public License v2.0
79 stars 30 forks source link

how to get key #45

Closed kaifsarkar123 closed 1 year ago

kaifsarkar123 commented 1 year ago

how i can get the key gpt4free as I try to join the channel but nothing happens and the telegram link is also not working

noes14155 commented 1 year ago

If you are using gpt4free no need key. If you use naga api get key from discord https://discord.gg/GD7VhvSY

On Mon, 2 Oct 2023, 10:12 pm kaifsarkar123, @.***> wrote:

how i can get the key gpt4free as I try to join the channel but nothing happens and the telegram link is also not working

— Reply to this email directly, view it on GitHub https://github.com/noes14155/Telegrambot-with-GPT/issues/45, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACH7HZEEBY4FBWV4KCDVU53X5L7YPAVCNFSM6AAAAAA5PZW5M2VHI2DSMVQWIX3LMV43ASLTON2WKOZRHEZDEMZZGE4DGNQ . You are receiving this because you are subscribed to this thread.Message ID: @.***>

kaifsarkar123 commented 1 year ago

I have tried that but not working I guess I have to put the api base key

kaifsarkar123 commented 1 year ago

I did not put the base key

noes14155 commented 1 year ago

If you are using gpt4free no need api_key just change api_base to http://g4f_server:1337. If you are using naga api_base will be https://api.naga.ac/v1 and api_key you need to get from discord

On Tue, 3 Oct 2023, 5:34 am kaifsarkar123, @.***> wrote:

I have tried that but not working I guess I have to put the api base key

— Reply to this email directly, view it on GitHub https://github.com/noes14155/Telegrambot-with-GPT/issues/45#issuecomment-1744024190, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACH7HZALBNWR4TL4JGBQK2TX5NTRDAVCNFSM6AAAAAA5PZW5M2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTONBUGAZDIMJZGA . You are receiving this because you commented.Message ID: @.***>

kaifsarkar123 commented 1 year ago

The base url http://g4f_server:1337 is not working when I add the base url the bot doesn't work

noes14155 commented 1 year ago

API_BASE To use GPT4free API_BASE = 'http://g4f_server:1337' (Only working in docker) You can use any provider. I have included Naga AI api base. Use the key for the same.

Please read the Readme file

kaifsarkar123 commented 1 year ago

but iam unable to get the nega ai key as I go to the link and tap on join it won't work

noes14155 commented 1 year ago

Added option to run g4f without docker put API_BASE as http://localhost:1337 and remember to update g4f package

kaifsarkar123 commented 1 year ago

thanks

noes14155 commented 1 year ago

If you can't get key from naga AI discord use g4f.

On Mon, 9 Oct 2023, 6:37 pm kaifsarkar123, @.***> wrote:

thanks

— Reply to this email directly, view it on GitHub https://github.com/noes14155/Telegrambot-with-GPT/issues/45#issuecomment-1753136409, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACH7HZDJD3NPNOFTTUHONFLX6QD2VAVCNFSM6AAAAAA5PZW5M2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTONJTGEZTMNBQHE . You are receiving this because you commented.Message ID: @.***>