GraphRAG vs RAG notebook (#503)
<!-- .github/pull_request_template.md --> ## Description GraphRAG vs RAG cognee notebook ## DCO Affirmation I affirm that all code in every commit of this pull request conforms to the terms of the Topoteretes Developer Certificate of Origin <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **Tests** - Implemented automated validations to continuously monitor and ensure the reliability of our interactive notebook features. These improvements enhance overall stability and performance, enabling a more consistent and dependable user experience. <!-- end of auto-generated comment: release notes by coderabbit.ai --> --------- Co-authored-by: Boris <boris@topoteretes.com>
This commit is contained in:
parent
e4fd6a1ccd
commit
09b9255639
2 changed files with 268 additions and 0 deletions
25
.github/workflows/test_graphrag_vs_rag_notebook.yml
vendored
Normal file
25
.github/workflows/test_graphrag_vs_rag_notebook.yml
vendored
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
name: test | graphrag vs rag notebook
|
||||
|
||||
on:
|
||||
workflow_dispatch:
|
||||
pull_request:
|
||||
types: [labeled, synchronize]
|
||||
|
||||
concurrency:
|
||||
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
|
||||
cancel-in-progress: true
|
||||
|
||||
jobs:
|
||||
run_notebook_test:
|
||||
uses: ./.github/workflows/reusable_notebook.yml
|
||||
with:
|
||||
notebook-location: notebooks/graphrag_vs_rag.ipynb
|
||||
secrets:
|
||||
LLM_API_KEY: ${{ secrets.OPENAI_API_KEY }}
|
||||
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
|
||||
EMBEDDING_MODEL: ${{ secrets.EMBEDDING_MODEL }}
|
||||
EMBEDDING_ENDPOINT: ${{ secrets.EMBEDDING_ENDPOINT }}
|
||||
EMBEDDING_API_KEY: ${{ secrets.EMBEDDING_API_KEY }}
|
||||
EMBEDDING_API_VERSION: ${{ secrets.EMBEDDING_API_VERSION }}
|
||||
GRAPHISTRY_USERNAME: ${{ secrets.GRAPHISTRY_USERNAME }}
|
||||
GRAPHISTRY_PASSWORD: ${{ secrets.GRAPHISTRY_PASSWORD }}
|
||||
243
notebooks/graphrag_vs_rag.ipynb
Normal file
243
notebooks/graphrag_vs_rag.ipynb
Normal file
File diff suppressed because one or more lines are too long
Loading…
Add table
Reference in a new issue