Closed pranayroni closed 1 month ago
Will progress #100
Create a model for sending data to ai search with IndexDocumentsAction.MergeOrUpload()
On Authentication, retrieve a chatservice for the user or create a new one for the user if its their first time
On chat instance change, send a request with the model containing new chat history and chat instances user created
Create a model for sending data to ai search with IndexDocumentsAction.MergeOrUpload()
for sending the user data https://learn.microsoft.com/en-us/dotnet/api/azure.search.documents.models.indexdocumentsaction.mergeorupload?view=azure-dotnet#azure-search-documents-models-indexdocumentsaction-mergeorupload-1(-0)
for getting the user data https://learn.microsoft.com/en-us/azure/search/search-howto-dotnet-sdk
After auth, user service stores all necessary information and helps out the rest of the entire frontend deliver authenticated api requests to whatever service the user needs.