cognee/cognee
hajdul88 3e93dbe264
fix: add currying to question_answering_non_parallel (#602)
…l to avoid additional params

<!-- .github/pull_request_template.md -->

Introduces lambda currying in question answering non parallel function
to avoid unnecessary params

## 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

- **Refactor**
- Streamlined the question-answering process for cleaner, more efficient
query handling.
- Updated the handling of parameters in the answer generation process,
allowing for a more dynamic integration of context.
- Simplified test setups by reducing the number of parameters involved
in the mock answer resolver.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2025-03-04 16:09:53 +01:00
..
api Feature/cog 1312 integrating evaluation framework into dreamify (#562) 2025-03-03 19:55:47 +01:00
eval_framework fix: add currying to question_answering_non_parallel (#602) 2025-03-04 16:09:53 +01:00
exceptions ruff format 2025-01-05 19:09:08 +01:00
infrastructure Change data models for gemini (#600) 2025-03-04 14:09:28 +01:00
modules Allowing parallel edges in graph projection when using graph completion search (#599) 2025-03-04 12:37:26 +01:00
shared Change data models for gemini (#600) 2025-03-04 14:09:28 +01:00
tasks feat: cog-1320 Minimal LLM-Based Entity Extraction (#590) 2025-03-03 13:22:29 +01:00
tests fix: add currying to question_answering_non_parallel (#602) 2025-03-04 16:09:53 +01:00
__init__.py Change data models for gemini (#600) 2025-03-04 14:09:28 +01:00
base_config.py Update base_config.py 2025-01-16 13:19:43 +01:00
fetch_secret.py ruff format 2025-01-05 19:09:08 +01:00
low_level.py fix: custom model pipeline (#508) 2025-02-08 02:00:15 +01:00
pipelines.py
root_dir.py ruff format 2025-01-05 19:09:08 +01:00