FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Fix updated EmbJSON path handling by xiaolu-ai26 · Pull Request #4 · onenodehq/onenode · GitHub

Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension .py  (2) All 1 file type selected
Viewed files
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Unified
Split
Hide whitespace
Diff view
Unified
Split
Hide whitespace
    • helper.py
    • services.py
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Original file line number Diff line number Diff line change
Expand Up @@ -253,6 +253,7 @@ def process_update(
db_name,
collection_name,
doc_ids,
parent_path=path,
request_files=request_files,
doc_index=doc_index,
)
Expand All @@ -276,6 +277,7 @@ def delete_overwritten_pc_vectors(
updated_paths: list[str],
project_id: str,
db_name: str,
collection_name: str,
):
# Delete all previous vectors that have the same paths that are being updated in this operation
delete_id_prefixes: list[str] = []
Expand All @@ -284,6 +286,7 @@ def delete_overwritten_pc_vectors(
delete_id_prefix = generate_pc_id_prefix(
project_id,
db_name,
collection_name,
doc_id,
path,
)
Expand Down
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,7 @@ def update_docs_service(
updated_paths,
project_id,
db_name,
collection_name,
)

delete_overwritten_s3_images(
Expand Down

Back | FazBrowse Home | New Git URL