Skip to content
This repository has been archived by the owner on Aug 10, 2023. It is now read-only.

Converse in one chat #1464

Answered by Barnacules
ClayArrobakker asked this question in Q&A
Discussion options

You must be logged in to vote

Yup, just select an existing conversation on chat.openai.com in your browser that you've already asked at least one question and it should show the conversation_id in the URL itself. Just copy that conversation ID (everyone after /c/) and input it into the Chatbot config through the config file or when you create the object using the conversation_id field and it will append to that conversation moving forward. You can even switch between models within a single conversation.

chatbot = Chatbot(config={
#"session_token": session_token,
"access_token": access_token,
"paid": True,
"model": "gpt-3.5-turbo",
"conversation_id": conversation_id,
"moderation": False
})

Hope this helps 👍

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@ClayArrobakker
Comment options

Answer selected by ClayArrobakker
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants