Skip to content

Commit f35e506

Browse files
committed
test
1 parent 897c5a3 commit f35e506

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Directory.Build.props

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project>
22
<!-- See https://aka.ms/dotnet/msbuild/customize for more details on customizing your build -->
33
<PropertyGroup>
4-
<Version>0.1.20-dev1</Version>
4+
<Version>0.1.20-dev2</Version>
55
<SKVersion>1.17.1</SKVersion>
66
</PropertyGroup>
77
</Project>

src/GraphRag.Net/Domain/Service/SemanticService.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,9 @@ public SemanticService(Kernel kernel)
2323
if (!_kernel.Plugins.Any(p => p.Name == "graph"))
2424
{
2525
var basePath = AppDomain.CurrentDomain.BaseDirectory; // 或使用其他方式获取根路径
26-
var pluginPath = Path.Combine(basePath, RepoFiles.SamplePluginsPath(), "graph");
26+
var pluginPath = Path.Combine(basePath, RepoFiles.SamplePluginsPath());
2727
Console.WriteLine($"pluginPatth:{pluginPath}");
28-
_kernel.ImportPluginFromPromptDirectory(pluginPath);
28+
_kernel.ImportPluginFromPromptDirectory(pluginPath, "graph");
2929
}
3030
}
3131
public async Task<string> CreateGraphAsync(string input)

0 commit comments

Comments
 (0)