Azure / azure-sdk-for-net

This repository is for active development of the Azure SDK for .NET. For consumers of the SDK we recommend visiting our public developer docs at https://learn.microsoft.com/dotnet/azure/ or our versioned developer docs at https://azure.github.io/azure-sdk-for-net.
MIT License
5.19k stars 4.55k forks source link

[OpenAI] [Sample] How to serialize and deserialize a "chat history" #42493

Open joseharriaga opened 4 months ago

joseharriaga commented 4 months ago

This is a common use case, e.g. how copilot titles and saves your conversations, allowing you to review them and also continue them in the future.

pallavit commented 4 months ago

What is the end to end scenario here? Who persists this information? Consumer of the client?

joseharriaga commented 3 months ago

What is the end to end scenario here? Who persists this information? Consumer of the client?

This is a common use case in chat applications. For example, consider how Copilot saves your conversations and lets you resume them in the future.