Skip to content

Commit

Permalink
chore:wechat update (#2175)
Browse files Browse the repository at this point in the history
  • Loading branch information
Aries-ckt authored Dec 4, 2024
1 parent af2d042 commit a801a97
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
Binary file modified assets/wechat.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion dbgpt/storage/knowledge_graph/community_summary.py
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,6 @@ def get_config(self) -> BuiltinKnowledgeGraphConfig:

async def aload_document(self, chunks: List[Chunk]) -> List[str]:
"""Extract and persist graph from the document file."""

await self._aload_document_graph(chunks)
await self._aload_triplet_graph(chunks)
await self._community_store.build_communities(
Expand All @@ -197,6 +196,7 @@ async def aload_document(self, chunks: List[Chunk]) -> List[str]:

async def _aload_document_graph(self, chunks: List[Chunk]) -> None:
"""Load the knowledge graph from the chunks.
The chunks include the doc structure.
"""
if not self._document_graph_enabled:
Expand Down

0 comments on commit a801a97

Please sign in to comment.