Skip to content

Commit 57b2da7

Browse files
authored
fix(kb): add from bytes (#187)
1 parent faab412 commit 57b2da7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

veadk/knowledgebase/backends/vikingdb_knowledge_backend.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@ def add_from_bytes(self, content: bytes, file_name: str, **kwargs) -> bool:
195195
- tos_bucket_path: str, the path of TOS bucket
196196
"""
197197
tos_bucket_name, tos_bucket_path = _extract_tos_attributes(**kwargs)
198-
tos_url = _upload_bytes_to_tos(
198+
tos_url = self._upload_bytes_to_tos(
199199
content,
200200
tos_bucket_name=tos_bucket_name,
201201
object_key=f"{tos_bucket_path}/{file_name}",

0 commit comments

Comments
 (0)