Closed markjbrown closed 9 months ago
i tried updating appsettings.Development.json to this (see below) which I'm guessing is not what you intended.
{
"MSCosmosDBOpenAI": {
"CognitiveSearchMemorySource": {
"Endpoint": "
@joelhulen @ciprianjichici I got debug working but I'm guessing this appsettings is not what you intended.
Same issue here on fresh clone - exceptions are thrown about Key being null at the start of the debugging session. I had to add the following two sections to appSettings.development.json:
"BlobStorageMemorySource": {
"ConfigBlobStorageConnection": "..."
},
"CognitiveSearchMemorySource": {
"Endpoint": "...",
"Key": "..."
}
Please note these are repetitive of two other sections already in this file. For the time being I've made the change to debugging instructions in readme.md but the code has to be cleaned up to avoid the duplicity.
Hey alekseys I'll take care of it. Thanks though 🙂
Get Outlook for Androidhttps://aka.ms/AAb9ysg
From: alekseys @.> Sent: Monday, October 2, 2023 7:29:52 AM To: Azure/Vector-Search-AI-Assistant @.> Cc: Author @.>; Comment @.>; Assign @.***> Subject: Re: [Azure/Vector-Search-AI-Assistant] Config values don't match for local debug (Issue #7)
Same issue here on fresh clone - exceptions are thrown about Key being null at the start of the debugging session. I had to add the following section to appSettings.development.json:
"CognitiveSearchMemorySource": {
"Endpoint": "...",
"Key": "..."
}
I guess CognitiveSearch section with the same credentials isn't needed anymore. Will make a change in the instructions.
— Reply to this email directly, view it on GitHubhttps://github.com/Azure/Vector-Search-AI-Assistant/issues/7#issuecomment-1743128166 or unsubscribehttps://github.com/notifications/unsubscribe-auth/AAGDLJW36S7WGTHTZJQVAY3X5LFWBBFKMF2HI4TJMJ2XIZLTSOBKK5TBNR2WLJDUOJ2WLJDOMFWWLO3UNBZGKYLEL5YGC4TUNFRWS4DBNZ2F6YLDORUXM2LUPGBKK5TBNR2WLJDUOJ2WLJDOMFWWLLTXMF2GG2C7MFRXI2LWNF2HTAVFOZQWY5LFUVUXG43VMWSG4YLNMWVXI2DSMVQWIX3UPFYGLLDTOVRGUZLDORPXI6LQMWWES43TOVSUG33NNVSW45FGORXXA2LDOOJIFJDUPFYGLKTSMVYG643JORXXE6NFOZQWY5LFVE3DQNBSGE4DKNBQQKSHI6LQMWSWS43TOVS2K5TBNR2WLKRRHEYTIMZQGM3TENFHORZGSZ3HMVZKMY3SMVQXIZI. You are receiving this email because you authored the thread.
Triage notifications on the go with GitHub Mobile for iOShttps://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Androidhttps://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
The config values for appsettings.Development.json do not match what is expected in the app. View in run locally and debug.
Then see what the code is expecting on startup in the ChatServiceWebApi. The result here is Cog Search will not connect because the config values are empty.