NoteScanner / backend /pipeline /__init__.py
github-actions[bot]
Deploy 041b90a from GitHub
9c56a9c
Raw History Blame Contribute Delete
533 Bytes
"""
The notes pipeline, built on LlamaIndex with Postgres (pgvector) as its store:
models.py the search model, the re-checking model and the language model
indexing.py text β†’ passages β†’ meaning fingerprints β†’ Postgres (with a keyword index)
retrieval.py question β†’ keyword + meaning search in each place β†’ re-check β†’ best passages
generation.py passages + question β†’ answer (or flashcards, quizzes, summaries)
Reading text out of PDFs and photos happens before this, in backend/ocr.py.
"""