Storing context in OpenAI - Best practices

Sariga Rahul 141 Reputation points

What is the best method to store context information in OpenAI for chatbots built using Azure OpenAI? As the chatbots are receiving numerous questions, the context value continues to increase. I am seeking guidance on the most effective way to store and manage context information.

Azure OpenAI Service
Azure OpenAI Service
An Azure service that provides access to OpenAI’s GPT-3 models with enterprise capabilities.
1,879 questions
0 comments No comments
{count} votes

Accepted answer
  1. romungi-MSFT 41,321 Reputation points Microsoft Employee

    @Sariga Rahul I think the API is stateless and doesn't retain context. You can use this notebook to retain the context in a conversation and pass it each time.

    If this answers your query, do click Accept Answer and Yes for was this answer helpful. And, if you have any further query do let us know.

    1 person found this answer helpful.
    0 comments No comments

0 additional answers

Sort by: Most helpful