-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Test: test descriptive graph metric calculation in neo4j and networkx adapters [COG-1188] #500
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 1 commit
Commits
Show all changes
37 commits
Select commit
Hold shift + click to select a range
458eeac
Count the number of tokens in documents
alekszievr 51eadef
Merge branch 'COG-970-refactor-tokenizing' into feat/cog-1071-input-t…
alekszievr ba608a4
Merge branch 'COG-970-refactor-tokenizing' into feat/cog-1071-input-t…
alekszievr f6663ab
save token count to relational db
alekszievr 9182be8
Merge branch 'COG-970-refactor-tokenizing' into feat/cog-1132-add-num…
alekszievr 72dfec4
Add metrics to metric table
alekszievr 9bd5917
Merge branch 'dev' into feat/cog-1071-input-token-counting
dexters1 227d94e
Merge branch 'feat/cog-1071-input-token-counting' into feat/cog-1132-…
alekszievr 22b6459
Store list as json instead of array in relational db table
alekszievr 9764441
Merge branch 'dev' into feat/cog-1132-add-num-tokens-to-metric-table
alekszievr 100e7d7
Sum in sql instead of python
alekszievr c182d47
Unify naming
alekszievr 44fa2cd
Return data_points in descriptive metric calculation task
alekszievr 06030ff
Graph metrics getter template in graph db interface and adapters
alekszievr 67d9908
Calculate descriptive metrics in networkx adapter
alekszievr 252ac7f
neo4j metrics
alekszievr 48a51a3
Merge branch 'dev' into feat/cog-1082-metrics-in-graphdb-interface
alekszievr 9a94db8
remove _table from table name
alekszievr 57fb338
Merge branch 'dev' into feat/cog-1082-metrics-in-graphdb-interface
alekszievr e8dcef1
Merge branch 'dev' into feat/cog-1082-metrics-in-graphdb-interface
alekszievr b0f6ba7
Merge branch 'dev' into feat/cog-1082-metrics-in-graphdb-interface
alekszievr 05138fa
Use modules for adding to db instead of infrastructure
alekszievr f064f52
Merge branch 'feat/cog-1082-metrics-in-graphdb-interface' into feat/c…
alekszievr c9ee1bc
Merge branch 'feat/cog-1082-metrics-in-networkx-adapter' into feat/co…
alekszievr af8e798
Merge branch 'dev' into feat/cog-1082-metrics-in-networkx-adapter
alekszievr 406057f
Merge branch 'feat/cog-1082-metrics-in-networkx-adapter' into feat/co…
alekszievr d93b5f5
minor fixes
alekszievr c13fdec
minor cleanup
alekszievr f2ad1d4
Merge branch 'dev' into feat/cog-1082-metrics-in-neo4j-adapter
alekszievr 3e67828
Remove graph metric calculation from the default cognify pipeline
alekszievr 34ce4f8
descriptive metrics tests
alekszievr 1bc55f9
networkx metrics test
alekszievr c102f26
all descriptive metrics tests
alekszievr 92ae1d0
Merge branch 'dev' into test/metrics_in_adapters
alekszievr eddfef0
remove neo4j metrics test due to lack of gds plugin
alekszievr eb63421
Merge branch 'dev' into test/metrics_in_adapters
borisarzentar e842de6
Merge branch 'dev' into test/metrics_in_adapters
alekszievr File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
networkx metrics test
- Loading branch information
commit 1bc55f9b98a958208559bea02da8429827fb2d9d
There are no files selected for viewing
This file contains hidden or 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 }} | ||
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.