v1 file connector with metadata (#4552)

This commit is contained in:
evan-danswer
2025-04-17 16:02:34 -07:00
committed by GitHub
parent 04ebde7838
commit 953a4e3793
15 changed files with 101 additions and 72 deletions

View File

@ -160,7 +160,7 @@ def create_connector(env_name: str, file_paths: list[str]) -> int:
name=connector_name,
source=DocumentSource.FILE,
input_type=InputType.LOAD_STATE,
connector_specific_config={"file_locations": file_paths},
connector_specific_config={"file_locations": file_paths, "zip_metadata": {}},
refresh_freq=None,
prune_freq=None,
indexing_start=None,