cognee/cognee/tasks
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
..
chunk_naive_llm_classifier refactor: remove LLMGateway usage where not needed 2025-09-09 13:50:16 +02:00
chunks Fix: fixes None last_cut_type pydantic errors by introducing default cut type 2025-07-02 09:51:07 +02:00
code Docstring tasks. (#878) 2025-05-27 21:33:16 +02:00
codingagents fix: fixes distributed pipeline (#1454) 2025-10-09 14:06:25 +02:00
completion chore: changing docstring 2025-08-13 15:20:24 +02:00
documents Update deprecated Exception status codes 2025-10-22 17:38:41 +01:00
entity_completion/entity_extractors refactor: remove LLMGateway usage where not needed 2025-09-09 13:50:16 +02:00
feedback refactor: add structured output to completion retrievers 2025-11-04 15:09:33 +01:00
graph fix: fixes distributed pipeline (#1454) 2025-10-09 14:06:25 +02:00
ingestion refactor: Remove reference to specific database row 2025-10-26 23:35:00 +01:00
memify Fix: fixes session history test for multiuser mode (#1746) 2025-11-06 14:13:55 +01:00
repo_processor fix: Make exluded paths use absolute path 2025-08-29 16:04:14 +02:00
schema fix: Resolve schema migration for Neo4j (#1482) 2025-09-29 13:50:11 +02:00
storage feat: optimize repeated entity extraction (#1682) 2025-10-30 13:56:06 +01:00
summarization refactor: remove LLMGateway usage where not needed 2025-09-09 13:50:16 +02:00
temporal_awareness Docstring tasks. (#878) 2025-05-27 21:33:16 +02:00
temporal_graph Merge branch 'dev' into baml-refactor 2025-09-22 11:25:59 +02:00
web_scraper lazy load cron_web_scraper_task and web_scraper_task 2025-10-21 23:11:01 +01:00