├── .env.example ├── .gitignore ├── Dockerfile ├── README.md ├── chunks ├── __init__.py └── text_processor.py ├── database ├── __init__.py ├── db.py └── delete_tables.py ├── main.py ├── main_ensemble.py ├── parsers ├── __init__.py └── file_parser.py ├── requirements.txt ├── sources ├── 2402.01817v3 (1).pdf ├── obama-ocr.pdf ├── obama.pdf ├── obama.txt └── sicpjs.pdf └── tests ├── test_api.sh ├── test_db.py └── test_file_parsers.py /.env.example: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fsndzomga/rag_nebius_postgresql/HEAD/.env.example -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fsndzomga/rag_nebius_postgresql/HEAD/.gitignore -------------------------------------------------------------------------------- /Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fsndzomga/rag_nebius_postgresql/HEAD/Dockerfile -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fsndzomga/rag_nebius_postgresql/HEAD/README.md -------------------------------------------------------------------------------- /chunks/__init__.py: -------------------------------------------------------------------------------- 1 | from chunks.text_processor import * # noqa: F403 2 | -------------------------------------------------------------------------------- /chunks/text_processor.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fsndzomga/rag_nebius_postgresql/HEAD/chunks/text_processor.py -------------------------------------------------------------------------------- /database/__init__.py: -------------------------------------------------------------------------------- 1 | from database.db import * # noqa: F403 2 | -------------------------------------------------------------------------------- /database/db.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fsndzomga/rag_nebius_postgresql/HEAD/database/db.py -------------------------------------------------------------------------------- /database/delete_tables.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fsndzomga/rag_nebius_postgresql/HEAD/database/delete_tables.py -------------------------------------------------------------------------------- /main.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fsndzomga/rag_nebius_postgresql/HEAD/main.py -------------------------------------------------------------------------------- /main_ensemble.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fsndzomga/rag_nebius_postgresql/HEAD/main_ensemble.py -------------------------------------------------------------------------------- /parsers/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fsndzomga/rag_nebius_postgresql/HEAD/parsers/__init__.py -------------------------------------------------------------------------------- /parsers/file_parser.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fsndzomga/rag_nebius_postgresql/HEAD/parsers/file_parser.py -------------------------------------------------------------------------------- /requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fsndzomga/rag_nebius_postgresql/HEAD/requirements.txt -------------------------------------------------------------------------------- /sources/2402.01817v3 (1).pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fsndzomga/rag_nebius_postgresql/HEAD/sources/2402.01817v3 (1).pdf -------------------------------------------------------------------------------- /sources/obama-ocr.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fsndzomga/rag_nebius_postgresql/HEAD/sources/obama-ocr.pdf -------------------------------------------------------------------------------- /sources/obama.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fsndzomga/rag_nebius_postgresql/HEAD/sources/obama.pdf -------------------------------------------------------------------------------- /sources/obama.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fsndzomga/rag_nebius_postgresql/HEAD/sources/obama.txt -------------------------------------------------------------------------------- /sources/sicpjs.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fsndzomga/rag_nebius_postgresql/HEAD/sources/sicpjs.pdf -------------------------------------------------------------------------------- /tests/test_api.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fsndzomga/rag_nebius_postgresql/HEAD/tests/test_api.sh -------------------------------------------------------------------------------- /tests/test_db.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fsndzomga/rag_nebius_postgresql/HEAD/tests/test_db.py -------------------------------------------------------------------------------- /tests/test_file_parsers.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fsndzomga/rag_nebius_postgresql/HEAD/tests/test_file_parsers.py --------------------------------------------------------------------------------