Skip to content

Commit cd52e33

Browse files
authored
Update README.md
1 parent 6ea8bbf commit cd52e33

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

README.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,13 @@ kernelBuild.Services.AddKeyedSingleton("mock-embedding", new MockTextEmbeddingGe
8787
builder.Services.AddGraphRagNet(kernelBuild.Build());
8888
```
8989

90+
#### 此处需要注意,由于导入可能分多次导入,没有在导入时自动调用生成社区和全局信息,需要自己根据实际情况调用生成社区和全局信息
91+
92+
```
93+
await _graphService.GraphCommunitiesAsync(index);
94+
await _graphService.GraphGlobalAsync(index);
95+
```
96+
9097

9198
使用时注入 IGraphService 服务,以下为参考示例代码
9299
```

0 commit comments

Comments
 (0)