-
Notifications
You must be signed in to change notification settings - Fork 284
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
91c420e
commit e9f97ff
Showing
146 changed files
with
5,538 additions
and
3,714 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
80 changes: 80 additions & 0 deletions
80
.github/workflows/r2r-full-py-integration-tests-graphrag.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,80 @@ | ||
name: R2R Full Python Integration Test (ubuntu) | ||
|
||
on: | ||
push: | ||
branches: | ||
- dev | ||
- dev-minor | ||
pull_request: | ||
branches: | ||
- dev | ||
- dev-minor | ||
workflow_dispatch: | ||
|
||
jobs: | ||
test: | ||
runs-on: ${{ matrix.os }} | ||
|
||
strategy: | ||
matrix: | ||
os: [ubuntu-latest] | ||
test_category: | ||
- cli-graphrag | ||
- sdk-graphrag | ||
env: | ||
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }} | ||
TELEMETRY_ENABLED: 'false' | ||
R2R_PROJECT_NAME: r2r_default | ||
|
||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v4 | ||
|
||
- name: Set up Python and install dependencies | ||
uses: ./.github/actions/setup-python-full | ||
with: | ||
os: ${{ matrix.os }} | ||
|
||
- name: Setup and start Docker | ||
uses: ./.github/actions/setup-docker | ||
|
||
- name: Login Docker | ||
uses: ./.github/actions/login-docker | ||
with: | ||
docker_username: ${{ secrets.RAGTORICHES_DOCKER_UNAME }} | ||
docker_password: ${{ secrets.RAGTORICHES_DOCKER_TOKEN }} | ||
|
||
- name: Start R2R Full server | ||
uses: ./.github/actions/start-r2r-full | ||
|
||
- name: Run CLI Ingestion Tests | ||
if: matrix.test_category == 'cli-ingestion' | ||
uses: ./.github/actions/run-cli-ingestion-tests | ||
|
||
- name: Run CLI Retrieval Tests | ||
if: matrix.test_category == 'cli-retrieval' | ||
uses: ./.github/actions/run-cli-retrieval-tests | ||
|
||
- name: Run CLI GraphRAG Tests | ||
if: matrix.test_category == 'cli-graphrag' | ||
uses: ./.github/actions/run-cli-graphrag-tests | ||
|
||
- name: Run SDK Ingestion Tests | ||
if: matrix.test_category == 'sdk-ingestion' | ||
uses: ./.github/actions/run-sdk-ingestion-tests | ||
|
||
- name: Run SDK Retrieval Tests | ||
if: matrix.test_category == 'sdk-retrieval' | ||
uses: ./.github/actions/run-sdk-retrieval-tests | ||
|
||
- name: Run SDK Auth Tests | ||
if: matrix.test_category == 'sdk-auth' | ||
uses: ./.github/actions/run-sdk-auth-tests | ||
|
||
- name: Run SDK Collections Tests | ||
if: matrix.test_category == 'sdk-collections' | ||
uses: ./.github/actions/run-sdk-collections-tests | ||
|
||
- name: Run SDK GraphRAG Tests | ||
if: matrix.test_category == 'sdk-graphrag' | ||
uses: ./.github/actions/run-sdk-graphrag-tests |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
83 changes: 83 additions & 0 deletions
83
.github/workflows/r2r-light-py-integration-tests-graphrag.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,83 @@ | ||
# yaml-language-server: $schema=https://json.schemastore.org/github-workflow.json | ||
|
||
name: R2R Light Python Integration Test (ubuntu) | ||
|
||
on: | ||
push: | ||
branches: | ||
- dev | ||
- dev-minor | ||
pull_request: | ||
branches: | ||
- dev | ||
- dev-minor | ||
workflow_dispatch: | ||
|
||
jobs: | ||
test: | ||
runs-on: ${{ matrix.os }} | ||
|
||
strategy: | ||
matrix: | ||
os: [ubuntu-latest] | ||
test_category: | ||
- cli-graphrag | ||
- sdk-graphrag | ||
env: | ||
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }} | ||
TELEMETRY_ENABLED: 'false' | ||
R2R_POSTGRES_HOST: localhost | ||
R2R_POSTGRES_DBNAME: postgres | ||
R2R_POSTGRES_PORT: '5432' | ||
R2R_POSTGRES_PASSWORD: postgres | ||
R2R_POSTGRES_USER: postgres | ||
R2R_PROJECT_NAME: r2r_default | ||
|
||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v4 | ||
|
||
- name: Set up Python and install dependencies | ||
uses: ./.github/actions/setup-python-light | ||
with: | ||
os: ${{ matrix.os }} | ||
|
||
- name: Setup and start PostgreSQL | ||
uses: ./.github/actions/setup-postgres-ext | ||
with: | ||
os: ${{ matrix.os }} | ||
|
||
- name: Start R2R Light server | ||
uses: ./.github/actions/start-r2r-light | ||
|
||
- name: Run CLI Ingestion Tests | ||
if: matrix.test_category == 'cli-ingestion' | ||
uses: ./.github/actions/run-cli-ingestion-tests | ||
|
||
- name: Run CLI Retrieval Tests | ||
if: matrix.test_category == 'cli-retrieval' | ||
uses: ./.github/actions/run-cli-retrieval-tests | ||
|
||
- name: Run CLI GraphRAG Tests | ||
if: matrix.test_category == 'cli-graphrag' | ||
uses: ./.github/actions/run-cli-graphrag-tests | ||
|
||
- name: Run SDK Ingestion Tests | ||
if: matrix.test_category == 'sdk-ingestion' | ||
uses: ./.github/actions/run-sdk-ingestion-tests | ||
|
||
- name: Run SDK Retrieval Tests | ||
if: matrix.test_category == 'sdk-retrieval' | ||
uses: ./.github/actions/run-sdk-retrieval-tests | ||
|
||
- name: Run SDK Auth Tests | ||
if: matrix.test_category == 'sdk-auth' | ||
uses: ./.github/actions/run-sdk-auth-tests | ||
|
||
- name: Run SDK Collections Tests | ||
if: matrix.test_category == 'sdk-collections' | ||
uses: ./.github/actions/run-sdk-collections-tests | ||
|
||
- name: Run SDK GraphRAG Tests | ||
if: matrix.test_category == 'sdk-graphrag' | ||
uses: ./.github/actions/run-sdk-graphrag-tests |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
--- | ||
title: 'Completion' | ||
openapi: 'GET /v2/completion' | ||
--- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
--- | ||
title: Deduplicate Entities | ||
openapi: 'POST /v2/deduplicate_entities' | ||
--- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
--- | ||
title: 'Delete graph for collection' | ||
openapi: 'DELETE /v2/delete_graph_for_collection' | ||
--- |
Large diffs are not rendered by default.
Oops, something went wrong.
Oops, something went wrong.