├── .dockerignore ├── .env.example ├── .gitignore ├── .idea ├── .gitignore ├── inspectionProfiles │ └── profiles_settings.xml ├── misc.xml ├── restai.iml └── vcs.xml ├── .vscode ├── launch.json └── settings.json ├── Dockerfile ├── LICENSE ├── Makefile ├── README.md ├── alembic.ini ├── checkpoints └── .gitkeep ├── database.py ├── docker-compose.yml ├── docs.py ├── docs ├── README.md ├── api.md ├── openapi.json └── swagger │ ├── favicon-16x16.png │ ├── favicon-32x32.png │ ├── index.css │ ├── index.html │ ├── oauth2-redirect.html │ ├── openapi.json │ ├── swagger-initializer.js │ ├── swagger-ui-bundle.js │ ├── swagger-ui-bundle.js.map │ ├── swagger-ui-es-bundle-core.js │ ├── swagger-ui-es-bundle-core.js.map │ ├── swagger-ui-es-bundle.js │ ├── swagger-ui-es-bundle.js.map │ ├── swagger-ui-standalone-preset.js │ ├── swagger-ui-standalone-preset.js.map │ ├── swagger-ui.css │ ├── swagger-ui.css.map │ ├── swagger-ui.js │ └── swagger-ui.js.map ├── download.py ├── embeddings └── .gitkeep ├── examples ├── php │ ├── Modem.php │ ├── Project.php │ └── main.php └── python │ ├── describe_video │ ├── main.py │ └── sample.mp4 │ └── image_categorization │ ├── images │ ├── pexels-fabio-campos-1756286.jpg │ ├── pexels-guilherme-rossi-1755683.jpg │ ├── pexels-josh-sorenson-1384901.jpg │ ├── pexels-khanh-le-666839.jpg │ └── pexels-micah-boerma-1008734.jpg │ └── main.py ├── generators ├── .gitkeep └── __init__.py ├── install_packages.sh ├── logs └── .gitkeep ├── main.py ├── migrate.py ├── migrations ├── env.py └── versions │ ├── 001_init.py │ ├── 002_add_project_options.py │ ├── 003_add_user_options.py │ └── 004_add_team_tables.py ├── models └── .gitkeep ├── modules ├── __init__.py └── loaders.py ├── print_schema.py ├── pyproject.toml ├── readme └── assets │ ├── agent1.png │ ├── agent2.png │ ├── avatar.png │ ├── flux1.png │ ├── home.png │ ├── inference.png │ ├── llava.png │ ├── projects.png │ ├── qwen_vl.png │ ├── rag.png │ ├── ragsql.jpg │ ├── restai-logo.png │ ├── restai_stateful.png │ ├── restai_stateless.png │ ├── rmbg2.png │ ├── router.png │ ├── vision_dalle.png │ ├── vision_sd.png │ └── vision_sd2.png ├── restai ├── __init__.py ├── audio │ ├── runner.py │ ├── worker_entry.py │ └── workers │ │ ├── crisperwhisper_beta.py │ │ ├── whisper3_large.py │ │ ├── whisper3_large_turbo.py │ │ ├── whisper3_lib.py │ │ └── whisperx.py ├── auth.py ├── brain.py ├── cache.py ├── chat.py ├── config.py ├── constants.py ├── database.py ├── document │ └── runner.py ├── embedding.py ├── eval.py ├── guard.py ├── helper.py ├── image │ ├── external │ │ ├── dalle3.py │ │ └── imagen3.py │ ├── runner.py │ ├── worker_entry.py │ └── workers │ │ ├── flux1.py │ │ ├── rmbg2.py │ │ ├── stablediffusion1_xl.py │ │ ├── stablediffusion1_xl_lightning.py │ │ ├── stablediffusion35_large_turbo.py │ │ ├── stablediffusion35_medium.py │ │ └── stablediffusion3_medium.py ├── llm.py ├── llms │ ├── ollamamultimodal.py │ └── tools │ │ ├── crawler.py │ │ ├── crawler2.py │ │ ├── duckduckgo.py │ │ ├── terminal.py │ │ └── wikipedia.py ├── loaders │ ├── excel.py │ └── url.py ├── main.py ├── mcp_server.py ├── models │ ├── databasemodels.py │ └── models.py ├── multiprocessing.py ├── oauth.py ├── project.py ├── projects │ ├── agent.py │ ├── base.py │ ├── inference.py │ ├── rag.py │ ├── ragsql.py │ ├── router.py │ └── vision.py ├── routers │ ├── __init__.py │ ├── audio.py │ ├── auth.py │ ├── embeddings.py │ ├── image.py │ ├── llms.py │ ├── projects.py │ ├── proxy.py │ ├── statistics.py │ ├── teams.py │ ├── tools.py │ └── users.py ├── tools.py ├── utils │ ├── crypto.py │ └── version.py └── vectordb │ ├── base.py │ ├── chromadb.py │ └── tools.py ├── sqlite2mysql.py ├── tests ├── __init__.py ├── test.json ├── test.txt ├── test2.txt ├── test_projects.py ├── test_restai.py └── test_users.py ├── tools ├── .gitkeep └── __init__.py ├── uv.lock └── worker_envs ├── envs ├── crisperwhisper.sh ├── sd.sh ├── whisper_lib.sh └── whisperx.sh └── install.sh /.dockerignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apocas/restai/HEAD/.dockerignore -------------------------------------------------------------------------------- /.env.example: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apocas/restai/HEAD/.env.example -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apocas/restai/HEAD/.gitignore -------------------------------------------------------------------------------- /.idea/.gitignore: -------------------------------------------------------------------------------- 1 | # Default ignored files 2 | /shelf/ 3 | /workspace.xml 4 | -------------------------------------------------------------------------------- /.idea/inspectionProfiles/profiles_settings.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apocas/restai/HEAD/.idea/inspectionProfiles/profiles_settings.xml -------------------------------------------------------------------------------- /.idea/misc.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apocas/restai/HEAD/.idea/misc.xml -------------------------------------------------------------------------------- /.idea/restai.iml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apocas/restai/HEAD/.idea/restai.iml -------------------------------------------------------------------------------- /.idea/vcs.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apocas/restai/HEAD/.idea/vcs.xml -------------------------------------------------------------------------------- /.vscode/launch.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apocas/restai/HEAD/.vscode/launch.json -------------------------------------------------------------------------------- /.vscode/settings.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apocas/restai/HEAD/.vscode/settings.json -------------------------------------------------------------------------------- /Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apocas/restai/HEAD/Dockerfile -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apocas/restai/HEAD/LICENSE -------------------------------------------------------------------------------- /Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apocas/restai/HEAD/Makefile -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apocas/restai/HEAD/README.md -------------------------------------------------------------------------------- /alembic.ini: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apocas/restai/HEAD/alembic.ini -------------------------------------------------------------------------------- /checkpoints/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /database.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apocas/restai/HEAD/database.py -------------------------------------------------------------------------------- /docker-compose.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apocas/restai/HEAD/docker-compose.yml -------------------------------------------------------------------------------- /docs.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apocas/restai/HEAD/docs.py -------------------------------------------------------------------------------- /docs/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apocas/restai/HEAD/docs/README.md -------------------------------------------------------------------------------- /docs/api.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apocas/restai/HEAD/docs/api.md -------------------------------------------------------------------------------- /docs/openapi.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apocas/restai/HEAD/docs/openapi.json -------------------------------------------------------------------------------- /docs/swagger/favicon-16x16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apocas/restai/HEAD/docs/swagger/favicon-16x16.png -------------------------------------------------------------------------------- /docs/swagger/favicon-32x32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apocas/restai/HEAD/docs/swagger/favicon-32x32.png -------------------------------------------------------------------------------- /docs/swagger/index.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apocas/restai/HEAD/docs/swagger/index.css -------------------------------------------------------------------------------- /docs/swagger/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apocas/restai/HEAD/docs/swagger/index.html -------------------------------------------------------------------------------- /docs/swagger/oauth2-redirect.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apocas/restai/HEAD/docs/swagger/oauth2-redirect.html -------------------------------------------------------------------------------- /docs/swagger/openapi.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apocas/restai/HEAD/docs/swagger/openapi.json -------------------------------------------------------------------------------- /docs/swagger/swagger-initializer.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apocas/restai/HEAD/docs/swagger/swagger-initializer.js -------------------------------------------------------------------------------- /docs/swagger/swagger-ui-bundle.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apocas/restai/HEAD/docs/swagger/swagger-ui-bundle.js -------------------------------------------------------------------------------- /docs/swagger/swagger-ui-bundle.js.map: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apocas/restai/HEAD/docs/swagger/swagger-ui-bundle.js.map -------------------------------------------------------------------------------- /docs/swagger/swagger-ui-es-bundle-core.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apocas/restai/HEAD/docs/swagger/swagger-ui-es-bundle-core.js -------------------------------------------------------------------------------- /docs/swagger/swagger-ui-es-bundle-core.js.map: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apocas/restai/HEAD/docs/swagger/swagger-ui-es-bundle-core.js.map -------------------------------------------------------------------------------- /docs/swagger/swagger-ui-es-bundle.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apocas/restai/HEAD/docs/swagger/swagger-ui-es-bundle.js -------------------------------------------------------------------------------- /docs/swagger/swagger-ui-es-bundle.js.map: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apocas/restai/HEAD/docs/swagger/swagger-ui-es-bundle.js.map -------------------------------------------------------------------------------- /docs/swagger/swagger-ui-standalone-preset.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apocas/restai/HEAD/docs/swagger/swagger-ui-standalone-preset.js -------------------------------------------------------------------------------- /docs/swagger/swagger-ui-standalone-preset.js.map: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apocas/restai/HEAD/docs/swagger/swagger-ui-standalone-preset.js.map -------------------------------------------------------------------------------- /docs/swagger/swagger-ui.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apocas/restai/HEAD/docs/swagger/swagger-ui.css -------------------------------------------------------------------------------- /docs/swagger/swagger-ui.css.map: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apocas/restai/HEAD/docs/swagger/swagger-ui.css.map -------------------------------------------------------------------------------- /docs/swagger/swagger-ui.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apocas/restai/HEAD/docs/swagger/swagger-ui.js -------------------------------------------------------------------------------- /docs/swagger/swagger-ui.js.map: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apocas/restai/HEAD/docs/swagger/swagger-ui.js.map -------------------------------------------------------------------------------- /download.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apocas/restai/HEAD/download.py -------------------------------------------------------------------------------- /embeddings/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /examples/php/Modem.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apocas/restai/HEAD/examples/php/Modem.php -------------------------------------------------------------------------------- /examples/php/Project.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apocas/restai/HEAD/examples/php/Project.php -------------------------------------------------------------------------------- /examples/php/main.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apocas/restai/HEAD/examples/php/main.php -------------------------------------------------------------------------------- /examples/python/describe_video/main.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apocas/restai/HEAD/examples/python/describe_video/main.py -------------------------------------------------------------------------------- /examples/python/describe_video/sample.mp4: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apocas/restai/HEAD/examples/python/describe_video/sample.mp4 -------------------------------------------------------------------------------- /examples/python/image_categorization/images/pexels-fabio-campos-1756286.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apocas/restai/HEAD/examples/python/image_categorization/images/pexels-fabio-campos-1756286.jpg -------------------------------------------------------------------------------- /examples/python/image_categorization/images/pexels-guilherme-rossi-1755683.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apocas/restai/HEAD/examples/python/image_categorization/images/pexels-guilherme-rossi-1755683.jpg -------------------------------------------------------------------------------- /examples/python/image_categorization/images/pexels-josh-sorenson-1384901.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apocas/restai/HEAD/examples/python/image_categorization/images/pexels-josh-sorenson-1384901.jpg -------------------------------------------------------------------------------- /examples/python/image_categorization/images/pexels-khanh-le-666839.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apocas/restai/HEAD/examples/python/image_categorization/images/pexels-khanh-le-666839.jpg -------------------------------------------------------------------------------- /examples/python/image_categorization/images/pexels-micah-boerma-1008734.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apocas/restai/HEAD/examples/python/image_categorization/images/pexels-micah-boerma-1008734.jpg -------------------------------------------------------------------------------- /examples/python/image_categorization/main.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apocas/restai/HEAD/examples/python/image_categorization/main.py -------------------------------------------------------------------------------- /generators/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /generators/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /install_packages.sh: -------------------------------------------------------------------------------- 1 | apt-get install ffmpeg python3-venv 2 | -------------------------------------------------------------------------------- /logs/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /main.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apocas/restai/HEAD/main.py -------------------------------------------------------------------------------- /migrate.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apocas/restai/HEAD/migrate.py -------------------------------------------------------------------------------- /migrations/env.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apocas/restai/HEAD/migrations/env.py -------------------------------------------------------------------------------- /migrations/versions/001_init.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apocas/restai/HEAD/migrations/versions/001_init.py -------------------------------------------------------------------------------- /migrations/versions/002_add_project_options.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apocas/restai/HEAD/migrations/versions/002_add_project_options.py -------------------------------------------------------------------------------- /migrations/versions/003_add_user_options.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apocas/restai/HEAD/migrations/versions/003_add_user_options.py -------------------------------------------------------------------------------- /migrations/versions/004_add_team_tables.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apocas/restai/HEAD/migrations/versions/004_add_team_tables.py -------------------------------------------------------------------------------- /models/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /modules/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /modules/loaders.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apocas/restai/HEAD/modules/loaders.py -------------------------------------------------------------------------------- /print_schema.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apocas/restai/HEAD/print_schema.py -------------------------------------------------------------------------------- /pyproject.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apocas/restai/HEAD/pyproject.toml -------------------------------------------------------------------------------- /readme/assets/agent1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apocas/restai/HEAD/readme/assets/agent1.png -------------------------------------------------------------------------------- /readme/assets/agent2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apocas/restai/HEAD/readme/assets/agent2.png -------------------------------------------------------------------------------- /readme/assets/avatar.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apocas/restai/HEAD/readme/assets/avatar.png -------------------------------------------------------------------------------- /readme/assets/flux1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apocas/restai/HEAD/readme/assets/flux1.png -------------------------------------------------------------------------------- /readme/assets/home.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apocas/restai/HEAD/readme/assets/home.png -------------------------------------------------------------------------------- /readme/assets/inference.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apocas/restai/HEAD/readme/assets/inference.png -------------------------------------------------------------------------------- /readme/assets/llava.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apocas/restai/HEAD/readme/assets/llava.png -------------------------------------------------------------------------------- /readme/assets/projects.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apocas/restai/HEAD/readme/assets/projects.png -------------------------------------------------------------------------------- /readme/assets/qwen_vl.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apocas/restai/HEAD/readme/assets/qwen_vl.png -------------------------------------------------------------------------------- /readme/assets/rag.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apocas/restai/HEAD/readme/assets/rag.png -------------------------------------------------------------------------------- /readme/assets/ragsql.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apocas/restai/HEAD/readme/assets/ragsql.jpg -------------------------------------------------------------------------------- /readme/assets/restai-logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apocas/restai/HEAD/readme/assets/restai-logo.png -------------------------------------------------------------------------------- /readme/assets/restai_stateful.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apocas/restai/HEAD/readme/assets/restai_stateful.png -------------------------------------------------------------------------------- /readme/assets/restai_stateless.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apocas/restai/HEAD/readme/assets/restai_stateless.png -------------------------------------------------------------------------------- /readme/assets/rmbg2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apocas/restai/HEAD/readme/assets/rmbg2.png -------------------------------------------------------------------------------- /readme/assets/router.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apocas/restai/HEAD/readme/assets/router.png -------------------------------------------------------------------------------- /readme/assets/vision_dalle.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apocas/restai/HEAD/readme/assets/vision_dalle.png -------------------------------------------------------------------------------- /readme/assets/vision_sd.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apocas/restai/HEAD/readme/assets/vision_sd.png -------------------------------------------------------------------------------- /readme/assets/vision_sd2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apocas/restai/HEAD/readme/assets/vision_sd2.png -------------------------------------------------------------------------------- /restai/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /restai/audio/runner.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apocas/restai/HEAD/restai/audio/runner.py -------------------------------------------------------------------------------- /restai/audio/worker_entry.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apocas/restai/HEAD/restai/audio/worker_entry.py -------------------------------------------------------------------------------- /restai/audio/workers/crisperwhisper_beta.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apocas/restai/HEAD/restai/audio/workers/crisperwhisper_beta.py -------------------------------------------------------------------------------- /restai/audio/workers/whisper3_large.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apocas/restai/HEAD/restai/audio/workers/whisper3_large.py -------------------------------------------------------------------------------- /restai/audio/workers/whisper3_large_turbo.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apocas/restai/HEAD/restai/audio/workers/whisper3_large_turbo.py -------------------------------------------------------------------------------- /restai/audio/workers/whisper3_lib.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apocas/restai/HEAD/restai/audio/workers/whisper3_lib.py -------------------------------------------------------------------------------- /restai/audio/workers/whisperx.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apocas/restai/HEAD/restai/audio/workers/whisperx.py -------------------------------------------------------------------------------- /restai/auth.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apocas/restai/HEAD/restai/auth.py -------------------------------------------------------------------------------- /restai/brain.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apocas/restai/HEAD/restai/brain.py -------------------------------------------------------------------------------- /restai/cache.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apocas/restai/HEAD/restai/cache.py -------------------------------------------------------------------------------- /restai/chat.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apocas/restai/HEAD/restai/chat.py -------------------------------------------------------------------------------- /restai/config.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apocas/restai/HEAD/restai/config.py -------------------------------------------------------------------------------- /restai/constants.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apocas/restai/HEAD/restai/constants.py -------------------------------------------------------------------------------- /restai/database.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apocas/restai/HEAD/restai/database.py -------------------------------------------------------------------------------- /restai/document/runner.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apocas/restai/HEAD/restai/document/runner.py -------------------------------------------------------------------------------- /restai/embedding.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apocas/restai/HEAD/restai/embedding.py -------------------------------------------------------------------------------- /restai/eval.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apocas/restai/HEAD/restai/eval.py -------------------------------------------------------------------------------- /restai/guard.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apocas/restai/HEAD/restai/guard.py -------------------------------------------------------------------------------- /restai/helper.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apocas/restai/HEAD/restai/helper.py -------------------------------------------------------------------------------- /restai/image/external/dalle3.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apocas/restai/HEAD/restai/image/external/dalle3.py -------------------------------------------------------------------------------- /restai/image/external/imagen3.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apocas/restai/HEAD/restai/image/external/imagen3.py -------------------------------------------------------------------------------- /restai/image/runner.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apocas/restai/HEAD/restai/image/runner.py -------------------------------------------------------------------------------- /restai/image/worker_entry.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apocas/restai/HEAD/restai/image/worker_entry.py -------------------------------------------------------------------------------- /restai/image/workers/flux1.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apocas/restai/HEAD/restai/image/workers/flux1.py -------------------------------------------------------------------------------- /restai/image/workers/rmbg2.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apocas/restai/HEAD/restai/image/workers/rmbg2.py -------------------------------------------------------------------------------- /restai/image/workers/stablediffusion1_xl.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apocas/restai/HEAD/restai/image/workers/stablediffusion1_xl.py -------------------------------------------------------------------------------- /restai/image/workers/stablediffusion1_xl_lightning.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apocas/restai/HEAD/restai/image/workers/stablediffusion1_xl_lightning.py -------------------------------------------------------------------------------- /restai/image/workers/stablediffusion35_large_turbo.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apocas/restai/HEAD/restai/image/workers/stablediffusion35_large_turbo.py -------------------------------------------------------------------------------- /restai/image/workers/stablediffusion35_medium.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apocas/restai/HEAD/restai/image/workers/stablediffusion35_medium.py -------------------------------------------------------------------------------- /restai/image/workers/stablediffusion3_medium.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apocas/restai/HEAD/restai/image/workers/stablediffusion3_medium.py -------------------------------------------------------------------------------- /restai/llm.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apocas/restai/HEAD/restai/llm.py -------------------------------------------------------------------------------- /restai/llms/ollamamultimodal.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apocas/restai/HEAD/restai/llms/ollamamultimodal.py -------------------------------------------------------------------------------- /restai/llms/tools/crawler.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apocas/restai/HEAD/restai/llms/tools/crawler.py -------------------------------------------------------------------------------- /restai/llms/tools/crawler2.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apocas/restai/HEAD/restai/llms/tools/crawler2.py -------------------------------------------------------------------------------- /restai/llms/tools/duckduckgo.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apocas/restai/HEAD/restai/llms/tools/duckduckgo.py -------------------------------------------------------------------------------- /restai/llms/tools/terminal.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apocas/restai/HEAD/restai/llms/tools/terminal.py -------------------------------------------------------------------------------- /restai/llms/tools/wikipedia.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apocas/restai/HEAD/restai/llms/tools/wikipedia.py -------------------------------------------------------------------------------- /restai/loaders/excel.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apocas/restai/HEAD/restai/loaders/excel.py -------------------------------------------------------------------------------- /restai/loaders/url.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apocas/restai/HEAD/restai/loaders/url.py -------------------------------------------------------------------------------- /restai/main.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apocas/restai/HEAD/restai/main.py -------------------------------------------------------------------------------- /restai/mcp_server.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apocas/restai/HEAD/restai/mcp_server.py -------------------------------------------------------------------------------- /restai/models/databasemodels.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apocas/restai/HEAD/restai/models/databasemodels.py -------------------------------------------------------------------------------- /restai/models/models.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apocas/restai/HEAD/restai/models/models.py -------------------------------------------------------------------------------- /restai/multiprocessing.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apocas/restai/HEAD/restai/multiprocessing.py -------------------------------------------------------------------------------- /restai/oauth.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apocas/restai/HEAD/restai/oauth.py -------------------------------------------------------------------------------- /restai/project.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apocas/restai/HEAD/restai/project.py -------------------------------------------------------------------------------- /restai/projects/agent.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apocas/restai/HEAD/restai/projects/agent.py -------------------------------------------------------------------------------- /restai/projects/base.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apocas/restai/HEAD/restai/projects/base.py -------------------------------------------------------------------------------- /restai/projects/inference.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apocas/restai/HEAD/restai/projects/inference.py -------------------------------------------------------------------------------- /restai/projects/rag.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apocas/restai/HEAD/restai/projects/rag.py -------------------------------------------------------------------------------- /restai/projects/ragsql.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apocas/restai/HEAD/restai/projects/ragsql.py -------------------------------------------------------------------------------- /restai/projects/router.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apocas/restai/HEAD/restai/projects/router.py -------------------------------------------------------------------------------- /restai/projects/vision.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apocas/restai/HEAD/restai/projects/vision.py -------------------------------------------------------------------------------- /restai/routers/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apocas/restai/HEAD/restai/routers/__init__.py -------------------------------------------------------------------------------- /restai/routers/audio.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apocas/restai/HEAD/restai/routers/audio.py -------------------------------------------------------------------------------- /restai/routers/auth.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apocas/restai/HEAD/restai/routers/auth.py -------------------------------------------------------------------------------- /restai/routers/embeddings.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apocas/restai/HEAD/restai/routers/embeddings.py -------------------------------------------------------------------------------- /restai/routers/image.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apocas/restai/HEAD/restai/routers/image.py -------------------------------------------------------------------------------- /restai/routers/llms.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apocas/restai/HEAD/restai/routers/llms.py -------------------------------------------------------------------------------- /restai/routers/projects.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apocas/restai/HEAD/restai/routers/projects.py -------------------------------------------------------------------------------- /restai/routers/proxy.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apocas/restai/HEAD/restai/routers/proxy.py -------------------------------------------------------------------------------- /restai/routers/statistics.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apocas/restai/HEAD/restai/routers/statistics.py -------------------------------------------------------------------------------- /restai/routers/teams.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apocas/restai/HEAD/restai/routers/teams.py -------------------------------------------------------------------------------- /restai/routers/tools.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apocas/restai/HEAD/restai/routers/tools.py -------------------------------------------------------------------------------- /restai/routers/users.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apocas/restai/HEAD/restai/routers/users.py -------------------------------------------------------------------------------- /restai/tools.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apocas/restai/HEAD/restai/tools.py -------------------------------------------------------------------------------- /restai/utils/crypto.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apocas/restai/HEAD/restai/utils/crypto.py -------------------------------------------------------------------------------- /restai/utils/version.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apocas/restai/HEAD/restai/utils/version.py -------------------------------------------------------------------------------- /restai/vectordb/base.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apocas/restai/HEAD/restai/vectordb/base.py -------------------------------------------------------------------------------- /restai/vectordb/chromadb.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apocas/restai/HEAD/restai/vectordb/chromadb.py -------------------------------------------------------------------------------- /restai/vectordb/tools.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apocas/restai/HEAD/restai/vectordb/tools.py -------------------------------------------------------------------------------- /sqlite2mysql.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apocas/restai/HEAD/sqlite2mysql.py -------------------------------------------------------------------------------- /tests/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/test.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apocas/restai/HEAD/tests/test.json -------------------------------------------------------------------------------- /tests/test.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apocas/restai/HEAD/tests/test.txt -------------------------------------------------------------------------------- /tests/test2.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apocas/restai/HEAD/tests/test2.txt -------------------------------------------------------------------------------- /tests/test_projects.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apocas/restai/HEAD/tests/test_projects.py -------------------------------------------------------------------------------- /tests/test_restai.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apocas/restai/HEAD/tests/test_restai.py -------------------------------------------------------------------------------- /tests/test_users.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apocas/restai/HEAD/tests/test_users.py -------------------------------------------------------------------------------- /tools/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tools/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /uv.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apocas/restai/HEAD/uv.lock -------------------------------------------------------------------------------- /worker_envs/envs/crisperwhisper.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apocas/restai/HEAD/worker_envs/envs/crisperwhisper.sh -------------------------------------------------------------------------------- /worker_envs/envs/sd.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apocas/restai/HEAD/worker_envs/envs/sd.sh -------------------------------------------------------------------------------- /worker_envs/envs/whisper_lib.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apocas/restai/HEAD/worker_envs/envs/whisper_lib.sh -------------------------------------------------------------------------------- /worker_envs/envs/whisperx.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apocas/restai/HEAD/worker_envs/envs/whisperx.sh -------------------------------------------------------------------------------- /worker_envs/install.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apocas/restai/HEAD/worker_envs/install.sh --------------------------------------------------------------------------------