update settings

This commit is contained in:
Jicheng Lu 2024-08-30 20:10:00 -05:00
parent f38fdf7497
commit e660957c46
3 changed files with 4 additions and 2 deletions

View file

@ -44,7 +44,7 @@ public class GraphDb : IGraphDb
return new GraphSearchData();
}
var url = $"{_settings.BaseUrl}/query";
var url = $"{_settings.BaseUrl}{_settings.SearchPath}";
var request = new GraphQueryRequest
{
Query = query,

View file

@ -3,4 +3,5 @@ namespace BotSharp.Plugin.Graph;
public class GraphDbSettings
{
public string BaseUrl { get; set; }
public string SearchPath { get; set; }
}

View file

@ -254,7 +254,8 @@
},
"Graph": {
"BaseUrl": ""
"BaseUrl": "",
"SearchPath": ""
},
"WeChat": {