cognee/cognee/tasks/summarization
alekszievr 9afd0ece63
Structured code summarization (#375)
* feat: turn summarize_code into generator

* feat: extract run_code_graph_pipeline, update the pipeline

* feat: minimal code graph example

* refactor: update argument

* refactor: move run_code_graph_pipeline to cognify/code_graph_pipeline

* refactor: indentation and whitespace nits

* refactor: add deprecated use comments and warnings

* Structured code summarization

* add missing prompt file

* Remove summarization_model argument from summarize_code and fix typehinting

* minor refactors

---------

Co-authored-by: lxobr <122801072+lxobr@users.noreply.github.com>
Co-authored-by: Vasilije <8619304+Vasilije1990@users.noreply.github.com>
Co-authored-by: Igor Ilic <30923996+dexters1@users.noreply.github.com>
Co-authored-by: Boris <boris@topoteretes.com>
2024-12-17 13:05:47 +01:00
..
__init__.py test: Test for code graph enrichment task 2024-11-24 19:24:47 +01:00
models.py Add type to DataPoint metadata (#364) 2024-12-16 16:27:03 +01:00
query_summaries.py fix: Resolve issue with table names in SQL commands 2024-11-20 14:54:35 +01:00
summarize_code.py Structured code summarization (#375) 2024-12-17 13:05:47 +01:00
summarize_text.py fix: refactor get_graph_from_model to return nodes and edges correctly (#257) 2024-12-06 12:52:01 +01:00