terry3041 / pyChatGPT

An unofficial Python wrapper for OpenAI's ChatGPT API
GNU General Public License v3.0
1.35k stars 252 forks source link

Can't find the conversation_id and proxy #90

Open iris8191 opened 1 year ago

iris8191 commented 1 year ago

i'm new at chatgpt, i can't found the conversation_id, and i don't know what to type in the proxy, can someone help me...?

terry3041 commented 1 year ago

i can't found the conversation_id

Fill in coversation_id only if you want to continue a conversation.

image

and i don't know what to type in the proxy

Proxy is useful only if your region is blocked by OpenAI when logging in.

iris8191 commented 1 year ago

also i want to ask that line 11-32, is it mean that we just need to choose one?

terry3041 commented 1 year ago

also i want to ask that line 11-32, is it mean that we just need to choose one?

Yeah. Something like this can already get this API working.

from pyChatGPT import ChatGPT

session_token = 'abcdefg'
api = ChatGPT(session_token)
print(api.send_message('Hello!'))
iris8191 commented 1 year ago

i have a new problem now... i execute the program and the chrome website keeps opening a new one, how can i solve it...