├── .env.example ├── .gitattributes ├── .github ├── ISSUE_TEMPLATE │ ├── bug_report.md │ ├── custom.md │ └── feature_request.md ├── actions │ ├── login-docker │ │ └── action.yml │ ├── setup-docker │ │ └── action.yml │ ├── setup-postgres-ext │ │ └── action.yml │ ├── setup-python-full │ │ └── action.yml │ ├── setup-python-light │ │ └── action.yml │ ├── start-r2r-full │ │ └── action.yml │ └── start-r2r-light │ │ └── action.yml └── workflows │ ├── build-cluster-service-docker.yml │ ├── build-r2r-docker.yml │ ├── build-unst-service-docker.yml │ ├── publish-to-npm.yml │ ├── publish-to-pypi.yml │ ├── quality.yml │ ├── r2r-full-py-integration-tests.yml │ ├── r2r-js-sdk-ci.yml │ ├── r2r-js-sdk-integration-tests.yml │ └── r2r-light-py-integration-tests.yml ├── .gitignore ├── .pre-commit-config.yaml ├── CODE_OF_CONDUCT.md ├── CONTRIBUTING.md ├── LICENSE.md ├── MANIFEST.md ├── README.md ├── SECURITY.md ├── deployment └── k8s │ ├── kustomizations │ ├── helm-values_hatchet.yaml │ ├── helm-values_postgresql.yaml │ ├── include │ │ ├── cm-hatchet.yaml │ │ ├── cm-hatchet_OLD.yaml │ │ ├── cm-init-scripts-hatchet.yaml │ │ ├── cm-init-scripts-r2r.yaml │ │ ├── cm-r2r.yaml │ │ ├── cm-unstructured.yaml │ │ ├── hatchet-dashboard-initc.yaml │ │ ├── hatchet-engine-initc.yaml │ │ ├── hatchet-init-job.yaml │ │ ├── hatchet-rabbitmq-sts.yaml │ │ ├── pgadmin.yaml │ │ ├── pgvector-sts.yaml │ │ ├── r2r-dashboard-indep.yaml │ │ ├── r2r-graph-clustering-indep.yaml │ │ ├── r2r-initc.yaml │ │ ├── r2r-nginx-indep.yaml │ │ └── unstructured-indep.yaml │ ├── kustomization.yaml │ └── patches │ │ ├── hatchet-rabbitmq-sts.yaml │ │ ├── rm-secret-hatchet-postgres.yaml │ │ ├── rm-secret-hatchet-rabbitmq-config.yaml │ │ ├── rm-secret-hatchet-rabbitmq.yaml │ │ ├── rm-secret-hatchet-shared-config.yaml │ │ └── service.yaml │ └── manifests │ └── examples │ ├── externalsecret_hatchet.yaml │ ├── externalsecret_r2r.yaml │ ├── ingress-r2r.yaml │ ├── secrets_hatchet.yaml │ └── secrets_r2r.yaml ├── docker ├── compose.full.swarm.yaml ├── compose.full.yaml ├── compose.yaml ├── env │ ├── hatchet.env │ ├── minio.env │ ├── postgres.env │ ├── r2r-dashboard.env │ ├── r2r-full.env │ └── r2r.env ├── fluent-bit │ ├── fluent-bit.conf │ └── parsers.conf ├── scripts │ ├── create-hatchet-db.sh │ ├── setup-token.sh │ └── start-r2r.sh ├── user_configs │ └── README.md └── user_tools │ ├── README.md │ └── user_requirements.txt ├── docs ├── README.md ├── cookbooks │ ├── application.md │ ├── custom-tools.md │ ├── email.md │ ├── evals.md │ ├── graphs.md │ ├── images │ │ ├── application │ │ │ ├── chat.png │ │ │ ├── login.png │ │ │ ├── oss_collections_page.png │ │ │ ├── oss_dashboard_documents.png │ │ │ ├── settings_config.png │ │ │ ├── settings_prompts.png │ │ │ └── users.png │ │ └── email │ │ │ └── mailersend.png │ ├── ingestion.md │ ├── local.md │ ├── logging.md │ ├── maintenance.md │ ├── mcp.md │ ├── orchestration.md │ ├── structured-output.md │ ├── web-dev.md │ └── {README.md} ├── documentation │ ├── README.md │ ├── advanced │ │ ├── contextual-enrichment.md │ │ └── deduplication.md │ ├── general │ │ ├── collections.md │ │ ├── conversations.md │ │ ├── documents.md │ │ ├── graphs.md │ │ ├── prompts.md │ │ └── users.md │ └── retrieval │ │ ├── advanced-rag.md │ │ ├── agentic-rag.md │ │ ├── hybrid-search.md │ │ └── search-and-rag.md └── introduction │ ├── guides │ ├── rag.md │ └── what-is-r2r.md │ └── system.md ├── js ├── README.md └── sdk │ ├── .prettierignore │ ├── README.md │ ├── __tests__ │ ├── ChunksIntegrationSuperUser.test.ts │ ├── CollectionsIntegrationSuperUser.test.ts │ ├── ConversationsIntegrationSuperUser.test.ts │ ├── ConversationsIntegrationUser.test.ts │ ├── DocumentsAndCollectionsIntegrationUser.test.ts │ ├── DocumentsIntegrationSuperUser.test.ts │ ├── GraphsIntegrationSuperUser.test.ts │ ├── PromptsIntegrationSuperUser.test.ts │ ├── RetrievalIntegrationSuperUser.test.ts │ ├── SystemIntegrationSuperUser.test.ts │ ├── SystemIntegrationUser.test.ts │ ├── UsersIntegrationSuperUser.test.ts │ └── util │ │ └── typeTransformer.test.ts │ ├── examples │ ├── data │ │ ├── folder │ │ │ ├── karamozov.txt │ │ │ └── myshkin.txt │ │ ├── invalid.json │ │ ├── marmeladov.txt │ │ ├── raskolnikov.txt │ │ ├── raskolnikov_2.txt │ │ ├── sonia.txt │ │ └── zametov.txt │ └── hello_r2r.js │ ├── jest.config.js │ ├── package-lock.json │ ├── package.json │ ├── pnpm-lock.yaml │ ├── src │ ├── baseClient.ts │ ├── index.ts │ ├── r2rClient.ts │ ├── types.ts │ ├── utils │ │ ├── index.ts │ │ ├── typeTransformer.ts │ │ └── utils.ts │ └── v3 │ │ └── clients │ │ ├── chunks.ts │ │ ├── collections.ts │ │ ├── conversations.ts │ │ ├── documents.ts │ │ ├── graphs.ts │ │ ├── indices.ts │ │ ├── prompts.ts │ │ ├── retrieval.ts │ │ ├── system.ts │ │ └── users.ts │ └── tsconfig.json ├── llms.txt ├── py ├── .dockerignore ├── Dockerfile ├── README.md ├── all_possible_config.toml ├── core │ ├── __init__.py │ ├── agent │ │ ├── __init__.py │ │ ├── base.py │ │ ├── rag.py │ │ └── research.py │ ├── base │ │ ├── __init__.py │ │ ├── abstractions │ │ │ └── __init__.py │ │ ├── agent │ │ │ ├── __init__.py │ │ │ ├── agent.py │ │ │ └── tools │ │ │ │ ├── built_in │ │ │ │ ├── get_file_content.py │ │ │ │ ├── search_file_descriptions.py │ │ │ │ ├── search_file_knowledge.py │ │ │ │ ├── tavily_extract.py │ │ │ │ ├── tavily_search.py │ │ │ │ ├── web_scrape.py │ │ │ │ └── web_search.py │ │ │ │ └── registry.py │ │ ├── api │ │ │ └── models │ │ │ │ └── __init__.py │ │ ├── parsers │ │ │ ├── __init__.py │ │ │ └── base_parser.py │ │ ├── providers │ │ │ ├── __init__.py │ │ │ ├── auth.py │ │ │ ├── base.py │ │ │ ├── crypto.py │ │ │ ├── database.py │ │ │ ├── email.py │ │ │ ├── embedding.py │ │ │ ├── file.py │ │ │ ├── ingestion.py │ │ │ ├── llm.py │ │ │ ├── ocr.py │ │ │ ├── orchestration.py │ │ │ └── scheduler.py │ │ └── utils │ │ │ └── __init__.py │ ├── configs │ │ ├── full.toml │ │ ├── full_azure.toml │ │ ├── full_lm_studio.toml │ │ ├── full_ollama.toml │ │ ├── gemini.toml │ │ ├── lm_studio.toml │ │ ├── ollama.toml │ │ ├── r2r_azure.toml │ │ ├── r2r_azure_with_test_limits.toml │ │ ├── r2r_with_auth.toml │ │ └── tavily.toml │ ├── examples │ │ ├── __init__.py │ │ ├── data │ │ │ ├── DeepSeek_R1.pdf │ │ │ ├── aristotle.txt │ │ │ ├── aristotle_v2.txt │ │ │ ├── aristotle_v3.txt │ │ │ ├── got.txt │ │ │ ├── graphrag.pdf │ │ │ ├── lyft_2021.pdf │ │ │ ├── pg_essay_1.html │ │ │ ├── pg_essay_2.html │ │ │ ├── pg_essay_3.html │ │ │ ├── pg_essay_4.html │ │ │ ├── pg_essay_5.html │ │ │ ├── sample.mp3 │ │ │ ├── sample2.mp3 │ │ │ ├── screen_shot.png │ │ │ ├── test.txt │ │ │ ├── uber_2021.pdf │ │ │ └── yc_companies.txt │ │ ├── hello_r2r.ipynb │ │ ├── hello_r2r.py │ │ └── supported_file_types │ │ │ ├── bmp.bmp │ │ │ ├── css.css │ │ │ ├── csv.csv │ │ │ ├── doc.doc │ │ │ ├── docx.docx │ │ │ ├── eml.eml │ │ │ ├── epub.epub │ │ │ ├── heic.heic │ │ │ ├── html.html │ │ │ ├── jpeg.jpeg │ │ │ ├── jpg.jpg │ │ │ ├── js.js │ │ │ ├── json.json │ │ │ ├── md.md │ │ │ ├── msg.msg │ │ │ ├── odt.odt │ │ │ ├── org.org │ │ │ ├── p7s.p7s │ │ │ ├── pdf.pdf │ │ │ ├── png.png │ │ │ ├── ppt.ppt │ │ │ ├── pptx.pptx │ │ │ ├── py.py │ │ │ ├── rst.rst │ │ │ ├── rtf.rtf │ │ │ ├── tiff.tiff │ │ │ ├── ts.ts │ │ │ ├── tsv.tsv │ │ │ ├── txt.txt │ │ │ ├── xls.xls │ │ │ └── xlsx.xlsx │ ├── main │ │ ├── __init__.py │ │ ├── abstractions.py │ │ ├── api │ │ │ └── v3 │ │ │ │ ├── base_router.py │ │ │ │ ├── chunks_router.py │ │ │ │ ├── collections_router.py │ │ │ │ ├── conversations_router.py │ │ │ │ ├── documents_router.py │ │ │ │ ├── graph_router.py │ │ │ │ ├── indices_router.py │ │ │ │ ├── prompts_router.py │ │ │ │ ├── retrieval_router.py │ │ │ │ ├── system_router.py │ │ │ │ └── users_router.py │ │ ├── app.py │ │ ├── app_entry.py │ │ ├── assembly │ │ │ ├── __init__.py │ │ │ ├── builder.py │ │ │ ├── factory.py │ │ │ └── utils.py │ │ ├── config.py │ │ ├── middleware │ │ │ ├── __init__.py │ │ │ └── project_schema.py │ │ ├── orchestration │ │ │ ├── __init__.py │ │ │ ├── hatchet │ │ │ │ ├── __init__.py │ │ │ │ ├── graph_workflow.py │ │ │ │ └── ingestion_workflow.py │ │ │ └── simple │ │ │ │ ├── __init__.py │ │ │ │ ├── graph_workflow.py │ │ │ │ └── ingestion_workflow.py │ │ └── services │ │ │ ├── __init__.py │ │ │ ├── auth_service.py │ │ │ ├── base.py │ │ │ ├── graph_service.py │ │ │ ├── ingestion_service.py │ │ │ ├── maintenance_service.py │ │ │ ├── management_service.py │ │ │ └── retrieval_service.py │ ├── parsers │ │ ├── __init__.py │ │ ├── media │ │ │ ├── __init__.py │ │ │ ├── audio_parser.py │ │ │ ├── bmp_parser.py │ │ │ ├── doc_parser.py │ │ │ ├── docx_parser.py │ │ │ ├── img_parser.py │ │ │ ├── odt_parser.py │ │ │ ├── pdf_parser.py │ │ │ ├── ppt_parser.py │ │ │ ├── pptx_parser.py │ │ │ └── rtf_parser.py │ │ ├── structured │ │ │ ├── __init__.py │ │ │ ├── csv_parser.py │ │ │ ├── eml_parser.py │ │ │ ├── epub_parser.py │ │ │ ├── json_parser.py │ │ │ ├── msg_parser.py │ │ │ ├── org_parser.py │ │ │ ├── p7s_parser.py │ │ │ ├── rst_parser.py │ │ │ ├── tsv_parser.py │ │ │ ├── xls_parser.py │ │ │ └── xlsx_parser.py │ │ └── text │ │ │ ├── __init__.py │ │ │ ├── css_parser.py │ │ │ ├── html_parser.py │ │ │ ├── js_parser.py │ │ │ ├── md_parser.py │ │ │ ├── python_parser.py │ │ │ ├── text_parser.py │ │ │ └── ts_parser.py │ ├── providers │ │ ├── __init__.py │ │ ├── auth │ │ │ ├── __init__.py │ │ │ ├── clerk.py │ │ │ ├── jwt.py │ │ │ ├── r2r_auth.py │ │ │ └── supabase.py │ │ ├── crypto │ │ │ ├── __init__.py │ │ │ ├── bcrypt.py │ │ │ └── nacl.py │ │ ├── database │ │ │ ├── __init__.py │ │ │ ├── base.py │ │ │ ├── chunks.py │ │ │ ├── collections.py │ │ │ ├── conversations.py │ │ │ ├── documents.py │ │ │ ├── filters.py │ │ │ ├── graphs.py │ │ │ ├── limits.py │ │ │ ├── maintenance.py │ │ │ ├── postgres.py │ │ │ ├── prompts │ │ │ │ ├── __init__.py │ │ │ │ ├── chunk_enrichment.yaml │ │ │ │ ├── collection_summary.yaml │ │ │ │ ├── dynamic_rag_agent.yaml │ │ │ │ ├── dynamic_rag_agent_xml_tooling.yaml │ │ │ │ ├── graph_communities.yaml │ │ │ │ ├── graph_entity_description.yaml │ │ │ │ ├── graph_extraction.yaml │ │ │ │ ├── hyde.yaml │ │ │ │ ├── rag.yaml │ │ │ │ ├── rag_fusion.yaml │ │ │ │ ├── static_rag_agent.yaml │ │ │ │ ├── static_research_agent.yaml │ │ │ │ ├── summary.yaml │ │ │ │ ├── system.yaml │ │ │ │ ├── vision_img.yaml │ │ │ │ └── vision_pdf.yaml │ │ │ ├── prompts_handler.py │ │ │ ├── tokens.py │ │ │ ├── users.py │ │ │ └── utils.py │ │ ├── email │ │ │ ├── __init__.py │ │ │ ├── console_mock.py │ │ │ ├── mailersend.py │ │ │ ├── sendgrid.py │ │ │ └── smtp.py │ │ ├── embeddings │ │ │ ├── __init__.py │ │ │ ├── litellm.py │ │ │ ├── ollama.py │ │ │ ├── openai.py │ │ │ └── utils.py │ │ ├── file │ │ │ ├── __init__.py │ │ │ ├── postgres.py │ │ │ └── s3.py │ │ ├── ingestion │ │ │ ├── __init__.py │ │ │ ├── r2r │ │ │ │ └── base.py │ │ │ └── unstructured │ │ │ │ └── base.py │ │ ├── llm │ │ │ ├── __init__.py │ │ │ ├── anthropic.py │ │ │ ├── azure_foundry.py │ │ │ ├── litellm.py │ │ │ ├── openai.py │ │ │ ├── r2r_llm.py │ │ │ └── utils.py │ │ ├── ocr │ │ │ ├── __init__.py │ │ │ └── mistral.py │ │ ├── orchestration │ │ │ ├── __init__.py │ │ │ ├── hatchet.py │ │ │ └── simple.py │ │ └── scheduler │ │ │ ├── __init__.py │ │ │ └── apscheduler.py │ └── utils │ │ ├── __init__.py │ │ ├── context.py │ │ ├── logging_config.py │ │ ├── sentry.py │ │ └── serper.py ├── migrations │ ├── README │ ├── alembic.ini │ ├── env.py │ ├── script.py.mako │ └── versions │ │ ├── 2fac23e4d91b_migrate_to_document_search.py │ │ ├── 3efc7b3b1b3d_add_total_tokens_count.py │ │ ├── 7eb70560f406_add_limits_overrides_to_users.py │ │ ├── 8077140e1e99_v3_api_database_revision.py │ │ ├── c45a9cf6a8a4_add_user_and_document_count_to_.py │ │ └── d342e632358a_migrate_to_asyncpg.py ├── pyproject.toml ├── r2r │ ├── __init__.py │ ├── mcp.py │ ├── r2r.toml │ └── serve.py ├── sdk │ ├── README.md │ ├── __init__.py │ ├── asnyc_methods │ │ ├── __init__.py │ │ ├── chunks.py │ │ ├── collections.py │ │ ├── conversations.py │ │ ├── documents.py │ │ ├── graphs.py │ │ ├── indices.py │ │ ├── prompts.py │ │ ├── retrieval.py │ │ ├── system.py │ │ └── users.py │ ├── async_client.py │ ├── base │ │ ├── __init_.py │ │ └── base_client.py │ ├── models.py │ ├── sync_client.py │ └── sync_methods │ │ ├── __init__.py │ │ ├── chunks.py │ │ ├── collections.py │ │ ├── conversations.py │ │ ├── documents.py │ │ ├── graphs.py │ │ ├── indices.py │ │ ├── prompts.py │ │ ├── retrieval.py │ │ ├── system.py │ │ └── users.py ├── shared │ ├── __init__.py │ ├── abstractions │ │ ├── __init__.py │ │ ├── base.py │ │ ├── document.py │ │ ├── exception.py │ │ ├── graph.py │ │ ├── llm.py │ │ ├── prompt.py │ │ ├── search.py │ │ ├── tool.py │ │ ├── user.py │ │ └── vector.py │ ├── api │ │ └── models │ │ │ ├── __init__.py │ │ │ ├── auth │ │ │ ├── __init__.py │ │ │ └── responses.py │ │ │ ├── base.py │ │ │ ├── graph │ │ │ ├── __init__.py │ │ │ └── responses.py │ │ │ ├── ingestion │ │ │ ├── __init__.py │ │ │ └── responses.py │ │ │ ├── management │ │ │ ├── __init__.py │ │ │ └── responses.py │ │ │ └── retrieval │ │ │ ├── __init__.py │ │ │ └── responses.py │ └── utils │ │ ├── __init__.py │ │ ├── base_utils.py │ │ └── splitter │ │ ├── __init__.py │ │ └── text.py ├── tests │ ├── integration │ │ ├── conftest.py │ │ ├── test_agent.py │ │ ├── test_base.py │ │ ├── test_chunks.py │ │ ├── test_collections.py │ │ ├── test_collections_users_interaction.py │ │ ├── test_conversations.py │ │ ├── test_documents.py │ │ ├── test_filters.py │ │ ├── test_graphs.py │ │ ├── test_indices.py │ │ ├── test_ingestion.py │ │ ├── test_retrieval.py │ │ ├── test_retrieval_advanced.py │ │ ├── test_system.py │ │ └── test_users.py │ ├── scaling │ │ ├── __init__.py │ │ └── loadTester.py │ └── unit │ │ ├── agent │ │ ├── test_agent.py │ │ ├── test_agent_citations.py │ │ ├── test_agent_citations_old.py │ │ ├── test_agent_old.py │ │ └── test_streaming_agent.py │ │ ├── app │ │ ├── test_config.py │ │ └── test_routes.py │ │ ├── conftest.py │ │ ├── database │ │ ├── test_collections.py │ │ ├── test_conversations.py │ │ ├── test_graphs.py │ │ └── test_limits.py │ │ ├── document │ │ ├── test_chunks.py │ │ ├── test_document_processing.py │ │ └── test_documents.py │ │ └── retrieval │ │ ├── __init__.py │ │ ├── conftest.py │ │ ├── test_citations.py │ │ ├── test_database_filters.py │ │ ├── test_rag_processing.py │ │ └── test_retrieval_old.py └── uv.lock └── services ├── README.md ├── clustering ├── Dockerfile.clustering └── main.py └── unstructured ├── Dockerfile.unstructured ├── README.md └── main.py /.env.example: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/.env.example -------------------------------------------------------------------------------- /.gitattributes: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/.gitattributes -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/bug_report.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/.github/ISSUE_TEMPLATE/bug_report.md -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/custom.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/.github/ISSUE_TEMPLATE/custom.md -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/feature_request.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/.github/ISSUE_TEMPLATE/feature_request.md -------------------------------------------------------------------------------- /.github/actions/login-docker/action.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/.github/actions/login-docker/action.yml -------------------------------------------------------------------------------- /.github/actions/setup-docker/action.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/.github/actions/setup-docker/action.yml -------------------------------------------------------------------------------- /.github/actions/setup-postgres-ext/action.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/.github/actions/setup-postgres-ext/action.yml -------------------------------------------------------------------------------- /.github/actions/setup-python-full/action.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/.github/actions/setup-python-full/action.yml -------------------------------------------------------------------------------- /.github/actions/setup-python-light/action.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/.github/actions/setup-python-light/action.yml -------------------------------------------------------------------------------- /.github/actions/start-r2r-full/action.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/.github/actions/start-r2r-full/action.yml -------------------------------------------------------------------------------- /.github/actions/start-r2r-light/action.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/.github/actions/start-r2r-light/action.yml -------------------------------------------------------------------------------- /.github/workflows/build-cluster-service-docker.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/.github/workflows/build-cluster-service-docker.yml -------------------------------------------------------------------------------- /.github/workflows/build-r2r-docker.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/.github/workflows/build-r2r-docker.yml -------------------------------------------------------------------------------- /.github/workflows/build-unst-service-docker.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/.github/workflows/build-unst-service-docker.yml -------------------------------------------------------------------------------- /.github/workflows/publish-to-npm.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/.github/workflows/publish-to-npm.yml -------------------------------------------------------------------------------- /.github/workflows/publish-to-pypi.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/.github/workflows/publish-to-pypi.yml -------------------------------------------------------------------------------- /.github/workflows/quality.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/.github/workflows/quality.yml -------------------------------------------------------------------------------- /.github/workflows/r2r-full-py-integration-tests.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/.github/workflows/r2r-full-py-integration-tests.yml -------------------------------------------------------------------------------- /.github/workflows/r2r-js-sdk-ci.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/.github/workflows/r2r-js-sdk-ci.yml -------------------------------------------------------------------------------- /.github/workflows/r2r-js-sdk-integration-tests.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/.github/workflows/r2r-js-sdk-integration-tests.yml -------------------------------------------------------------------------------- /.github/workflows/r2r-light-py-integration-tests.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/.github/workflows/r2r-light-py-integration-tests.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/.gitignore -------------------------------------------------------------------------------- /.pre-commit-config.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/.pre-commit-config.yaml -------------------------------------------------------------------------------- /CODE_OF_CONDUCT.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/CODE_OF_CONDUCT.md -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/CONTRIBUTING.md -------------------------------------------------------------------------------- /LICENSE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/LICENSE.md -------------------------------------------------------------------------------- /MANIFEST.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/MANIFEST.md -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | ./py/README.md 2 | -------------------------------------------------------------------------------- /SECURITY.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/SECURITY.md -------------------------------------------------------------------------------- /deployment/k8s/kustomizations/helm-values_hatchet.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/deployment/k8s/kustomizations/helm-values_hatchet.yaml -------------------------------------------------------------------------------- /deployment/k8s/kustomizations/helm-values_postgresql.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/deployment/k8s/kustomizations/helm-values_postgresql.yaml -------------------------------------------------------------------------------- /deployment/k8s/kustomizations/include/cm-hatchet.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/deployment/k8s/kustomizations/include/cm-hatchet.yaml -------------------------------------------------------------------------------- /deployment/k8s/kustomizations/include/cm-hatchet_OLD.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/deployment/k8s/kustomizations/include/cm-hatchet_OLD.yaml -------------------------------------------------------------------------------- /deployment/k8s/kustomizations/include/cm-init-scripts-hatchet.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/deployment/k8s/kustomizations/include/cm-init-scripts-hatchet.yaml -------------------------------------------------------------------------------- /deployment/k8s/kustomizations/include/cm-init-scripts-r2r.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/deployment/k8s/kustomizations/include/cm-init-scripts-r2r.yaml -------------------------------------------------------------------------------- /deployment/k8s/kustomizations/include/cm-r2r.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/deployment/k8s/kustomizations/include/cm-r2r.yaml -------------------------------------------------------------------------------- /deployment/k8s/kustomizations/include/cm-unstructured.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/deployment/k8s/kustomizations/include/cm-unstructured.yaml -------------------------------------------------------------------------------- /deployment/k8s/kustomizations/include/hatchet-dashboard-initc.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/deployment/k8s/kustomizations/include/hatchet-dashboard-initc.yaml -------------------------------------------------------------------------------- /deployment/k8s/kustomizations/include/hatchet-engine-initc.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/deployment/k8s/kustomizations/include/hatchet-engine-initc.yaml -------------------------------------------------------------------------------- /deployment/k8s/kustomizations/include/hatchet-init-job.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/deployment/k8s/kustomizations/include/hatchet-init-job.yaml -------------------------------------------------------------------------------- /deployment/k8s/kustomizations/include/hatchet-rabbitmq-sts.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/deployment/k8s/kustomizations/include/hatchet-rabbitmq-sts.yaml -------------------------------------------------------------------------------- /deployment/k8s/kustomizations/include/pgadmin.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/deployment/k8s/kustomizations/include/pgadmin.yaml -------------------------------------------------------------------------------- /deployment/k8s/kustomizations/include/pgvector-sts.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/deployment/k8s/kustomizations/include/pgvector-sts.yaml -------------------------------------------------------------------------------- /deployment/k8s/kustomizations/include/r2r-dashboard-indep.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/deployment/k8s/kustomizations/include/r2r-dashboard-indep.yaml -------------------------------------------------------------------------------- /deployment/k8s/kustomizations/include/r2r-graph-clustering-indep.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/deployment/k8s/kustomizations/include/r2r-graph-clustering-indep.yaml -------------------------------------------------------------------------------- /deployment/k8s/kustomizations/include/r2r-initc.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/deployment/k8s/kustomizations/include/r2r-initc.yaml -------------------------------------------------------------------------------- /deployment/k8s/kustomizations/include/r2r-nginx-indep.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/deployment/k8s/kustomizations/include/r2r-nginx-indep.yaml -------------------------------------------------------------------------------- /deployment/k8s/kustomizations/include/unstructured-indep.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/deployment/k8s/kustomizations/include/unstructured-indep.yaml -------------------------------------------------------------------------------- /deployment/k8s/kustomizations/kustomization.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/deployment/k8s/kustomizations/kustomization.yaml -------------------------------------------------------------------------------- /deployment/k8s/kustomizations/patches/hatchet-rabbitmq-sts.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/deployment/k8s/kustomizations/patches/hatchet-rabbitmq-sts.yaml -------------------------------------------------------------------------------- /deployment/k8s/kustomizations/patches/rm-secret-hatchet-postgres.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/deployment/k8s/kustomizations/patches/rm-secret-hatchet-postgres.yaml -------------------------------------------------------------------------------- /deployment/k8s/kustomizations/patches/rm-secret-hatchet-rabbitmq-config.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/deployment/k8s/kustomizations/patches/rm-secret-hatchet-rabbitmq-config.yaml -------------------------------------------------------------------------------- /deployment/k8s/kustomizations/patches/rm-secret-hatchet-rabbitmq.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/deployment/k8s/kustomizations/patches/rm-secret-hatchet-rabbitmq.yaml -------------------------------------------------------------------------------- /deployment/k8s/kustomizations/patches/rm-secret-hatchet-shared-config.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/deployment/k8s/kustomizations/patches/rm-secret-hatchet-shared-config.yaml -------------------------------------------------------------------------------- /deployment/k8s/kustomizations/patches/service.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/deployment/k8s/kustomizations/patches/service.yaml -------------------------------------------------------------------------------- /deployment/k8s/manifests/examples/externalsecret_hatchet.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/deployment/k8s/manifests/examples/externalsecret_hatchet.yaml -------------------------------------------------------------------------------- /deployment/k8s/manifests/examples/externalsecret_r2r.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/deployment/k8s/manifests/examples/externalsecret_r2r.yaml -------------------------------------------------------------------------------- /deployment/k8s/manifests/examples/ingress-r2r.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/deployment/k8s/manifests/examples/ingress-r2r.yaml -------------------------------------------------------------------------------- /deployment/k8s/manifests/examples/secrets_hatchet.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/deployment/k8s/manifests/examples/secrets_hatchet.yaml -------------------------------------------------------------------------------- /deployment/k8s/manifests/examples/secrets_r2r.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/deployment/k8s/manifests/examples/secrets_r2r.yaml -------------------------------------------------------------------------------- /docker/compose.full.swarm.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/docker/compose.full.swarm.yaml -------------------------------------------------------------------------------- /docker/compose.full.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/docker/compose.full.yaml -------------------------------------------------------------------------------- /docker/compose.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/docker/compose.yaml -------------------------------------------------------------------------------- /docker/env/hatchet.env: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/docker/env/hatchet.env -------------------------------------------------------------------------------- /docker/env/minio.env: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/docker/env/minio.env -------------------------------------------------------------------------------- /docker/env/postgres.env: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/docker/env/postgres.env -------------------------------------------------------------------------------- /docker/env/r2r-dashboard.env: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/docker/env/r2r-dashboard.env -------------------------------------------------------------------------------- /docker/env/r2r-full.env: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/docker/env/r2r-full.env -------------------------------------------------------------------------------- /docker/env/r2r.env: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/docker/env/r2r.env -------------------------------------------------------------------------------- /docker/fluent-bit/fluent-bit.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/docker/fluent-bit/fluent-bit.conf -------------------------------------------------------------------------------- /docker/fluent-bit/parsers.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/docker/fluent-bit/parsers.conf -------------------------------------------------------------------------------- /docker/scripts/create-hatchet-db.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/docker/scripts/create-hatchet-db.sh -------------------------------------------------------------------------------- /docker/scripts/setup-token.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/docker/scripts/setup-token.sh -------------------------------------------------------------------------------- /docker/scripts/start-r2r.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/docker/scripts/start-r2r.sh -------------------------------------------------------------------------------- /docker/user_configs/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/docker/user_configs/README.md -------------------------------------------------------------------------------- /docker/user_tools/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/docker/user_tools/README.md -------------------------------------------------------------------------------- /docker/user_tools/user_requirements.txt: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /docs/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/docs/README.md -------------------------------------------------------------------------------- /docs/cookbooks/application.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/docs/cookbooks/application.md -------------------------------------------------------------------------------- /docs/cookbooks/custom-tools.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/docs/cookbooks/custom-tools.md -------------------------------------------------------------------------------- /docs/cookbooks/email.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/docs/cookbooks/email.md -------------------------------------------------------------------------------- /docs/cookbooks/evals.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/docs/cookbooks/evals.md -------------------------------------------------------------------------------- /docs/cookbooks/graphs.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/docs/cookbooks/graphs.md -------------------------------------------------------------------------------- /docs/cookbooks/images/application/chat.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/docs/cookbooks/images/application/chat.png -------------------------------------------------------------------------------- /docs/cookbooks/images/application/login.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/docs/cookbooks/images/application/login.png -------------------------------------------------------------------------------- /docs/cookbooks/images/application/oss_collections_page.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/docs/cookbooks/images/application/oss_collections_page.png -------------------------------------------------------------------------------- /docs/cookbooks/images/application/oss_dashboard_documents.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/docs/cookbooks/images/application/oss_dashboard_documents.png -------------------------------------------------------------------------------- /docs/cookbooks/images/application/settings_config.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/docs/cookbooks/images/application/settings_config.png -------------------------------------------------------------------------------- /docs/cookbooks/images/application/settings_prompts.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/docs/cookbooks/images/application/settings_prompts.png -------------------------------------------------------------------------------- /docs/cookbooks/images/application/users.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/docs/cookbooks/images/application/users.png -------------------------------------------------------------------------------- /docs/cookbooks/images/email/mailersend.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/docs/cookbooks/images/email/mailersend.png -------------------------------------------------------------------------------- /docs/cookbooks/ingestion.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/docs/cookbooks/ingestion.md -------------------------------------------------------------------------------- /docs/cookbooks/local.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/docs/cookbooks/local.md -------------------------------------------------------------------------------- /docs/cookbooks/logging.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/docs/cookbooks/logging.md -------------------------------------------------------------------------------- /docs/cookbooks/maintenance.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/docs/cookbooks/maintenance.md -------------------------------------------------------------------------------- /docs/cookbooks/mcp.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/docs/cookbooks/mcp.md -------------------------------------------------------------------------------- /docs/cookbooks/orchestration.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/docs/cookbooks/orchestration.md -------------------------------------------------------------------------------- /docs/cookbooks/structured-output.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/docs/cookbooks/structured-output.md -------------------------------------------------------------------------------- /docs/cookbooks/web-dev.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/docs/cookbooks/web-dev.md -------------------------------------------------------------------------------- /docs/cookbooks/{README.md}: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /docs/documentation/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/docs/documentation/README.md -------------------------------------------------------------------------------- /docs/documentation/advanced/contextual-enrichment.md: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /docs/documentation/advanced/deduplication.md: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /docs/documentation/general/collections.md: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /docs/documentation/general/conversations.md: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /docs/documentation/general/documents.md: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /docs/documentation/general/graphs.md: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /docs/documentation/general/prompts.md: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /docs/documentation/general/users.md: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /docs/documentation/retrieval/advanced-rag.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/docs/documentation/retrieval/advanced-rag.md -------------------------------------------------------------------------------- /docs/documentation/retrieval/agentic-rag.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/docs/documentation/retrieval/agentic-rag.md -------------------------------------------------------------------------------- /docs/documentation/retrieval/hybrid-search.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/docs/documentation/retrieval/hybrid-search.md -------------------------------------------------------------------------------- /docs/documentation/retrieval/search-and-rag.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/docs/documentation/retrieval/search-and-rag.md -------------------------------------------------------------------------------- /docs/introduction/guides/rag.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/docs/introduction/guides/rag.md -------------------------------------------------------------------------------- /docs/introduction/guides/what-is-r2r.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/docs/introduction/guides/what-is-r2r.md -------------------------------------------------------------------------------- /docs/introduction/system.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/docs/introduction/system.md -------------------------------------------------------------------------------- /js/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/js/README.md -------------------------------------------------------------------------------- /js/sdk/.prettierignore: -------------------------------------------------------------------------------- 1 | examples/ 2 | -------------------------------------------------------------------------------- /js/sdk/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/js/sdk/README.md -------------------------------------------------------------------------------- /js/sdk/__tests__/ChunksIntegrationSuperUser.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/js/sdk/__tests__/ChunksIntegrationSuperUser.test.ts -------------------------------------------------------------------------------- /js/sdk/__tests__/CollectionsIntegrationSuperUser.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/js/sdk/__tests__/CollectionsIntegrationSuperUser.test.ts -------------------------------------------------------------------------------- /js/sdk/__tests__/ConversationsIntegrationSuperUser.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/js/sdk/__tests__/ConversationsIntegrationSuperUser.test.ts -------------------------------------------------------------------------------- /js/sdk/__tests__/ConversationsIntegrationUser.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/js/sdk/__tests__/ConversationsIntegrationUser.test.ts -------------------------------------------------------------------------------- /js/sdk/__tests__/DocumentsAndCollectionsIntegrationUser.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/js/sdk/__tests__/DocumentsAndCollectionsIntegrationUser.test.ts -------------------------------------------------------------------------------- /js/sdk/__tests__/DocumentsIntegrationSuperUser.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/js/sdk/__tests__/DocumentsIntegrationSuperUser.test.ts -------------------------------------------------------------------------------- /js/sdk/__tests__/GraphsIntegrationSuperUser.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/js/sdk/__tests__/GraphsIntegrationSuperUser.test.ts -------------------------------------------------------------------------------- /js/sdk/__tests__/PromptsIntegrationSuperUser.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/js/sdk/__tests__/PromptsIntegrationSuperUser.test.ts -------------------------------------------------------------------------------- /js/sdk/__tests__/RetrievalIntegrationSuperUser.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/js/sdk/__tests__/RetrievalIntegrationSuperUser.test.ts -------------------------------------------------------------------------------- /js/sdk/__tests__/SystemIntegrationSuperUser.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/js/sdk/__tests__/SystemIntegrationSuperUser.test.ts -------------------------------------------------------------------------------- /js/sdk/__tests__/SystemIntegrationUser.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/js/sdk/__tests__/SystemIntegrationUser.test.ts -------------------------------------------------------------------------------- /js/sdk/__tests__/UsersIntegrationSuperUser.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/js/sdk/__tests__/UsersIntegrationSuperUser.test.ts -------------------------------------------------------------------------------- /js/sdk/__tests__/util/typeTransformer.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/js/sdk/__tests__/util/typeTransformer.test.ts -------------------------------------------------------------------------------- /js/sdk/examples/data/folder/karamozov.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/js/sdk/examples/data/folder/karamozov.txt -------------------------------------------------------------------------------- /js/sdk/examples/data/folder/myshkin.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/js/sdk/examples/data/folder/myshkin.txt -------------------------------------------------------------------------------- /js/sdk/examples/data/invalid.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/js/sdk/examples/data/invalid.json -------------------------------------------------------------------------------- /js/sdk/examples/data/marmeladov.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/js/sdk/examples/data/marmeladov.txt -------------------------------------------------------------------------------- /js/sdk/examples/data/raskolnikov.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/js/sdk/examples/data/raskolnikov.txt -------------------------------------------------------------------------------- /js/sdk/examples/data/raskolnikov_2.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/js/sdk/examples/data/raskolnikov_2.txt -------------------------------------------------------------------------------- /js/sdk/examples/data/sonia.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/js/sdk/examples/data/sonia.txt -------------------------------------------------------------------------------- /js/sdk/examples/data/zametov.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/js/sdk/examples/data/zametov.txt -------------------------------------------------------------------------------- /js/sdk/examples/hello_r2r.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/js/sdk/examples/hello_r2r.js -------------------------------------------------------------------------------- /js/sdk/jest.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/js/sdk/jest.config.js -------------------------------------------------------------------------------- /js/sdk/package-lock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/js/sdk/package-lock.json -------------------------------------------------------------------------------- /js/sdk/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/js/sdk/package.json -------------------------------------------------------------------------------- /js/sdk/pnpm-lock.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/js/sdk/pnpm-lock.yaml -------------------------------------------------------------------------------- /js/sdk/src/baseClient.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/js/sdk/src/baseClient.ts -------------------------------------------------------------------------------- /js/sdk/src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/js/sdk/src/index.ts -------------------------------------------------------------------------------- /js/sdk/src/r2rClient.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/js/sdk/src/r2rClient.ts -------------------------------------------------------------------------------- /js/sdk/src/types.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/js/sdk/src/types.ts -------------------------------------------------------------------------------- /js/sdk/src/utils/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/js/sdk/src/utils/index.ts -------------------------------------------------------------------------------- /js/sdk/src/utils/typeTransformer.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/js/sdk/src/utils/typeTransformer.ts -------------------------------------------------------------------------------- /js/sdk/src/utils/utils.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/js/sdk/src/utils/utils.ts -------------------------------------------------------------------------------- /js/sdk/src/v3/clients/chunks.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/js/sdk/src/v3/clients/chunks.ts -------------------------------------------------------------------------------- /js/sdk/src/v3/clients/collections.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/js/sdk/src/v3/clients/collections.ts -------------------------------------------------------------------------------- /js/sdk/src/v3/clients/conversations.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/js/sdk/src/v3/clients/conversations.ts -------------------------------------------------------------------------------- /js/sdk/src/v3/clients/documents.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/js/sdk/src/v3/clients/documents.ts -------------------------------------------------------------------------------- /js/sdk/src/v3/clients/graphs.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/js/sdk/src/v3/clients/graphs.ts -------------------------------------------------------------------------------- /js/sdk/src/v3/clients/indices.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/js/sdk/src/v3/clients/indices.ts -------------------------------------------------------------------------------- /js/sdk/src/v3/clients/prompts.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/js/sdk/src/v3/clients/prompts.ts -------------------------------------------------------------------------------- /js/sdk/src/v3/clients/retrieval.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/js/sdk/src/v3/clients/retrieval.ts -------------------------------------------------------------------------------- /js/sdk/src/v3/clients/system.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/js/sdk/src/v3/clients/system.ts -------------------------------------------------------------------------------- /js/sdk/src/v3/clients/users.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/js/sdk/src/v3/clients/users.ts -------------------------------------------------------------------------------- /js/sdk/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/js/sdk/tsconfig.json -------------------------------------------------------------------------------- /llms.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/llms.txt -------------------------------------------------------------------------------- /py/.dockerignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/py/.dockerignore -------------------------------------------------------------------------------- /py/Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/py/Dockerfile -------------------------------------------------------------------------------- /py/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/py/README.md -------------------------------------------------------------------------------- /py/all_possible_config.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/py/all_possible_config.toml -------------------------------------------------------------------------------- /py/core/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/py/core/__init__.py -------------------------------------------------------------------------------- /py/core/agent/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/py/core/agent/__init__.py -------------------------------------------------------------------------------- /py/core/agent/base.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/py/core/agent/base.py -------------------------------------------------------------------------------- /py/core/agent/rag.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/py/core/agent/rag.py -------------------------------------------------------------------------------- /py/core/agent/research.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/py/core/agent/research.py -------------------------------------------------------------------------------- /py/core/base/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/py/core/base/__init__.py -------------------------------------------------------------------------------- /py/core/base/abstractions/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/py/core/base/abstractions/__init__.py -------------------------------------------------------------------------------- /py/core/base/agent/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/py/core/base/agent/__init__.py -------------------------------------------------------------------------------- /py/core/base/agent/agent.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/py/core/base/agent/agent.py -------------------------------------------------------------------------------- /py/core/base/agent/tools/built_in/get_file_content.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/py/core/base/agent/tools/built_in/get_file_content.py -------------------------------------------------------------------------------- /py/core/base/agent/tools/built_in/search_file_descriptions.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/py/core/base/agent/tools/built_in/search_file_descriptions.py -------------------------------------------------------------------------------- /py/core/base/agent/tools/built_in/search_file_knowledge.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/py/core/base/agent/tools/built_in/search_file_knowledge.py -------------------------------------------------------------------------------- /py/core/base/agent/tools/built_in/tavily_extract.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/py/core/base/agent/tools/built_in/tavily_extract.py -------------------------------------------------------------------------------- /py/core/base/agent/tools/built_in/tavily_search.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/py/core/base/agent/tools/built_in/tavily_search.py -------------------------------------------------------------------------------- /py/core/base/agent/tools/built_in/web_scrape.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/py/core/base/agent/tools/built_in/web_scrape.py -------------------------------------------------------------------------------- /py/core/base/agent/tools/built_in/web_search.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/py/core/base/agent/tools/built_in/web_search.py -------------------------------------------------------------------------------- /py/core/base/agent/tools/registry.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/py/core/base/agent/tools/registry.py -------------------------------------------------------------------------------- /py/core/base/api/models/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/py/core/base/api/models/__init__.py -------------------------------------------------------------------------------- /py/core/base/parsers/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/py/core/base/parsers/__init__.py -------------------------------------------------------------------------------- /py/core/base/parsers/base_parser.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/py/core/base/parsers/base_parser.py -------------------------------------------------------------------------------- /py/core/base/providers/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/py/core/base/providers/__init__.py -------------------------------------------------------------------------------- /py/core/base/providers/auth.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/py/core/base/providers/auth.py -------------------------------------------------------------------------------- /py/core/base/providers/base.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/py/core/base/providers/base.py -------------------------------------------------------------------------------- /py/core/base/providers/crypto.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/py/core/base/providers/crypto.py -------------------------------------------------------------------------------- /py/core/base/providers/database.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/py/core/base/providers/database.py -------------------------------------------------------------------------------- /py/core/base/providers/email.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/py/core/base/providers/email.py -------------------------------------------------------------------------------- /py/core/base/providers/embedding.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/py/core/base/providers/embedding.py -------------------------------------------------------------------------------- /py/core/base/providers/file.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/py/core/base/providers/file.py -------------------------------------------------------------------------------- /py/core/base/providers/ingestion.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/py/core/base/providers/ingestion.py -------------------------------------------------------------------------------- /py/core/base/providers/llm.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/py/core/base/providers/llm.py -------------------------------------------------------------------------------- /py/core/base/providers/ocr.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/py/core/base/providers/ocr.py -------------------------------------------------------------------------------- /py/core/base/providers/orchestration.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/py/core/base/providers/orchestration.py -------------------------------------------------------------------------------- /py/core/base/providers/scheduler.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/py/core/base/providers/scheduler.py -------------------------------------------------------------------------------- /py/core/base/utils/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/py/core/base/utils/__init__.py -------------------------------------------------------------------------------- /py/core/configs/full.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/py/core/configs/full.toml -------------------------------------------------------------------------------- /py/core/configs/full_azure.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/py/core/configs/full_azure.toml -------------------------------------------------------------------------------- /py/core/configs/full_lm_studio.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/py/core/configs/full_lm_studio.toml -------------------------------------------------------------------------------- /py/core/configs/full_ollama.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/py/core/configs/full_ollama.toml -------------------------------------------------------------------------------- /py/core/configs/gemini.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/py/core/configs/gemini.toml -------------------------------------------------------------------------------- /py/core/configs/lm_studio.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/py/core/configs/lm_studio.toml -------------------------------------------------------------------------------- /py/core/configs/ollama.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/py/core/configs/ollama.toml -------------------------------------------------------------------------------- /py/core/configs/r2r_azure.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/py/core/configs/r2r_azure.toml -------------------------------------------------------------------------------- /py/core/configs/r2r_azure_with_test_limits.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/py/core/configs/r2r_azure_with_test_limits.toml -------------------------------------------------------------------------------- /py/core/configs/r2r_with_auth.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/py/core/configs/r2r_with_auth.toml -------------------------------------------------------------------------------- /py/core/configs/tavily.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/py/core/configs/tavily.toml -------------------------------------------------------------------------------- /py/core/examples/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /py/core/examples/data/DeepSeek_R1.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/py/core/examples/data/DeepSeek_R1.pdf -------------------------------------------------------------------------------- /py/core/examples/data/aristotle.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/py/core/examples/data/aristotle.txt -------------------------------------------------------------------------------- /py/core/examples/data/aristotle_v2.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/py/core/examples/data/aristotle_v2.txt -------------------------------------------------------------------------------- /py/core/examples/data/aristotle_v3.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/py/core/examples/data/aristotle_v3.txt -------------------------------------------------------------------------------- /py/core/examples/data/got.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/py/core/examples/data/got.txt -------------------------------------------------------------------------------- /py/core/examples/data/graphrag.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/py/core/examples/data/graphrag.pdf -------------------------------------------------------------------------------- /py/core/examples/data/lyft_2021.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/py/core/examples/data/lyft_2021.pdf -------------------------------------------------------------------------------- /py/core/examples/data/pg_essay_1.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/py/core/examples/data/pg_essay_1.html -------------------------------------------------------------------------------- /py/core/examples/data/pg_essay_2.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/py/core/examples/data/pg_essay_2.html -------------------------------------------------------------------------------- /py/core/examples/data/pg_essay_3.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/py/core/examples/data/pg_essay_3.html -------------------------------------------------------------------------------- /py/core/examples/data/pg_essay_4.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/py/core/examples/data/pg_essay_4.html -------------------------------------------------------------------------------- /py/core/examples/data/pg_essay_5.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/py/core/examples/data/pg_essay_5.html -------------------------------------------------------------------------------- /py/core/examples/data/sample.mp3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/py/core/examples/data/sample.mp3 -------------------------------------------------------------------------------- /py/core/examples/data/sample2.mp3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/py/core/examples/data/sample2.mp3 -------------------------------------------------------------------------------- /py/core/examples/data/screen_shot.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/py/core/examples/data/screen_shot.png -------------------------------------------------------------------------------- /py/core/examples/data/test.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/py/core/examples/data/test.txt -------------------------------------------------------------------------------- /py/core/examples/data/uber_2021.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/py/core/examples/data/uber_2021.pdf -------------------------------------------------------------------------------- /py/core/examples/data/yc_companies.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/py/core/examples/data/yc_companies.txt -------------------------------------------------------------------------------- /py/core/examples/hello_r2r.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/py/core/examples/hello_r2r.ipynb -------------------------------------------------------------------------------- /py/core/examples/hello_r2r.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/py/core/examples/hello_r2r.py -------------------------------------------------------------------------------- /py/core/examples/supported_file_types/bmp.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/py/core/examples/supported_file_types/bmp.bmp -------------------------------------------------------------------------------- /py/core/examples/supported_file_types/css.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/py/core/examples/supported_file_types/css.css -------------------------------------------------------------------------------- /py/core/examples/supported_file_types/csv.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/py/core/examples/supported_file_types/csv.csv -------------------------------------------------------------------------------- /py/core/examples/supported_file_types/doc.doc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/py/core/examples/supported_file_types/doc.doc -------------------------------------------------------------------------------- /py/core/examples/supported_file_types/docx.docx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/py/core/examples/supported_file_types/docx.docx -------------------------------------------------------------------------------- /py/core/examples/supported_file_types/eml.eml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/py/core/examples/supported_file_types/eml.eml -------------------------------------------------------------------------------- /py/core/examples/supported_file_types/epub.epub: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/py/core/examples/supported_file_types/epub.epub -------------------------------------------------------------------------------- /py/core/examples/supported_file_types/heic.heic: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/py/core/examples/supported_file_types/heic.heic -------------------------------------------------------------------------------- /py/core/examples/supported_file_types/html.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/py/core/examples/supported_file_types/html.html -------------------------------------------------------------------------------- /py/core/examples/supported_file_types/jpeg.jpeg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/py/core/examples/supported_file_types/jpeg.jpeg -------------------------------------------------------------------------------- /py/core/examples/supported_file_types/jpg.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/py/core/examples/supported_file_types/jpg.jpg -------------------------------------------------------------------------------- /py/core/examples/supported_file_types/js.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/py/core/examples/supported_file_types/js.js -------------------------------------------------------------------------------- /py/core/examples/supported_file_types/json.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/py/core/examples/supported_file_types/json.json -------------------------------------------------------------------------------- /py/core/examples/supported_file_types/md.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/py/core/examples/supported_file_types/md.md -------------------------------------------------------------------------------- /py/core/examples/supported_file_types/msg.msg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/py/core/examples/supported_file_types/msg.msg -------------------------------------------------------------------------------- /py/core/examples/supported_file_types/odt.odt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/py/core/examples/supported_file_types/odt.odt -------------------------------------------------------------------------------- /py/core/examples/supported_file_types/org.org: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/py/core/examples/supported_file_types/org.org -------------------------------------------------------------------------------- /py/core/examples/supported_file_types/p7s.p7s: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/py/core/examples/supported_file_types/p7s.p7s -------------------------------------------------------------------------------- /py/core/examples/supported_file_types/pdf.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/py/core/examples/supported_file_types/pdf.pdf -------------------------------------------------------------------------------- /py/core/examples/supported_file_types/png.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/py/core/examples/supported_file_types/png.png -------------------------------------------------------------------------------- /py/core/examples/supported_file_types/ppt.ppt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/py/core/examples/supported_file_types/ppt.ppt -------------------------------------------------------------------------------- /py/core/examples/supported_file_types/pptx.pptx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/py/core/examples/supported_file_types/pptx.pptx -------------------------------------------------------------------------------- /py/core/examples/supported_file_types/py.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/py/core/examples/supported_file_types/py.py -------------------------------------------------------------------------------- /py/core/examples/supported_file_types/rst.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/py/core/examples/supported_file_types/rst.rst -------------------------------------------------------------------------------- /py/core/examples/supported_file_types/rtf.rtf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/py/core/examples/supported_file_types/rtf.rtf -------------------------------------------------------------------------------- /py/core/examples/supported_file_types/tiff.tiff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/py/core/examples/supported_file_types/tiff.tiff -------------------------------------------------------------------------------- /py/core/examples/supported_file_types/ts.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/py/core/examples/supported_file_types/ts.ts -------------------------------------------------------------------------------- /py/core/examples/supported_file_types/tsv.tsv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/py/core/examples/supported_file_types/tsv.tsv -------------------------------------------------------------------------------- /py/core/examples/supported_file_types/txt.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/py/core/examples/supported_file_types/txt.txt -------------------------------------------------------------------------------- /py/core/examples/supported_file_types/xls.xls: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/py/core/examples/supported_file_types/xls.xls -------------------------------------------------------------------------------- /py/core/examples/supported_file_types/xlsx.xlsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/py/core/examples/supported_file_types/xlsx.xlsx -------------------------------------------------------------------------------- /py/core/main/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/py/core/main/__init__.py -------------------------------------------------------------------------------- /py/core/main/abstractions.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/py/core/main/abstractions.py -------------------------------------------------------------------------------- /py/core/main/api/v3/base_router.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/py/core/main/api/v3/base_router.py -------------------------------------------------------------------------------- /py/core/main/api/v3/chunks_router.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/py/core/main/api/v3/chunks_router.py -------------------------------------------------------------------------------- /py/core/main/api/v3/collections_router.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/py/core/main/api/v3/collections_router.py -------------------------------------------------------------------------------- /py/core/main/api/v3/conversations_router.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/py/core/main/api/v3/conversations_router.py -------------------------------------------------------------------------------- /py/core/main/api/v3/documents_router.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/py/core/main/api/v3/documents_router.py -------------------------------------------------------------------------------- /py/core/main/api/v3/graph_router.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/py/core/main/api/v3/graph_router.py -------------------------------------------------------------------------------- /py/core/main/api/v3/indices_router.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/py/core/main/api/v3/indices_router.py -------------------------------------------------------------------------------- /py/core/main/api/v3/prompts_router.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/py/core/main/api/v3/prompts_router.py -------------------------------------------------------------------------------- /py/core/main/api/v3/retrieval_router.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/py/core/main/api/v3/retrieval_router.py -------------------------------------------------------------------------------- /py/core/main/api/v3/system_router.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/py/core/main/api/v3/system_router.py -------------------------------------------------------------------------------- /py/core/main/api/v3/users_router.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/py/core/main/api/v3/users_router.py -------------------------------------------------------------------------------- /py/core/main/app.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/py/core/main/app.py -------------------------------------------------------------------------------- /py/core/main/app_entry.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/py/core/main/app_entry.py -------------------------------------------------------------------------------- /py/core/main/assembly/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/py/core/main/assembly/__init__.py -------------------------------------------------------------------------------- /py/core/main/assembly/builder.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/py/core/main/assembly/builder.py -------------------------------------------------------------------------------- /py/core/main/assembly/factory.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/py/core/main/assembly/factory.py -------------------------------------------------------------------------------- /py/core/main/assembly/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/py/core/main/assembly/utils.py -------------------------------------------------------------------------------- /py/core/main/config.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/py/core/main/config.py -------------------------------------------------------------------------------- /py/core/main/middleware/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/py/core/main/middleware/__init__.py -------------------------------------------------------------------------------- /py/core/main/middleware/project_schema.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/py/core/main/middleware/project_schema.py -------------------------------------------------------------------------------- /py/core/main/orchestration/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/py/core/main/orchestration/__init__.py -------------------------------------------------------------------------------- /py/core/main/orchestration/hatchet/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /py/core/main/orchestration/hatchet/graph_workflow.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/py/core/main/orchestration/hatchet/graph_workflow.py -------------------------------------------------------------------------------- /py/core/main/orchestration/hatchet/ingestion_workflow.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/py/core/main/orchestration/hatchet/ingestion_workflow.py -------------------------------------------------------------------------------- /py/core/main/orchestration/simple/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /py/core/main/orchestration/simple/graph_workflow.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/py/core/main/orchestration/simple/graph_workflow.py -------------------------------------------------------------------------------- /py/core/main/orchestration/simple/ingestion_workflow.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/py/core/main/orchestration/simple/ingestion_workflow.py -------------------------------------------------------------------------------- /py/core/main/services/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/py/core/main/services/__init__.py -------------------------------------------------------------------------------- /py/core/main/services/auth_service.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/py/core/main/services/auth_service.py -------------------------------------------------------------------------------- /py/core/main/services/base.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/py/core/main/services/base.py -------------------------------------------------------------------------------- /py/core/main/services/graph_service.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/py/core/main/services/graph_service.py -------------------------------------------------------------------------------- /py/core/main/services/ingestion_service.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/py/core/main/services/ingestion_service.py -------------------------------------------------------------------------------- /py/core/main/services/maintenance_service.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/py/core/main/services/maintenance_service.py -------------------------------------------------------------------------------- /py/core/main/services/management_service.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/py/core/main/services/management_service.py -------------------------------------------------------------------------------- /py/core/main/services/retrieval_service.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/py/core/main/services/retrieval_service.py -------------------------------------------------------------------------------- /py/core/parsers/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/py/core/parsers/__init__.py -------------------------------------------------------------------------------- /py/core/parsers/media/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/py/core/parsers/media/__init__.py -------------------------------------------------------------------------------- /py/core/parsers/media/audio_parser.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/py/core/parsers/media/audio_parser.py -------------------------------------------------------------------------------- /py/core/parsers/media/bmp_parser.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/py/core/parsers/media/bmp_parser.py -------------------------------------------------------------------------------- /py/core/parsers/media/doc_parser.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/py/core/parsers/media/doc_parser.py -------------------------------------------------------------------------------- /py/core/parsers/media/docx_parser.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/py/core/parsers/media/docx_parser.py -------------------------------------------------------------------------------- /py/core/parsers/media/img_parser.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/py/core/parsers/media/img_parser.py -------------------------------------------------------------------------------- /py/core/parsers/media/odt_parser.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/py/core/parsers/media/odt_parser.py -------------------------------------------------------------------------------- /py/core/parsers/media/pdf_parser.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/py/core/parsers/media/pdf_parser.py -------------------------------------------------------------------------------- /py/core/parsers/media/ppt_parser.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/py/core/parsers/media/ppt_parser.py -------------------------------------------------------------------------------- /py/core/parsers/media/pptx_parser.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/py/core/parsers/media/pptx_parser.py -------------------------------------------------------------------------------- /py/core/parsers/media/rtf_parser.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/py/core/parsers/media/rtf_parser.py -------------------------------------------------------------------------------- /py/core/parsers/structured/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/py/core/parsers/structured/__init__.py -------------------------------------------------------------------------------- /py/core/parsers/structured/csv_parser.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/py/core/parsers/structured/csv_parser.py -------------------------------------------------------------------------------- /py/core/parsers/structured/eml_parser.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/py/core/parsers/structured/eml_parser.py -------------------------------------------------------------------------------- /py/core/parsers/structured/epub_parser.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/py/core/parsers/structured/epub_parser.py -------------------------------------------------------------------------------- /py/core/parsers/structured/json_parser.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/py/core/parsers/structured/json_parser.py -------------------------------------------------------------------------------- /py/core/parsers/structured/msg_parser.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/py/core/parsers/structured/msg_parser.py -------------------------------------------------------------------------------- /py/core/parsers/structured/org_parser.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/py/core/parsers/structured/org_parser.py -------------------------------------------------------------------------------- /py/core/parsers/structured/p7s_parser.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/py/core/parsers/structured/p7s_parser.py -------------------------------------------------------------------------------- /py/core/parsers/structured/rst_parser.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/py/core/parsers/structured/rst_parser.py -------------------------------------------------------------------------------- /py/core/parsers/structured/tsv_parser.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/py/core/parsers/structured/tsv_parser.py -------------------------------------------------------------------------------- /py/core/parsers/structured/xls_parser.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/py/core/parsers/structured/xls_parser.py -------------------------------------------------------------------------------- /py/core/parsers/structured/xlsx_parser.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/py/core/parsers/structured/xlsx_parser.py -------------------------------------------------------------------------------- /py/core/parsers/text/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/py/core/parsers/text/__init__.py -------------------------------------------------------------------------------- /py/core/parsers/text/css_parser.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/py/core/parsers/text/css_parser.py -------------------------------------------------------------------------------- /py/core/parsers/text/html_parser.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/py/core/parsers/text/html_parser.py -------------------------------------------------------------------------------- /py/core/parsers/text/js_parser.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/py/core/parsers/text/js_parser.py -------------------------------------------------------------------------------- /py/core/parsers/text/md_parser.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/py/core/parsers/text/md_parser.py -------------------------------------------------------------------------------- /py/core/parsers/text/python_parser.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/py/core/parsers/text/python_parser.py -------------------------------------------------------------------------------- /py/core/parsers/text/text_parser.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/py/core/parsers/text/text_parser.py -------------------------------------------------------------------------------- /py/core/parsers/text/ts_parser.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/py/core/parsers/text/ts_parser.py -------------------------------------------------------------------------------- /py/core/providers/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/py/core/providers/__init__.py -------------------------------------------------------------------------------- /py/core/providers/auth/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/py/core/providers/auth/__init__.py -------------------------------------------------------------------------------- /py/core/providers/auth/clerk.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/py/core/providers/auth/clerk.py -------------------------------------------------------------------------------- /py/core/providers/auth/jwt.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/py/core/providers/auth/jwt.py -------------------------------------------------------------------------------- /py/core/providers/auth/r2r_auth.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/py/core/providers/auth/r2r_auth.py -------------------------------------------------------------------------------- /py/core/providers/auth/supabase.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/py/core/providers/auth/supabase.py -------------------------------------------------------------------------------- /py/core/providers/crypto/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/py/core/providers/crypto/__init__.py -------------------------------------------------------------------------------- /py/core/providers/crypto/bcrypt.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/py/core/providers/crypto/bcrypt.py -------------------------------------------------------------------------------- /py/core/providers/crypto/nacl.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/py/core/providers/crypto/nacl.py -------------------------------------------------------------------------------- /py/core/providers/database/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/py/core/providers/database/__init__.py -------------------------------------------------------------------------------- /py/core/providers/database/base.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/py/core/providers/database/base.py -------------------------------------------------------------------------------- /py/core/providers/database/chunks.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/py/core/providers/database/chunks.py -------------------------------------------------------------------------------- /py/core/providers/database/collections.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/py/core/providers/database/collections.py -------------------------------------------------------------------------------- /py/core/providers/database/conversations.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/py/core/providers/database/conversations.py -------------------------------------------------------------------------------- /py/core/providers/database/documents.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/py/core/providers/database/documents.py -------------------------------------------------------------------------------- /py/core/providers/database/filters.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/py/core/providers/database/filters.py -------------------------------------------------------------------------------- /py/core/providers/database/graphs.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/py/core/providers/database/graphs.py -------------------------------------------------------------------------------- /py/core/providers/database/limits.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/py/core/providers/database/limits.py -------------------------------------------------------------------------------- /py/core/providers/database/maintenance.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/py/core/providers/database/maintenance.py -------------------------------------------------------------------------------- /py/core/providers/database/postgres.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/py/core/providers/database/postgres.py -------------------------------------------------------------------------------- /py/core/providers/database/prompts/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /py/core/providers/database/prompts/chunk_enrichment.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/py/core/providers/database/prompts/chunk_enrichment.yaml -------------------------------------------------------------------------------- /py/core/providers/database/prompts/collection_summary.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/py/core/providers/database/prompts/collection_summary.yaml -------------------------------------------------------------------------------- /py/core/providers/database/prompts/dynamic_rag_agent.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/py/core/providers/database/prompts/dynamic_rag_agent.yaml -------------------------------------------------------------------------------- /py/core/providers/database/prompts/dynamic_rag_agent_xml_tooling.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/py/core/providers/database/prompts/dynamic_rag_agent_xml_tooling.yaml -------------------------------------------------------------------------------- /py/core/providers/database/prompts/graph_communities.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/py/core/providers/database/prompts/graph_communities.yaml -------------------------------------------------------------------------------- /py/core/providers/database/prompts/graph_entity_description.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/py/core/providers/database/prompts/graph_entity_description.yaml -------------------------------------------------------------------------------- /py/core/providers/database/prompts/graph_extraction.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/py/core/providers/database/prompts/graph_extraction.yaml -------------------------------------------------------------------------------- /py/core/providers/database/prompts/hyde.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/py/core/providers/database/prompts/hyde.yaml -------------------------------------------------------------------------------- /py/core/providers/database/prompts/rag.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/py/core/providers/database/prompts/rag.yaml -------------------------------------------------------------------------------- /py/core/providers/database/prompts/rag_fusion.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/py/core/providers/database/prompts/rag_fusion.yaml -------------------------------------------------------------------------------- /py/core/providers/database/prompts/static_rag_agent.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/py/core/providers/database/prompts/static_rag_agent.yaml -------------------------------------------------------------------------------- /py/core/providers/database/prompts/static_research_agent.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/py/core/providers/database/prompts/static_research_agent.yaml -------------------------------------------------------------------------------- /py/core/providers/database/prompts/summary.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/py/core/providers/database/prompts/summary.yaml -------------------------------------------------------------------------------- /py/core/providers/database/prompts/system.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/py/core/providers/database/prompts/system.yaml -------------------------------------------------------------------------------- /py/core/providers/database/prompts/vision_img.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/py/core/providers/database/prompts/vision_img.yaml -------------------------------------------------------------------------------- /py/core/providers/database/prompts/vision_pdf.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/py/core/providers/database/prompts/vision_pdf.yaml -------------------------------------------------------------------------------- /py/core/providers/database/prompts_handler.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/py/core/providers/database/prompts_handler.py -------------------------------------------------------------------------------- /py/core/providers/database/tokens.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/py/core/providers/database/tokens.py -------------------------------------------------------------------------------- /py/core/providers/database/users.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/py/core/providers/database/users.py -------------------------------------------------------------------------------- /py/core/providers/database/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/py/core/providers/database/utils.py -------------------------------------------------------------------------------- /py/core/providers/email/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/py/core/providers/email/__init__.py -------------------------------------------------------------------------------- /py/core/providers/email/console_mock.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/py/core/providers/email/console_mock.py -------------------------------------------------------------------------------- /py/core/providers/email/mailersend.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/py/core/providers/email/mailersend.py -------------------------------------------------------------------------------- /py/core/providers/email/sendgrid.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/py/core/providers/email/sendgrid.py -------------------------------------------------------------------------------- /py/core/providers/email/smtp.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/py/core/providers/email/smtp.py -------------------------------------------------------------------------------- /py/core/providers/embeddings/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/py/core/providers/embeddings/__init__.py -------------------------------------------------------------------------------- /py/core/providers/embeddings/litellm.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/py/core/providers/embeddings/litellm.py -------------------------------------------------------------------------------- /py/core/providers/embeddings/ollama.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/py/core/providers/embeddings/ollama.py -------------------------------------------------------------------------------- /py/core/providers/embeddings/openai.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/py/core/providers/embeddings/openai.py -------------------------------------------------------------------------------- /py/core/providers/embeddings/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/py/core/providers/embeddings/utils.py -------------------------------------------------------------------------------- /py/core/providers/file/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/py/core/providers/file/__init__.py -------------------------------------------------------------------------------- /py/core/providers/file/postgres.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/py/core/providers/file/postgres.py -------------------------------------------------------------------------------- /py/core/providers/file/s3.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/py/core/providers/file/s3.py -------------------------------------------------------------------------------- /py/core/providers/ingestion/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/py/core/providers/ingestion/__init__.py -------------------------------------------------------------------------------- /py/core/providers/ingestion/r2r/base.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/py/core/providers/ingestion/r2r/base.py -------------------------------------------------------------------------------- /py/core/providers/ingestion/unstructured/base.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/py/core/providers/ingestion/unstructured/base.py -------------------------------------------------------------------------------- /py/core/providers/llm/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/py/core/providers/llm/__init__.py -------------------------------------------------------------------------------- /py/core/providers/llm/anthropic.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/py/core/providers/llm/anthropic.py -------------------------------------------------------------------------------- /py/core/providers/llm/azure_foundry.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/py/core/providers/llm/azure_foundry.py -------------------------------------------------------------------------------- /py/core/providers/llm/litellm.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/py/core/providers/llm/litellm.py -------------------------------------------------------------------------------- /py/core/providers/llm/openai.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/py/core/providers/llm/openai.py -------------------------------------------------------------------------------- /py/core/providers/llm/r2r_llm.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/py/core/providers/llm/r2r_llm.py -------------------------------------------------------------------------------- /py/core/providers/llm/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/py/core/providers/llm/utils.py -------------------------------------------------------------------------------- /py/core/providers/ocr/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/py/core/providers/ocr/__init__.py -------------------------------------------------------------------------------- /py/core/providers/ocr/mistral.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/py/core/providers/ocr/mistral.py -------------------------------------------------------------------------------- /py/core/providers/orchestration/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/py/core/providers/orchestration/__init__.py -------------------------------------------------------------------------------- /py/core/providers/orchestration/hatchet.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/py/core/providers/orchestration/hatchet.py -------------------------------------------------------------------------------- /py/core/providers/orchestration/simple.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/py/core/providers/orchestration/simple.py -------------------------------------------------------------------------------- /py/core/providers/scheduler/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/py/core/providers/scheduler/__init__.py -------------------------------------------------------------------------------- /py/core/providers/scheduler/apscheduler.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/py/core/providers/scheduler/apscheduler.py -------------------------------------------------------------------------------- /py/core/utils/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/py/core/utils/__init__.py -------------------------------------------------------------------------------- /py/core/utils/context.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/py/core/utils/context.py -------------------------------------------------------------------------------- /py/core/utils/logging_config.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/py/core/utils/logging_config.py -------------------------------------------------------------------------------- /py/core/utils/sentry.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/py/core/utils/sentry.py -------------------------------------------------------------------------------- /py/core/utils/serper.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/py/core/utils/serper.py -------------------------------------------------------------------------------- /py/migrations/README: -------------------------------------------------------------------------------- 1 | Generic single-database configuration. 2 | -------------------------------------------------------------------------------- /py/migrations/alembic.ini: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/py/migrations/alembic.ini -------------------------------------------------------------------------------- /py/migrations/env.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/py/migrations/env.py -------------------------------------------------------------------------------- /py/migrations/script.py.mako: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/py/migrations/script.py.mako -------------------------------------------------------------------------------- /py/migrations/versions/2fac23e4d91b_migrate_to_document_search.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/py/migrations/versions/2fac23e4d91b_migrate_to_document_search.py -------------------------------------------------------------------------------- /py/migrations/versions/3efc7b3b1b3d_add_total_tokens_count.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/py/migrations/versions/3efc7b3b1b3d_add_total_tokens_count.py -------------------------------------------------------------------------------- /py/migrations/versions/7eb70560f406_add_limits_overrides_to_users.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/py/migrations/versions/7eb70560f406_add_limits_overrides_to_users.py -------------------------------------------------------------------------------- /py/migrations/versions/8077140e1e99_v3_api_database_revision.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/py/migrations/versions/8077140e1e99_v3_api_database_revision.py -------------------------------------------------------------------------------- /py/migrations/versions/c45a9cf6a8a4_add_user_and_document_count_to_.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/py/migrations/versions/c45a9cf6a8a4_add_user_and_document_count_to_.py -------------------------------------------------------------------------------- /py/migrations/versions/d342e632358a_migrate_to_asyncpg.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/py/migrations/versions/d342e632358a_migrate_to_asyncpg.py -------------------------------------------------------------------------------- /py/pyproject.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/py/pyproject.toml -------------------------------------------------------------------------------- /py/r2r/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/py/r2r/__init__.py -------------------------------------------------------------------------------- /py/r2r/mcp.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/py/r2r/mcp.py -------------------------------------------------------------------------------- /py/r2r/r2r.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/py/r2r/r2r.toml -------------------------------------------------------------------------------- /py/r2r/serve.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/py/r2r/serve.py -------------------------------------------------------------------------------- /py/sdk/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/py/sdk/README.md -------------------------------------------------------------------------------- /py/sdk/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/py/sdk/__init__.py -------------------------------------------------------------------------------- /py/sdk/asnyc_methods/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/py/sdk/asnyc_methods/__init__.py -------------------------------------------------------------------------------- /py/sdk/asnyc_methods/chunks.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/py/sdk/asnyc_methods/chunks.py -------------------------------------------------------------------------------- /py/sdk/asnyc_methods/collections.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/py/sdk/asnyc_methods/collections.py -------------------------------------------------------------------------------- /py/sdk/asnyc_methods/conversations.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/py/sdk/asnyc_methods/conversations.py -------------------------------------------------------------------------------- /py/sdk/asnyc_methods/documents.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/py/sdk/asnyc_methods/documents.py -------------------------------------------------------------------------------- /py/sdk/asnyc_methods/graphs.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/py/sdk/asnyc_methods/graphs.py -------------------------------------------------------------------------------- /py/sdk/asnyc_methods/indices.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/py/sdk/asnyc_methods/indices.py -------------------------------------------------------------------------------- /py/sdk/asnyc_methods/prompts.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/py/sdk/asnyc_methods/prompts.py -------------------------------------------------------------------------------- /py/sdk/asnyc_methods/retrieval.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/py/sdk/asnyc_methods/retrieval.py -------------------------------------------------------------------------------- /py/sdk/asnyc_methods/system.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/py/sdk/asnyc_methods/system.py -------------------------------------------------------------------------------- /py/sdk/asnyc_methods/users.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/py/sdk/asnyc_methods/users.py -------------------------------------------------------------------------------- /py/sdk/async_client.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/py/sdk/async_client.py -------------------------------------------------------------------------------- /py/sdk/base/__init_.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /py/sdk/base/base_client.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/py/sdk/base/base_client.py -------------------------------------------------------------------------------- /py/sdk/models.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/py/sdk/models.py -------------------------------------------------------------------------------- /py/sdk/sync_client.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/py/sdk/sync_client.py -------------------------------------------------------------------------------- /py/sdk/sync_methods/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/py/sdk/sync_methods/__init__.py -------------------------------------------------------------------------------- /py/sdk/sync_methods/chunks.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/py/sdk/sync_methods/chunks.py -------------------------------------------------------------------------------- /py/sdk/sync_methods/collections.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/py/sdk/sync_methods/collections.py -------------------------------------------------------------------------------- /py/sdk/sync_methods/conversations.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/py/sdk/sync_methods/conversations.py -------------------------------------------------------------------------------- /py/sdk/sync_methods/documents.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/py/sdk/sync_methods/documents.py -------------------------------------------------------------------------------- /py/sdk/sync_methods/graphs.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/py/sdk/sync_methods/graphs.py -------------------------------------------------------------------------------- /py/sdk/sync_methods/indices.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/py/sdk/sync_methods/indices.py -------------------------------------------------------------------------------- /py/sdk/sync_methods/prompts.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/py/sdk/sync_methods/prompts.py -------------------------------------------------------------------------------- /py/sdk/sync_methods/retrieval.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/py/sdk/sync_methods/retrieval.py -------------------------------------------------------------------------------- /py/sdk/sync_methods/system.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/py/sdk/sync_methods/system.py -------------------------------------------------------------------------------- /py/sdk/sync_methods/users.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/py/sdk/sync_methods/users.py -------------------------------------------------------------------------------- /py/shared/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/py/shared/__init__.py -------------------------------------------------------------------------------- /py/shared/abstractions/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/py/shared/abstractions/__init__.py -------------------------------------------------------------------------------- /py/shared/abstractions/base.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/py/shared/abstractions/base.py -------------------------------------------------------------------------------- /py/shared/abstractions/document.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/py/shared/abstractions/document.py -------------------------------------------------------------------------------- /py/shared/abstractions/exception.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/py/shared/abstractions/exception.py -------------------------------------------------------------------------------- /py/shared/abstractions/graph.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/py/shared/abstractions/graph.py -------------------------------------------------------------------------------- /py/shared/abstractions/llm.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/py/shared/abstractions/llm.py -------------------------------------------------------------------------------- /py/shared/abstractions/prompt.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/py/shared/abstractions/prompt.py -------------------------------------------------------------------------------- /py/shared/abstractions/search.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/py/shared/abstractions/search.py -------------------------------------------------------------------------------- /py/shared/abstractions/tool.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/py/shared/abstractions/tool.py -------------------------------------------------------------------------------- /py/shared/abstractions/user.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/py/shared/abstractions/user.py -------------------------------------------------------------------------------- /py/shared/abstractions/vector.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/py/shared/abstractions/vector.py -------------------------------------------------------------------------------- /py/shared/api/models/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/py/shared/api/models/__init__.py -------------------------------------------------------------------------------- /py/shared/api/models/auth/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /py/shared/api/models/auth/responses.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/py/shared/api/models/auth/responses.py -------------------------------------------------------------------------------- /py/shared/api/models/base.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/py/shared/api/models/base.py -------------------------------------------------------------------------------- /py/shared/api/models/graph/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /py/shared/api/models/graph/responses.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/py/shared/api/models/graph/responses.py -------------------------------------------------------------------------------- /py/shared/api/models/ingestion/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /py/shared/api/models/ingestion/responses.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/py/shared/api/models/ingestion/responses.py -------------------------------------------------------------------------------- /py/shared/api/models/management/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /py/shared/api/models/management/responses.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/py/shared/api/models/management/responses.py -------------------------------------------------------------------------------- /py/shared/api/models/retrieval/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /py/shared/api/models/retrieval/responses.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/py/shared/api/models/retrieval/responses.py -------------------------------------------------------------------------------- /py/shared/utils/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/py/shared/utils/__init__.py -------------------------------------------------------------------------------- /py/shared/utils/base_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/py/shared/utils/base_utils.py -------------------------------------------------------------------------------- /py/shared/utils/splitter/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/py/shared/utils/splitter/__init__.py -------------------------------------------------------------------------------- /py/shared/utils/splitter/text.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/py/shared/utils/splitter/text.py -------------------------------------------------------------------------------- /py/tests/integration/conftest.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/py/tests/integration/conftest.py -------------------------------------------------------------------------------- /py/tests/integration/test_agent.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/py/tests/integration/test_agent.py -------------------------------------------------------------------------------- /py/tests/integration/test_base.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/py/tests/integration/test_base.py -------------------------------------------------------------------------------- /py/tests/integration/test_chunks.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/py/tests/integration/test_chunks.py -------------------------------------------------------------------------------- /py/tests/integration/test_collections.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/py/tests/integration/test_collections.py -------------------------------------------------------------------------------- /py/tests/integration/test_collections_users_interaction.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/py/tests/integration/test_collections_users_interaction.py -------------------------------------------------------------------------------- /py/tests/integration/test_conversations.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/py/tests/integration/test_conversations.py -------------------------------------------------------------------------------- /py/tests/integration/test_documents.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/py/tests/integration/test_documents.py -------------------------------------------------------------------------------- /py/tests/integration/test_filters.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/py/tests/integration/test_filters.py -------------------------------------------------------------------------------- /py/tests/integration/test_graphs.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/py/tests/integration/test_graphs.py -------------------------------------------------------------------------------- /py/tests/integration/test_indices.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/py/tests/integration/test_indices.py -------------------------------------------------------------------------------- /py/tests/integration/test_ingestion.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/py/tests/integration/test_ingestion.py -------------------------------------------------------------------------------- /py/tests/integration/test_retrieval.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/py/tests/integration/test_retrieval.py -------------------------------------------------------------------------------- /py/tests/integration/test_retrieval_advanced.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/py/tests/integration/test_retrieval_advanced.py -------------------------------------------------------------------------------- /py/tests/integration/test_system.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/py/tests/integration/test_system.py -------------------------------------------------------------------------------- /py/tests/integration/test_users.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/py/tests/integration/test_users.py -------------------------------------------------------------------------------- /py/tests/scaling/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /py/tests/scaling/loadTester.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/py/tests/scaling/loadTester.py -------------------------------------------------------------------------------- /py/tests/unit/agent/test_agent.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/py/tests/unit/agent/test_agent.py -------------------------------------------------------------------------------- /py/tests/unit/agent/test_agent_citations.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/py/tests/unit/agent/test_agent_citations.py -------------------------------------------------------------------------------- /py/tests/unit/agent/test_agent_citations_old.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/py/tests/unit/agent/test_agent_citations_old.py -------------------------------------------------------------------------------- /py/tests/unit/agent/test_agent_old.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/py/tests/unit/agent/test_agent_old.py -------------------------------------------------------------------------------- /py/tests/unit/agent/test_streaming_agent.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/py/tests/unit/agent/test_streaming_agent.py -------------------------------------------------------------------------------- /py/tests/unit/app/test_config.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/py/tests/unit/app/test_config.py -------------------------------------------------------------------------------- /py/tests/unit/app/test_routes.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/py/tests/unit/app/test_routes.py -------------------------------------------------------------------------------- /py/tests/unit/conftest.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/py/tests/unit/conftest.py -------------------------------------------------------------------------------- /py/tests/unit/database/test_collections.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/py/tests/unit/database/test_collections.py -------------------------------------------------------------------------------- /py/tests/unit/database/test_conversations.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/py/tests/unit/database/test_conversations.py -------------------------------------------------------------------------------- /py/tests/unit/database/test_graphs.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/py/tests/unit/database/test_graphs.py -------------------------------------------------------------------------------- /py/tests/unit/database/test_limits.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/py/tests/unit/database/test_limits.py -------------------------------------------------------------------------------- /py/tests/unit/document/test_chunks.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/py/tests/unit/document/test_chunks.py -------------------------------------------------------------------------------- /py/tests/unit/document/test_document_processing.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/py/tests/unit/document/test_document_processing.py -------------------------------------------------------------------------------- /py/tests/unit/document/test_documents.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/py/tests/unit/document/test_documents.py -------------------------------------------------------------------------------- /py/tests/unit/retrieval/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /py/tests/unit/retrieval/conftest.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/py/tests/unit/retrieval/conftest.py -------------------------------------------------------------------------------- /py/tests/unit/retrieval/test_citations.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/py/tests/unit/retrieval/test_citations.py -------------------------------------------------------------------------------- /py/tests/unit/retrieval/test_database_filters.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/py/tests/unit/retrieval/test_database_filters.py -------------------------------------------------------------------------------- /py/tests/unit/retrieval/test_rag_processing.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/py/tests/unit/retrieval/test_rag_processing.py -------------------------------------------------------------------------------- /py/tests/unit/retrieval/test_retrieval_old.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/py/tests/unit/retrieval/test_retrieval_old.py -------------------------------------------------------------------------------- /py/uv.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/py/uv.lock -------------------------------------------------------------------------------- /services/README.md: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /services/clustering/Dockerfile.clustering: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/services/clustering/Dockerfile.clustering -------------------------------------------------------------------------------- /services/clustering/main.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/services/clustering/main.py -------------------------------------------------------------------------------- /services/unstructured/Dockerfile.unstructured: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/services/unstructured/Dockerfile.unstructured -------------------------------------------------------------------------------- /services/unstructured/README.md: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /services/unstructured/main.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R/HEAD/services/unstructured/main.py --------------------------------------------------------------------------------