mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-04-26 09:16:22 +02:00
feat: made agent file sytem optimized
This commit is contained in:
parent
ee0b59c0fa
commit
2cc2d339e6
67 changed files with 8011 additions and 5591 deletions
|
|
@ -13,7 +13,9 @@ def compute_identifier_hash(
|
|||
|
||||
def compute_unique_identifier_hash(doc: ConnectorDocument) -> str:
|
||||
"""Return a stable SHA-256 hash identifying a document by its source identity."""
|
||||
return compute_identifier_hash(doc.document_type.value, doc.unique_id, doc.search_space_id)
|
||||
return compute_identifier_hash(
|
||||
doc.document_type.value, doc.unique_id, doc.search_space_id
|
||||
)
|
||||
|
||||
|
||||
def compute_content_hash(doc: ConnectorDocument) -> str:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue