viboognesh commited on
Commit
da07179
·
verified ·
1 Parent(s): b33a9f5

Upload folder using huggingface_hub

Browse files
app.py CHANGED
@@ -179,7 +179,7 @@ def retrieve_and_query(query, retriever_engine):
179
  retrieved_image_path_list.append(node.metadata['file_path'])
180
 
181
  return response, retrieved_image_path_list
182
- #tmpnimvp35m , tmpnimvp35m
183
  def process_pdf(pdf_file):
184
  temp_dir = tempfile.TemporaryDirectory()
185
  unique_folder_name = temp_dir.name.split('/')[-1]
@@ -234,7 +234,7 @@ def main():
234
 
235
  with st.spinner("Retrieving information..."):
236
  response, retrieved_image_path_list = retrieve_and_query(query, st.session_state.retriever_engine)
237
-
238
  st.write("Retrieved Context:")
239
  for node in response.source_nodes:
240
  st.code(node.node.get_text())
 
179
  retrieved_image_path_list.append(node.metadata['file_path'])
180
 
181
  return response, retrieved_image_path_list
182
+ #tmpnimvp35m , tmpnimvp35m , tmpydpissmv
183
  def process_pdf(pdf_file):
184
  temp_dir = tempfile.TemporaryDirectory()
185
  unique_folder_name = temp_dir.name.split('/')[-1]
 
234
 
235
  with st.spinner("Retrieving information..."):
236
  response, retrieved_image_path_list = retrieve_and_query(query, st.session_state.retriever_engine)
237
+ print(retrieved_image_path_list)
238
  st.write("Retrieved Context:")
239
  for node in response.source_nodes:
240
  st.code(node.node.get_text())
qdrant_mm_db_pipeline_tmp0uzyg0nb_construction_pdf/.lock ADDED
@@ -0,0 +1 @@
 
 
1
+ tmp lock file
qdrant_mm_db_pipeline_tmp0uzyg0nb_construction_pdf/collection/image_collection_pipeline_tmp0uzyg0nb_construction_pdf/storage.sqlite ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:716020e47d41d39ea7e3e302ac0687b1a62e2b94991bc700fb5bcbaf6722380f
3
+ size 1585152
qdrant_mm_db_pipeline_tmp0uzyg0nb_construction_pdf/collection/text_collection_pipeline_tmp0uzyg0nb_construction_pdf/storage.sqlite ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c077e65278dfde8d472135f12860bf39fedcf018d44a00d54fc04b2f4eb6afb0
3
+ size 2998272
qdrant_mm_db_pipeline_tmp0uzyg0nb_construction_pdf/meta.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"collections": {"text_collection_pipeline_tmp0uzyg0nb_construction_pdf": {"vectors": {"size": 1536, "distance": "Cosine", "hnsw_config": null, "quantization_config": null, "on_disk": null, "datatype": null, "multivector_config": null}, "shard_number": null, "sharding_method": null, "replication_factor": null, "write_consistency_factor": null, "on_disk_payload": null, "hnsw_config": null, "wal_config": null, "optimizers_config": null, "init_from": null, "quantization_config": null, "sparse_vectors": null}, "image_collection_pipeline_tmp0uzyg0nb_construction_pdf": {"vectors": {"size": 512, "distance": "Cosine", "hnsw_config": null, "quantization_config": null, "on_disk": null, "datatype": null, "multivector_config": null}, "shard_number": null, "sharding_method": null, "replication_factor": null, "write_consistency_factor": null, "on_disk_payload": null, "hnsw_config": null, "wal_config": null, "optimizers_config": null, "init_from": null, "quantization_config": null, "sparse_vectors": null}}, "aliases": {}}