go-openai
go-openai copied to clipboard
Reset Dialog Context
I m looking to way to reset current dialog context with ChatGPT
I've found a way to do it using openAI Python library
response = openai.Completion.create(
engine="davinci",
prompt="Hello, how are you?",
temperature=0.5,
max_tokens=50,
reset=True # This allow to drop dialog context and start over
)
Is it a way to do it with this library?