chore:wechat update (#2175)

This commit is contained in:
Aries-ckt 2024-12-04 11:05:48 +08:00 committed by GitHub
parent af2d042aa7
commit a801a973bf
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 1 additions and 1 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 118 KiB

After

Width:  |  Height:  |  Size: 117 KiB

View File

@ -186,7 +186,6 @@ class CommunitySummaryKnowledgeGraph(BuiltinKnowledgeGraph):
async def aload_document(self, chunks: List[Chunk]) -> List[str]: async def aload_document(self, chunks: List[Chunk]) -> List[str]:
"""Extract and persist graph from the document file.""" """Extract and persist graph from the document file."""
await self._aload_document_graph(chunks) await self._aload_document_graph(chunks)
await self._aload_triplet_graph(chunks) await self._aload_triplet_graph(chunks)
await self._community_store.build_communities( await self._community_store.build_communities(
@ -197,6 +196,7 @@ class CommunitySummaryKnowledgeGraph(BuiltinKnowledgeGraph):
async def _aload_document_graph(self, chunks: List[Chunk]) -> None: async def _aload_document_graph(self, chunks: List[Chunk]) -> None:
"""Load the knowledge graph from the chunks. """Load the knowledge graph from the chunks.
The chunks include the doc structure. The chunks include the doc structure.
""" """
if not self._document_graph_enabled: if not self._document_graph_enabled: