Access multiple models such as gpt-3/3.5, gpt-4, claude+, claude-instant, bard for free!
Replit Example && Poe-API is currently not working since poe.com has disabled
the p-b token, the project will not receive any updates until I figure something out
CREDITS Poe-API - ading2210 (https://github.com/ading2210/poe-api)
For creating the program responsible to connect and "talk" with models in the website https://poe.com
FreeGPT4 - Lomusire (https://github.com/Lomusire/FreeGPT-4)
For creating a program capable to create tokens, They also own a very cool discord server, I would recommend joining it!
Bard-API - dsdanielpark (https://github.com/dsdanielpark/Bard-API)
For creating a program capable to connect and get responce from Bard.
Python3 Should be installed on your system
git clone https://github.com/Ayan-Nalawade/Chat.git
Install the repository
pip install -r requirements.txt
-
Go to bard.google.com
-
Sign in with a google/bard approved account (Required to use google bard api)
-
Press
F12
orctrl + shift + i
for google dev or console -
Session: Application → Cookies → Copy the value of
__Secure-1PSID
cookie. -
Open chatv1.1.py using any text editor, and replace
'CHANGE ME!'
in variablebard_token
to value aquired on point 4
Click Here for more info
NOTE: Having it open on the website is required here and have the developer mode on, read below on how to turn it on!!
-
Join the discord server: https://discord.gg/v5mqTMjmFn
-
Press
ctrl + shift + i
to open chrome dev -> Then navigate to the 'network' tab -
GRAB authentication: Go to any of the '-ai-chatroom', then type something, like
!info
-
GRAB channel ID: Go to
poe-token
and copy the channel id
- Put information from STEP 3 into the
auth
variable in the chatv1.py - Put information from STEP 4 into the
id
variable in the chatv1.py
How to turn developer mode on in discord
Q: The program is not working, I am getting some errors related to modules
A: Make sure all the modules in requirements.txt
are up to date, you can try to reinstall these, by typing in pip uninstall <module name>
and then pip install <module name>
Program by default will cycle through available and WORKING api's Each api will be connected for certain amount of requests to avoid overloading singular api
In-cli commands
!exit
: Quite straight forward, exits the program and is the PROPER way to exit this program
<model_name> : <text>
: Use this to talk to a model, if unsure, type help : help
to get bot names
!index
: Remove current working api's and re-grab the working api's, this may take a bit depending on your CPU, RAM and network speed
Currently Working on...
- Adding the ability to create images
If you have any further questions, or suggestions, feel free to create a thread