© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•2y ago•
3 replies
TJacken

Azure Open AI preserve history and load instruction files

Hi all, need advice I'm working AI chatbot and want to preserve chat history per user.

What would be best way to implement this without using database. Is there better way than creating service which holds all chat history in list and registering this service as singleton?

Also my plan is to have storage account on Azure where I would put my instruction files on blob container and when creating initial message download this files from Azure and load them as user messages for open ai service. Is there better way to load files instead of loading them in constructor of AzureOpenAIService?
C# banner
C#Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

Load files from azure at startup and add new files in memory and azure storage
C#CC# / help
2y ago
Using instruction
C#CC# / help
4y ago
❔ Upload large files to azure storage!
C#CC# / help
3y ago
Semantic Kernel - Open Ai
C#CC# / help
9mo ago