pranayroni / azure-search-openai-demo-csharp

documentbot in .net
MIT License
0 stars 1 forks source link

User Service #108

Closed pranayroni closed 1 month ago

pranayroni commented 1 month ago

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.

pranayroni commented 1 month ago

Will progress #100

pranayroni commented 1 month ago

Create a model for sending data to ai search with IndexDocumentsAction.MergeOrUpload()

pranayroni commented 1 month ago

On Authentication, retrieve a chatservice for the user or create a new one for the user if its their first time

pranayroni commented 1 month ago

On chat instance change, send a request with the model containing new chat history and chat instances user created

pranayroni commented 1 month ago

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

pranayroni commented 1 month ago

107 will handle the rest, User Service looks good.