-
Notifications
You must be signed in to change notification settings - Fork 103
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'dev' into docker-compose-rm-postgres
- Loading branch information
Showing
97 changed files
with
1,762 additions
and
861 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
name: DCO Check | ||
name: community | DCO Check | ||
|
||
on: | ||
pull_request: | ||
|
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
name: ruff format | ||
name: lint | ruff format | ||
on: [ pull_request ] | ||
|
||
jobs: | ||
|
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
name: ruff lint | ||
name: lint | ruff lint | ||
on: [ pull_request ] | ||
|
||
jobs: | ||
|
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,28 @@ | ||
name: test | descriptive graph metrics | ||
|
||
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_networkx_metrics_test: | ||
uses: ./.github/workflows/reusable_python_example.yml | ||
with: | ||
example-location: ./cognee/tests/tasks/descriptive_metrics/networkx_metrics_test.py | ||
secrets: | ||
LLM_MODEL: ${{ secrets.LLM_MODEL }} | ||
LLM_ENDPOINT: ${{ secrets.LLM_ENDPOINT }} | ||
LLM_API_KEY: ${{ secrets.LLM_API_KEY }} | ||
LLM_API_VERSION: ${{ secrets.LLM_API_VERSION }} | ||
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 }} |
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 |
---|---|---|
|
@@ -9,20 +9,51 @@ concurrency: | |
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} | ||
cancel-in-progress: true | ||
|
||
env: | ||
RUNTIME__LOG_LEVEL: ERROR | ||
|
||
jobs: | ||
run_notebook_test: | ||
uses: ./.github/workflows/reusable_notebook.yml | ||
with: | ||
notebook-location: notebooks/llama_index_cognee_integration.ipynb | ||
secrets: | ||
#LLM_MODEL: ${{ secrets.LLM_MODEL }} | ||
#LLM_ENDPOINT: ${{ secrets.LLM_ENDPOINT }} | ||
LLM_API_KEY: ${{ secrets.OPENAI_API_KEY }} | ||
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }} | ||
#LLM_API_VERSION: ${{ secrets.LLM_API_VERSION }} | ||
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 }} | ||
name: test | ||
runs-on: ubuntu-22.04 | ||
defaults: | ||
run: | ||
shell: bash | ||
steps: | ||
- name: Check out | ||
uses: actions/checkout@master | ||
|
||
- name: Setup Python | ||
uses: actions/setup-python@v5 | ||
with: | ||
python-version: '3.11.x' | ||
|
||
- name: Install Poetry | ||
uses: snok/[email protected] | ||
with: | ||
virtualenvs-create: true | ||
virtualenvs-in-project: true | ||
installer-parallel: true | ||
|
||
- name: Install dependencies | ||
run: | | ||
pip install jupyter | ||
pip install llama-index-graph-rag-cognee==0.1.2 | ||
- name: Execute Jupyter Notebook | ||
env: | ||
ENV: 'dev' | ||
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 }} | ||
run: | | ||
poetry run jupyter nbconvert \ | ||
--to notebook \ | ||
--execute notebooks/llama_index_cognee_integration.ipynb \ | ||
--output executed_notebook.ipynb \ | ||
--ExecutePreprocessor.timeout=1200 |
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,37 @@ | ||
name: community | contributors leaderboard | ||
|
||
on: | ||
schedule: | ||
- cron: "0 0 * * 1" # Runs every Monday | ||
workflow_dispatch: # Allows manual trigger | ||
|
||
jobs: | ||
update-contributors: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout Repository | ||
uses: actions/checkout@v4 | ||
|
||
- name: Generate Contributor List | ||
run: | | ||
echo "## 💫 Contributors" > CONTRIBUTORS.md | ||
echo "" >> CONTRIBUTORS.md | ||
echo "Thanks to our amazing contributors! 💖" >> CONTRIBUTORS.md | ||
echo "" >> CONTRIBUTORS.md | ||
echo '<a href="https://github.com/topoteretes/cognee/graphs/contributors">' >> CONTRIBUTORS.md | ||
echo ' <img src="https://contrib.rocks/image?repo=topoteretes/cognee" />' >> CONTRIBUTORS.md | ||
echo '</a>' >> CONTRIBUTORS.md | ||
echo "" >> CONTRIBUTORS.md | ||
echo "## 🏆 Top Contributors" >> CONTRIBUTORS.md | ||
echo "" >> CONTRIBUTORS.md | ||
echo "| Rank | Contributor | Contributions |" >> CONTRIBUTORS.md | ||
echo "|------|------------|---------------|" >> CONTRIBUTORS.md | ||
git shortlog -sne | sort -rn | head -10 | awk '{print "| "NR" | ["$2"](https://github.com/"$2") | "$1" Commits |"}' >> CONTRIBUTORS.md | ||
- name: Commit and Push Changes | ||
run: | | ||
git config --global user.name "github-actions[bot]" | ||
git config --global user.email "[email protected]" | ||
git add CONTRIBUTORS.md | ||
git commit -m "Update contributors list" | ||
git push |
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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
Oops, something went wrong.