├── .env.example ├── .gitignore ├── README.md ├── backend ├── api │ ├── api.py │ ├── dependencies.py │ ├── healthchecker.py │ ├── routers │ │ ├── __init__.py │ │ ├── auth.py │ │ └── documents.py │ └── utils.py ├── dockerfile ├── domain │ ├── auth │ │ └── model.py │ ├── document │ │ └── model.py │ └── exceptions.py ├── infrastructure │ └── postgres │ │ ├── alembic.ini │ │ ├── alembic │ │ ├── README │ │ ├── env.py │ │ ├── script.py.mako │ │ └── versions │ │ │ ├── 2025_01_24-113341de12cd_init.py │ │ │ └── 2025_01_25-fd2bf9ac8821_change_user.py │ │ ├── database.py │ │ ├── models │ │ ├── __init__.py │ │ ├── document.py │ │ └── user.py │ │ └── service │ │ └── auth │ │ └── repo.py ├── requirements.txt └── settings.py ├── docker-compose.yml ├── example_images ├── architecture.png ├── cv_md.gif ├── example_work.gif └── photo_2023-11-18_20-53-46-3.jpg ├── frontend ├── app.py ├── dockerfile ├── healthchecker.py ├── requirements.txt ├── settings.py └── templates │ ├── assets │ ├── animatecss │ │ └── animate.css │ ├── bootstrap │ │ ├── css │ │ │ ├── bootstrap-grid.min.css │ │ │ ├── bootstrap-reboot.min.css │ │ │ └── bootstrap.min.css │ │ └── js │ │ │ └── bootstrap.bundle.min.js │ ├── formoid │ │ └── formoid.min.js │ ├── images │ │ ├── 25231-512x512.png │ │ ├── ds_logo.png │ │ ├── ds_logo_book.png │ │ ├── hashes.json │ │ ├── logo-1.webp │ │ ├── logo.webp │ │ ├── logo5.png │ │ ├── mbr-1-179x179.png │ │ ├── mbr-1-1920x1143.png │ │ ├── mbr-179x179.png │ │ └── mbr-2-179x194.png │ ├── mobirise │ │ └── css │ │ │ └── mbr-additional.css │ ├── project.mobirise │ ├── smoothscroll │ │ └── smooth-scroll.js │ ├── socicon │ │ ├── css │ │ │ └── styles.css │ │ └── fonts │ │ │ ├── socicon.eot │ │ │ ├── socicon.svg │ │ │ ├── socicon.ttf │ │ │ ├── socicon.woff │ │ │ └── socicon.woff2 │ ├── theme │ │ ├── css │ │ │ └── style.css │ │ └── js │ │ │ └── script.js │ ├── web │ │ └── assets │ │ │ └── mobirise-icons │ │ │ ├── mobirise-icons.css │ │ │ ├── mobirise-icons.eot │ │ │ ├── mobirise-icons.svg │ │ │ ├── mobirise-icons.ttf │ │ │ └── mobirise-icons.woff │ └── ytplayer │ │ └── index.js │ ├── dashboard.html │ ├── home.html │ ├── index.html │ ├── login.html │ └── signup.html ├── neural_worker ├── celery_services.py ├── config.py ├── dockerfile ├── infrastructure │ └── postgres │ │ ├── database.py │ │ └── models │ │ ├── __init__.py │ │ └── document.py ├── requirements.txt ├── settings.py └── utils.py ├── rabbit_conf └── rabbitmq.conf └── streamlit ├── config.py ├── dockerfile ├── requirements.txt ├── static └── lottie_5.json └── ui.py /.env.example: -------------------------------------------------------------------------------- 1 | # Neural worker 2 | NW_CONCURRENCY_COUNT=2 3 | NW_OPENAI_KEY="" 4 | NW_BASE_OPENAI_URL="" 5 | NW_MODEL_NAME=gpt-4o 6 | 7 | 8 | # Postgres config 9 | POSTGRES_USER=sus 10 | POSTGRES_PASSWORD=sus 11 | POSTGRES_HOST=postgres 12 | POSTGRES_PORT=5432 13 | POSTGRES_DB=sus 14 | 15 | # Redis config 16 | REDIS_HOST=redis 17 | REDIS_PORT=6379 18 | REDIS_BACKEND_DB = 0 19 | REDIS_CELERY_DB = 1 20 | 21 | # RabbitMQ 22 | RABBITMQ_HOST=rabbitmq 23 | RABBITMQ_AMQP_PORT=5672 24 | RABBITMQ_CONSOLE_PORT=15672 25 | RABBITMQ_ERLANG_COOKIE=erlang 26 | RABBITMQ_LOGIN=admin 27 | RABBITMQ_PASSWORD=admin 28 | 29 | # MinIO config 30 | MINIO_HOST=minio 31 | MINIO_BUCKET=documents 32 | MINIO_API_PORT=9000 33 | MINIO_CONSOLE_PORT=9090 34 | MINIO_ROOT_USER=admin 35 | MINIO_ROOT_PASSWORD=admin_password 36 | 37 | # Backend App config 38 | API_HOST=backend 39 | API_PORT=8080 40 | API_JWT_SECRET= 41 | API_JWT_ALGORITHM=HS256 42 | API_JWT_EXPIRES_H=48 43 | API_HC_TIMEOUT=30 44 | API_HC_SLEEP=5 45 | API_COOKIE_NAME=ds_auth 46 | 47 | # Frontend App config 48 | FRONT_PORT=5020 49 | 50 | # Flower config 51 | FLOWER_PORT=5555 -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | .DS_Store 2 | 3 | .vscode 4 | 5 | __pycache__ 6 | 7 | venv/ 8 | venv_demo/ 9 | test/ 10 | tests/ 11 | training_data/ 12 | trained_weights/ 13 | training_pipeline/ 14 | data_utils/ 15 | rabbitmq-data/ 16 | pgdata/ 17 | minio_config/ 18 | minio_data/ 19 | 20 | .env 21 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 |
2 | 3 | 4 |
12 | Convert any file into it's MarkDown source
13 |
14 |
Don't have an account yet? Sign up
198 |Already have an account? Log in
200 |