go-openai icon indicating copy to clipboard operation
go-openai copied to clipboard

Reset Dialog Context

Open JackBekket opened this issue 2 years ago • 0 comments

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?

JackBekket avatar Mar 25 '23 14:03 JackBekket