cognee/cognee/tests/unit/modules
Andrej Milićević df102e99a9
feat: add structured output support to retrievers (#1734)
<!-- .github/pull_request_template.md -->

## Description
<!--
Please provide a clear, human-generated description of the changes in
this PR.
DO NOT use AI-generated descriptions. We want to understand your thought
process and reasoning.
-->
Add structured output support to all completion-based retrievers. If the
response model is not supplied, a string is used as default

## Type of Change
<!-- Please check the relevant option -->
- [ ] Bug fix (non-breaking change that fixes an issue)
- [x] New feature (non-breaking change that adds functionality)
- [ ] Breaking change (fix or feature that would cause existing
functionality to change)
- [ ] Documentation update
- [x] Code refactoring
- [ ] Performance improvement
- [ ] Other (please specify):

## Screenshots/Videos (if applicable)
<!-- Add screenshots or videos to help explain your changes -->

## Pre-submission Checklist
<!-- Please check all boxes that apply before submitting your PR -->
- [x] **I have tested my changes thoroughly before submitting this PR**
- [x] **This PR contains minimal changes necessary to address the
issue/feature**
- [x] My code follows the project's coding standards and style
guidelines
- [x] I have added tests that prove my fix is effective or that my
feature works
- [ ] I have added necessary documentation (if applicable)
- [ ] All new and existing tests pass
- [ ] I have searched existing PRs to ensure this change hasn't been
submitted already
- [ ] I have linked any relevant issues in the description
- [ ] My commits have clear and descriptive messages

## 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.
2025-11-07 10:21:52 +01:00
..
chunking feature: text chunker with overlap (#1732) 2025-11-06 15:22:48 +01:00
data feat: s3 storage (#988) 2025-07-14 21:47:08 +02:00
graph ruff formatting 2025-08-13 15:15:39 +02:00
memify_tasks Fix: fixes session history test for multiuser mode (#1746) 2025-11-06 14:13:55 +01:00
ontology feat: extends ontology unit tests with multifile support tests + partially or fully missing ontology file list tests 2025-10-27 14:22:34 +01:00
pipelines fix: remove obsolete files and fix unit tests 2025-07-08 22:47:09 +02:00
retrieval changes based on PR comments 2025-11-07 10:00:17 +01:00
retriever Feat/cog 1365 unify retrievers (#572) 2025-02-27 12:13:21 +01:00
users refactor: Rewrite tests to work with multi-user mode by default 2025-10-30 16:25:34 +01:00
visualization fix: custom model pipeline (#508) 2025-02-08 02:00:15 +01:00