Skip to content

Commit

Permalink
fix node bug
Browse files Browse the repository at this point in the history
  • Loading branch information
xuzeyu91 committed Aug 14, 2024
1 parent bf626f3 commit 6eb6227
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 9 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.17</Version>
<Version>0.1.18</Version>
<SKVersion>1.17.1</SKVersion>
</PropertyGroup>
</Project>
7 changes: 0 additions & 7 deletions src/GraphRag.Net/Domain/Model/Constant/SystemConstant.cs

This file was deleted.

2 changes: 1 addition & 1 deletion src/GraphRag.Net/Domain/Service/GraphService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ public async Task InsertGraphDataAsync(string index, string input)
_nodes_Repositories.Update(oldNode);
text2 = $"Name:{oldNode.Name};Type:{oldNode.Type};Desc:{oldNode.Desc}";
nodeDic.Add(n.Id, oldNode.Id);
await textMemory.SaveInformationAsync(SystemConstant.NodeIndex, id: oldNode.Id, text: text2, cancellationToken: default);
await textMemory.SaveInformationAsync(index, id: oldNode.Id, text: text2, cancellationToken: default);
continue;
}

Expand Down

0 comments on commit 6eb6227

Please sign in to comment.