Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
xuzeyu91 committed Aug 15, 2024
1 parent 897c5a3 commit f35e506
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Directory.Build.props
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project>
<!-- See https://aka.ms/dotnet/msbuild/customize for more details on customizing your build -->
<PropertyGroup>
<Version>0.1.20-dev1</Version>
<Version>0.1.20-dev2</Version>
<SKVersion>1.17.1</SKVersion>
</PropertyGroup>
</Project>
4 changes: 2 additions & 2 deletions src/GraphRag.Net/Domain/Service/SemanticService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@ public SemanticService(Kernel kernel)
if (!_kernel.Plugins.Any(p => p.Name == "graph"))
{
var basePath = AppDomain.CurrentDomain.BaseDirectory; // 或使用其他方式获取根路径
var pluginPath = Path.Combine(basePath, RepoFiles.SamplePluginsPath(), "graph");
var pluginPath = Path.Combine(basePath, RepoFiles.SamplePluginsPath());
Console.WriteLine($"pluginPatth:{pluginPath}");
_kernel.ImportPluginFromPromptDirectory(pluginPath);
_kernel.ImportPluginFromPromptDirectory(pluginPath, "graph");
}
}
public async Task<string> CreateGraphAsync(string input)
Expand Down

0 comments on commit f35e506

Please sign in to comment.