File tree Expand file tree Collapse file tree 2 files changed +16
-1
lines changed
src/GraphRag.Net/Domain/Interface Expand file tree Collapse file tree 2 files changed +16
-1
lines changed Original file line number Diff line number Diff line change 1
1
<Project >
2
2
<!-- See https://aka.ms/dotnet/msbuild/customize for more details on customizing your build -->
3
3
<PropertyGroup >
4
- <Version >0.1.11 </Version >
4
+ <Version >0.1.12 </Version >
5
5
<SKVersion >1.17.1</SKVersion >
6
6
</PropertyGroup >
7
7
</Project >
Original file line number Diff line number Diff line change 1
1
using GraphRag . Net . Domain . Model . Graph ;
2
+ using Microsoft . SemanticKernel ;
2
3
3
4
namespace GraphRag . Net . Domain . Interface
4
5
{
@@ -37,13 +38,27 @@ public interface IGraphService
37
38
/// <returns></returns>
38
39
Task < string > SearchGraphAsync ( string index , string input ) ;
39
40
/// <summary>
41
+ /// 搜索递归获取节点相关的所有边和节点进行图谱对话,流式返回
42
+ /// </summary>
43
+ /// <param name="index"></param>
44
+ /// <param name="input"></param>
45
+ /// <returns></returns>
46
+ IAsyncEnumerable < StreamingKernelContent > SearchGraphStreamAsync ( string index , string input ) ;
47
+ /// <summary>
40
48
/// 通过社区算法检索社区节点进行对话
41
49
/// </summary>
42
50
/// <param name="index"></param>
43
51
/// <param name="input"></param>
44
52
/// <returns></returns>
45
53
Task < string > SearchGraphCommunityAsync ( string index , string input ) ;
46
54
/// <summary>
55
+ /// 通过社区算法检索社区节点进行对话,流式返回
56
+ /// </summary>
57
+ /// <param name="index"></param>
58
+ /// <param name="input"></param>
59
+ /// <returns></returns>
60
+ IAsyncEnumerable < StreamingKernelContent > SearchGraphCommunityStreamAsync ( string index , string input ) ;
61
+ /// <summary>
47
62
/// 社区摘要
48
63
/// </summary>
49
64
/// <param name="index"></param>
You can’t perform that action at this time.
0 commit comments