Storing context in OpenAI - Best practices

Sariga Rahul 141 Reputation points
2023-07-13T08:25:17.0233333+00:00

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.
2,644 questions
0 comments No comments
{count} votes

Accepted answer
  1. romungi-MSFT 43,696 Reputation points Microsoft Employee
    2023-07-13T13:45:36.6533333+00:00

    @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