We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8c34893 commit a7a7811Copy full SHA for a7a7811
packages/dbgpt-core/src/dbgpt/storage/base.py
@@ -55,11 +55,14 @@ def load_document(self, chunks: List[Chunk]) -> List[str]:
55
"""
56
57
@abstractmethod
58
- async def aload_document(self, chunks: List[Chunk]) -> List[str]:
+ async def aload_document(
59
+ self, chunks: List[Chunk], file_id: Optional[str] = None
60
+ ) -> List[str]:
61
"""Load document in index database.
62
63
Args:
64
chunks(List[Chunk]): document chunks.
65
+ file_id(Optional[str]): file id for document-level tracking.
66
67
Return:
68
List[str]: chunk ids.
0 commit comments