├── .dockerignore ├── .env.sample ├── .github └── workflows │ └── django.yml ├── .gitignore ├── .pre-commit-config.yaml ├── Dockerfile ├── LICENSE.md ├── README.md ├── core ├── __init__.py ├── asgi.py ├── base │ ├── factory.py │ └── models.py ├── celery.py ├── settings.py ├── urls.py ├── utils.py └── wsgi.py ├── datastore ├── __init__.py ├── admin.py ├── apps.py ├── factories.py ├── migrations │ ├── 0001_initial.py │ ├── 0002_folder_cron_config_folder_last_sync_and_more.py │ ├── 0003_document_source_created_at_and_more.py │ ├── 0004_alter_document_source_created_at_and_more.py │ ├── 0005_auto_20240229_0521.py │ ├── 0006_document_chunk_overlap_document_chunk_size_and_more.py │ ├── 0007_alter_documentchunk_embedding.py │ ├── 0008_folder_sync_interval.py │ ├── 0009_alter_folder_cron_config.py │ └── __init__.py ├── models │ ├── __init__.py │ ├── config.py │ ├── document.py │ └── folder.py ├── services │ ├── __init__.py │ ├── reader │ │ ├── __init__.py │ │ └── google_drive │ │ │ ├── __init__.py │ │ │ └── reader.py │ └── syncer │ │ ├── __init__.py │ │ ├── base.py │ │ ├── factory.py │ │ └── folder │ │ ├── __init__.py │ │ ├── builder.py │ │ ├── loader.py │ │ └── syncer.py ├── tasks.py ├── tests │ ├── __init__.py │ ├── fixtures │ │ └── datastore.json │ └── tests.py └── views.py ├── docker-compose.yaml ├── llamaindex.svg ├── main ├── __init__.py ├── admin.py ├── apps.py ├── management │ ├── __init__.py │ └── commands │ │ ├── __init__.py │ │ ├── check_api.py │ │ └── seeder.py ├── migrations │ └── __init__.py ├── models.py ├── tests.py └── views.py ├── manage.py ├── nset.svg ├── pyproject.toml ├── rag ├── __init__.py ├── admin.py ├── apps.py ├── migrations │ ├── 0001_initial.py │ └── __init__.py ├── models.py ├── serializers.py ├── tests.py ├── urls.py └── views.py ├── requirements.txt ├── scripts └── gdrive_llamaindex_example.py ├── uac ├── __init__.py ├── admin.py ├── apps.py ├── migrations │ ├── 0001_initial.py │ └── __init__.py ├── models.py ├── permissions.py ├── tests.py └── views.py ├── wait_for_postgres.sh └── watch_tut_video.gif /.dockerignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ammirsm/llamaindex-omakase-rag/HEAD/.dockerignore -------------------------------------------------------------------------------- /.env.sample: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ammirsm/llamaindex-omakase-rag/HEAD/.env.sample -------------------------------------------------------------------------------- /.github/workflows/django.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ammirsm/llamaindex-omakase-rag/HEAD/.github/workflows/django.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ammirsm/llamaindex-omakase-rag/HEAD/.gitignore -------------------------------------------------------------------------------- /.pre-commit-config.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ammirsm/llamaindex-omakase-rag/HEAD/.pre-commit-config.yaml -------------------------------------------------------------------------------- /Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ammirsm/llamaindex-omakase-rag/HEAD/Dockerfile -------------------------------------------------------------------------------- /LICENSE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ammirsm/llamaindex-omakase-rag/HEAD/LICENSE.md -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ammirsm/llamaindex-omakase-rag/HEAD/README.md -------------------------------------------------------------------------------- /core/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ammirsm/llamaindex-omakase-rag/HEAD/core/__init__.py -------------------------------------------------------------------------------- /core/asgi.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ammirsm/llamaindex-omakase-rag/HEAD/core/asgi.py -------------------------------------------------------------------------------- /core/base/factory.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ammirsm/llamaindex-omakase-rag/HEAD/core/base/factory.py -------------------------------------------------------------------------------- /core/base/models.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ammirsm/llamaindex-omakase-rag/HEAD/core/base/models.py -------------------------------------------------------------------------------- /core/celery.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ammirsm/llamaindex-omakase-rag/HEAD/core/celery.py -------------------------------------------------------------------------------- /core/settings.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ammirsm/llamaindex-omakase-rag/HEAD/core/settings.py -------------------------------------------------------------------------------- /core/urls.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ammirsm/llamaindex-omakase-rag/HEAD/core/urls.py -------------------------------------------------------------------------------- /core/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ammirsm/llamaindex-omakase-rag/HEAD/core/utils.py -------------------------------------------------------------------------------- /core/wsgi.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ammirsm/llamaindex-omakase-rag/HEAD/core/wsgi.py -------------------------------------------------------------------------------- /datastore/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /datastore/admin.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ammirsm/llamaindex-omakase-rag/HEAD/datastore/admin.py -------------------------------------------------------------------------------- /datastore/apps.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ammirsm/llamaindex-omakase-rag/HEAD/datastore/apps.py -------------------------------------------------------------------------------- /datastore/factories.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ammirsm/llamaindex-omakase-rag/HEAD/datastore/factories.py -------------------------------------------------------------------------------- /datastore/migrations/0001_initial.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ammirsm/llamaindex-omakase-rag/HEAD/datastore/migrations/0001_initial.py -------------------------------------------------------------------------------- /datastore/migrations/0002_folder_cron_config_folder_last_sync_and_more.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ammirsm/llamaindex-omakase-rag/HEAD/datastore/migrations/0002_folder_cron_config_folder_last_sync_and_more.py -------------------------------------------------------------------------------- /datastore/migrations/0003_document_source_created_at_and_more.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ammirsm/llamaindex-omakase-rag/HEAD/datastore/migrations/0003_document_source_created_at_and_more.py -------------------------------------------------------------------------------- /datastore/migrations/0004_alter_document_source_created_at_and_more.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ammirsm/llamaindex-omakase-rag/HEAD/datastore/migrations/0004_alter_document_source_created_at_and_more.py -------------------------------------------------------------------------------- /datastore/migrations/0005_auto_20240229_0521.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ammirsm/llamaindex-omakase-rag/HEAD/datastore/migrations/0005_auto_20240229_0521.py -------------------------------------------------------------------------------- /datastore/migrations/0006_document_chunk_overlap_document_chunk_size_and_more.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ammirsm/llamaindex-omakase-rag/HEAD/datastore/migrations/0006_document_chunk_overlap_document_chunk_size_and_more.py -------------------------------------------------------------------------------- /datastore/migrations/0007_alter_documentchunk_embedding.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ammirsm/llamaindex-omakase-rag/HEAD/datastore/migrations/0007_alter_documentchunk_embedding.py -------------------------------------------------------------------------------- /datastore/migrations/0008_folder_sync_interval.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ammirsm/llamaindex-omakase-rag/HEAD/datastore/migrations/0008_folder_sync_interval.py -------------------------------------------------------------------------------- /datastore/migrations/0009_alter_folder_cron_config.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ammirsm/llamaindex-omakase-rag/HEAD/datastore/migrations/0009_alter_folder_cron_config.py -------------------------------------------------------------------------------- /datastore/migrations/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /datastore/models/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ammirsm/llamaindex-omakase-rag/HEAD/datastore/models/__init__.py -------------------------------------------------------------------------------- /datastore/models/config.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ammirsm/llamaindex-omakase-rag/HEAD/datastore/models/config.py -------------------------------------------------------------------------------- /datastore/models/document.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ammirsm/llamaindex-omakase-rag/HEAD/datastore/models/document.py -------------------------------------------------------------------------------- /datastore/models/folder.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ammirsm/llamaindex-omakase-rag/HEAD/datastore/models/folder.py -------------------------------------------------------------------------------- /datastore/services/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ammirsm/llamaindex-omakase-rag/HEAD/datastore/services/__init__.py -------------------------------------------------------------------------------- /datastore/services/reader/__init__.py: -------------------------------------------------------------------------------- 1 | from .google_drive import * 2 | -------------------------------------------------------------------------------- /datastore/services/reader/google_drive/__init__.py: -------------------------------------------------------------------------------- 1 | from .reader import * 2 | -------------------------------------------------------------------------------- /datastore/services/reader/google_drive/reader.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ammirsm/llamaindex-omakase-rag/HEAD/datastore/services/reader/google_drive/reader.py -------------------------------------------------------------------------------- /datastore/services/syncer/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ammirsm/llamaindex-omakase-rag/HEAD/datastore/services/syncer/__init__.py -------------------------------------------------------------------------------- /datastore/services/syncer/base.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ammirsm/llamaindex-omakase-rag/HEAD/datastore/services/syncer/base.py -------------------------------------------------------------------------------- /datastore/services/syncer/factory.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ammirsm/llamaindex-omakase-rag/HEAD/datastore/services/syncer/factory.py -------------------------------------------------------------------------------- /datastore/services/syncer/folder/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ammirsm/llamaindex-omakase-rag/HEAD/datastore/services/syncer/folder/__init__.py -------------------------------------------------------------------------------- /datastore/services/syncer/folder/builder.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ammirsm/llamaindex-omakase-rag/HEAD/datastore/services/syncer/folder/builder.py -------------------------------------------------------------------------------- /datastore/services/syncer/folder/loader.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ammirsm/llamaindex-omakase-rag/HEAD/datastore/services/syncer/folder/loader.py -------------------------------------------------------------------------------- /datastore/services/syncer/folder/syncer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ammirsm/llamaindex-omakase-rag/HEAD/datastore/services/syncer/folder/syncer.py -------------------------------------------------------------------------------- /datastore/tasks.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ammirsm/llamaindex-omakase-rag/HEAD/datastore/tasks.py -------------------------------------------------------------------------------- /datastore/tests/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /datastore/tests/fixtures/datastore.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ammirsm/llamaindex-omakase-rag/HEAD/datastore/tests/fixtures/datastore.json -------------------------------------------------------------------------------- /datastore/tests/tests.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ammirsm/llamaindex-omakase-rag/HEAD/datastore/tests/tests.py -------------------------------------------------------------------------------- /datastore/views.py: -------------------------------------------------------------------------------- 1 | # Create your views here. 2 | -------------------------------------------------------------------------------- /docker-compose.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ammirsm/llamaindex-omakase-rag/HEAD/docker-compose.yaml -------------------------------------------------------------------------------- /llamaindex.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ammirsm/llamaindex-omakase-rag/HEAD/llamaindex.svg -------------------------------------------------------------------------------- /main/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /main/admin.py: -------------------------------------------------------------------------------- 1 | # Register your models here. 2 | -------------------------------------------------------------------------------- /main/apps.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ammirsm/llamaindex-omakase-rag/HEAD/main/apps.py -------------------------------------------------------------------------------- /main/management/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /main/management/commands/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /main/management/commands/check_api.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ammirsm/llamaindex-omakase-rag/HEAD/main/management/commands/check_api.py -------------------------------------------------------------------------------- /main/management/commands/seeder.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ammirsm/llamaindex-omakase-rag/HEAD/main/management/commands/seeder.py -------------------------------------------------------------------------------- /main/migrations/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /main/models.py: -------------------------------------------------------------------------------- 1 | # Create your models here. 2 | -------------------------------------------------------------------------------- /main/tests.py: -------------------------------------------------------------------------------- 1 | # Create your tests here. 2 | -------------------------------------------------------------------------------- /main/views.py: -------------------------------------------------------------------------------- 1 | # Create your views here. 2 | -------------------------------------------------------------------------------- /manage.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ammirsm/llamaindex-omakase-rag/HEAD/manage.py -------------------------------------------------------------------------------- /nset.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ammirsm/llamaindex-omakase-rag/HEAD/nset.svg -------------------------------------------------------------------------------- /pyproject.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ammirsm/llamaindex-omakase-rag/HEAD/pyproject.toml -------------------------------------------------------------------------------- /rag/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /rag/admin.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ammirsm/llamaindex-omakase-rag/HEAD/rag/admin.py -------------------------------------------------------------------------------- /rag/apps.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ammirsm/llamaindex-omakase-rag/HEAD/rag/apps.py -------------------------------------------------------------------------------- /rag/migrations/0001_initial.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ammirsm/llamaindex-omakase-rag/HEAD/rag/migrations/0001_initial.py -------------------------------------------------------------------------------- /rag/migrations/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /rag/models.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ammirsm/llamaindex-omakase-rag/HEAD/rag/models.py -------------------------------------------------------------------------------- /rag/serializers.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ammirsm/llamaindex-omakase-rag/HEAD/rag/serializers.py -------------------------------------------------------------------------------- /rag/tests.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ammirsm/llamaindex-omakase-rag/HEAD/rag/tests.py -------------------------------------------------------------------------------- /rag/urls.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ammirsm/llamaindex-omakase-rag/HEAD/rag/urls.py -------------------------------------------------------------------------------- /rag/views.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ammirsm/llamaindex-omakase-rag/HEAD/rag/views.py -------------------------------------------------------------------------------- /requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ammirsm/llamaindex-omakase-rag/HEAD/requirements.txt -------------------------------------------------------------------------------- /scripts/gdrive_llamaindex_example.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ammirsm/llamaindex-omakase-rag/HEAD/scripts/gdrive_llamaindex_example.py -------------------------------------------------------------------------------- /uac/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /uac/admin.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ammirsm/llamaindex-omakase-rag/HEAD/uac/admin.py -------------------------------------------------------------------------------- /uac/apps.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ammirsm/llamaindex-omakase-rag/HEAD/uac/apps.py -------------------------------------------------------------------------------- /uac/migrations/0001_initial.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ammirsm/llamaindex-omakase-rag/HEAD/uac/migrations/0001_initial.py -------------------------------------------------------------------------------- /uac/migrations/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /uac/models.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ammirsm/llamaindex-omakase-rag/HEAD/uac/models.py -------------------------------------------------------------------------------- /uac/permissions.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ammirsm/llamaindex-omakase-rag/HEAD/uac/permissions.py -------------------------------------------------------------------------------- /uac/tests.py: -------------------------------------------------------------------------------- 1 | # Create your tests here. 2 | -------------------------------------------------------------------------------- /uac/views.py: -------------------------------------------------------------------------------- 1 | # Create your views here. 2 | -------------------------------------------------------------------------------- /wait_for_postgres.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ammirsm/llamaindex-omakase-rag/HEAD/wait_for_postgres.sh -------------------------------------------------------------------------------- /watch_tut_video.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ammirsm/llamaindex-omakase-rag/HEAD/watch_tut_video.gif --------------------------------------------------------------------------------