Skip to content

Latest commit

 

History

History
15 lines (11 loc) · 898 Bytes

File metadata and controls

15 lines (11 loc) · 898 Bytes

Agent Instructions

This repository is a clean open-source extraction from one authoritative file:

VisoRAG_v8_Final (1).ipynb

Rules for coding agents:

  • Do not use excluded sibling files from the original workspace as source truth.
  • Do not reintroduce stale root files such as api_app.py, streamlit_app.py, visorag_core.py, old duplicate notebooks, or stale requirements.txt.
  • Keep package imports lazy; importing visorag must not load ColQwen2, Qwen2.5-VL, Qdrant, or CUDA state.
  • Preserve process_request(file_bytes, filename, query, document_type, query_type, top_k).
  • Preserve extraction flat JSON, factual/summary {"answer": "..."}, and error response contracts.
  • Keep GPU/model execution out of default CI; use mocks for unit tests and mark real model checks as gpu.
  • Never commit secrets, private documents, generated uploads, model weights, or cache artifacts.