-
Notifications
You must be signed in to change notification settings - Fork 966
Feature/cog 1312 integrating evaluation framework into dreamify #562
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
hajdul88
merged 47 commits into
dev
from
feature/cog-1312-integrating-evaluation-framework-into-dreamify
Mar 3, 2025
+322
−107
Merged
Changes from all commits
Commits
Show all changes
47 commits
Select commit
Hold shift + click to select a range
74f02b3
chore: moves eval_framework inside the cognee lib
hajdul88 725ebc5
feat: adds returns in order to get the metrics in dreamify
hajdul88 5cac85b
chore: moves dashboard creation outside of run_evaluation due to the …
hajdul88 dd7a1aa
Merge branch 'dev' into feature/cog-1312-integrating-evaluation-frame…
hajdul88 d070a40
fix: updates eval framework test with the new directory
hajdul88 ab646da
Merge branch 'dev' into feature/cog-1312-integrating-evaluation-frame…
hajdul88 d91b9bc
feat: outsourcing chunksize and chunker adapter to the eval framework
hajdul88 a30927d
fix resolves merge conflict
hajdul88 19c1229
Merge branch 'dev' into feature/cog-1312-integrating-evaluation-frame…
hajdul88 462bac2
fix: fixes import in unit test
hajdul88 6a37833
fix: fixes typing for unit tests
hajdul88 59e03de
chore: deletes duplicated unit tests
hajdul88 a93ce2b
Merge branch 'dev' into feature/cog-1312-integrating-evaluation-frame…
hajdul88 dbbb254
Merge branch 'dev' into feature/cog-1312-integrating-evaluation-frame…
hajdul88 9cf36bd
Merge branch 'dev' into feature/cog-1312-integrating-evaluation-frame…
hajdul88 6d1e430
Merge branch 'dev' into feature/cog-1312-integrating-evaluation-frame…
hajdul88 f66ace8
Merge branch 'dev' into feature/cog-1312-integrating-evaluation-frame…
hajdul88 0f5138b
Merge branch 'dev' into feature/cog-1312-integrating-evaluation-frame…
hajdul88 67f1829
fix: fixes import
hajdul88 7dc476d
fix: Fixes eval pipeline after conflicts and dev changes
hajdul88 5460230
fix: fixes eval unit tests
hajdul88 afbbead
chore: finishes logging message
hajdul88 6ec9d59
Merge branch 'dev' into feature/cog-1312-integrating-evaluation-frame…
hajdul88 e71a7ba
fix: fixes tests coming from dev branch
hajdul88 da4cdee
Merge branch 'dev' into feature/cog-1312-integrating-evaluation-frame…
hajdul88 f0efc7a
Merge branch 'dev' into feature/cog-1312-integrating-evaluation-frame…
hajdul88 cc1462c
feat: outsources system prompt as search function parameter
hajdul88 91d507a
Merge branch 'dev' into feature/cog-1312-integrating-evaluation-frame…
hajdul88 69a5a10
feat: implements prompt param outsourcing for autooptimizer
hajdul88 4ae22de
fix: fixing unit test with the new parameter in eval
hajdul88 1ac0d93
Merge branch 'dev' into feature/cog-1312-integrating-evaluation-frame…
hajdul88 27bdd4d
feat: adds directllm adapter to evaluators
hajdul88 cead5c7
fix: updates import path in direct llm adapter
hajdul88 b23cc69
Merge branch 'dev' into feature/cog-1312-integrating-evaluation-frame…
hajdul88 cccbd7d
Merge branch 'dev' into feature/cog-1312-integrating-evaluation-frame…
hajdul88 8b54d20
fix: Fixes unit test
hajdul88 fe4a401
Merge branch 'dev' into feature/cog-1312-integrating-evaluation-frame…
hajdul88 0d3959c
fixes import
hajdul88 64be044
feat: fixes tests
hajdul88 284425b
adds return value to run_evaluation
hajdul88 baccca9
Merge branch 'dev' into feature/cog-1312-integrating-evaluation-frame…
hajdul88 ddf9720
fix: adding return value to evaluation module
hajdul88 93d2953
Merge branch 'feature/cog-1312-integrating-evaluation-framework-into-…
hajdul88 9ecfb04
adds comments based on meeting
hajdul88 1ba190e
Merge branch 'dev' into feature/cog-1312-integrating-evaluation-frame…
hajdul88 b12d37d
Merge branch 'dev' into feature/cog-1312-integrating-evaluation-frame…
hajdul88 53aed24
Merge branch 'dev' into feature/cog-1312-integrating-evaluation-frame…
hajdul88 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
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
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
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
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
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
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
File renamed without changes.
File renamed without changes.
8 changes: 4 additions & 4 deletions
8
.../benchmark_adapters/benchmark_adapters.py → .../benchmark_adapters/benchmark_adapters.py
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
6 changes: 3 additions & 3 deletions
6
...ework/benchmark_adapters/dummy_adapter.py → ...ework/benchmark_adapters/dummy_adapter.py
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
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
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
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
File renamed without changes.
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
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
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
File renamed without changes.
14 changes: 14 additions & 0 deletions
14
cognee/eval_framework/corpus_builder/task_getters/default_task_getter.py
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,14 @@ | ||
| from cognee.api.v1.cognify.cognify_v2 import get_default_tasks | ||
| from typing import List | ||
| from cognee.eval_framework.corpus_builder.task_getters.base_task_getter import BaseTaskGetter | ||
| from cognee.modules.pipelines.tasks.Task import Task | ||
| from cognee.infrastructure.llm import get_max_chunk_tokens | ||
| from cognee.modules.chunking.TextChunker import TextChunker | ||
|
|
||
|
|
||
| class DefaultTaskGetter(BaseTaskGetter): | ||
| """Default task getter that retrieves tasks using the standard get_default_tasks function.""" | ||
|
|
||
| async def get_tasks(self, chunk_size=1024, chunker=TextChunker) -> List[Task]: | ||
| """Retrieve default tasks asynchronously.""" | ||
| return await get_default_tasks(chunk_size=chunk_size, chunker=chunker) |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
8 changes: 4 additions & 4 deletions
8
...framework/evaluation/deep_eval_adapter.py → ...framework/evaluation/deep_eval_adapter.py
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
4 changes: 2 additions & 2 deletions
4
...ork/evaluation/direct_llm_eval_adapter.py → ...ork/evaluation/direct_llm_eval_adapter.py
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
2 changes: 1 addition & 1 deletion
2
...amework/evaluation/evaluation_executor.py → ...amework/evaluation/evaluation_executor.py
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
4 changes: 2 additions & 2 deletions
4
...ramework/evaluation/evaluator_adapters.py → ...ramework/evaluation/evaluator_adapters.py
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
Empty file.
File renamed without changes.
File renamed without changes.
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
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.