-
Notifications
You must be signed in to change notification settings - Fork 770
Closed
Labels
bugSomething isn't workingSomething isn't workingmemoryIssues or questions related to memoryIssues or questions related to memorywebapiPull requests that update .net codePull requests that update .net code
Description
Describe the bug
At startup there is an error message in the UI "Invalid memory store type: Disk". MemoryStoreType Disk does indeed not exist while it is configured to use Disk
Error getting service options. Details: Error: 500: System.ArgumentException:
Invalid memory store type: Disk at CopilotChat.WebApi.Options.MemoryStoreTypeExtensions.GetMemoryStoreType(SemanticMemoryConfig memoryOptions, IConfiguration configuration) in
C:\Users\Ronald\repo\sk\chat-copilot\webapi\Options\MemoryStoreType.cs:line 73 at CopilotChat.WebApi.Controllers.ServiceInfoController.GetServiceInfo() in
C:\Users\Ronald\repo\sk\chat-copilot\webapi\Controllers\ServiceInfoController.cs:line 62 at lambda_method36(Closure, Object, Object[])
at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.SyncActionResultExecutor.Execute(ActionContext actionContext, IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.
InvokeActionMethodAsync() at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& stat...
https://github.com/microsoft/chat-copilot/tree/main/memorypipeline/appsettings.json
"SimpleVectorDb": {
"StorageType": "Disk",
"Directory": "../tmp/database"
},
To Reproduce
Configure the SimpleVectorDb StorageType as Disk and Start up the webclient. Message appears above the chat input field.
Expected behavior
No error message and be able to use Disk or change the config in appsettings.json so SimpleVectorDb uses Volatile as StorageType all the time and change the documentation/comment that Disk is not available.
Platform
Windows
Latest available version (10/31)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingmemoryIssues or questions related to memoryIssues or questions related to memorywebapiPull requests that update .net codePull requests that update .net code