Add `get_repo_dependency_graph` cognee task:
- Extracts Python file paths and their source code from a repository.
- Builds a directed dependency graph of Python files.
- Identifies direct dependencies using `get_local_script_dependencies`.
- Represents file relationships as nodes and edges in a
`networkx.DiGraph`.
- Includes a checker script for generating and displaying the graph.
Expand each file node into a subgraph containing high-level code parts
- Implemented `extract_code_parts` to parse and extract high-level
components (classes, functions, imports, and top-level code) from Python
source files using `parso`.
- Developed `expand_dependency_graph` to expand Python file nodes into
their components.
- Included a checker script
A utility function, `get_local_script_dependencies`:
- Extracts and resolves local dependencies of a Python script using
`jedi` and `parso`.
- Returns a sorted list of unique module paths
- Optionally dependencies outside a specified repository path are
filtered out
- Includes an example/checker in `cognee/tasks/code`.
Will be used for creating a graph from a repo.
Some SQL commands require lowercase characters in table names unless
table name is wrapped in quotes. Renamed all new tables to use lowercase
Fix COG-677
Some SQL commands require lowercase characters in table names unless table name is wrapped in quotes. Renamed all new tables to use lowercase
Fix COG-677
By creating PGVector as a singleton all issues regrading timeout are
resolved as there are no more parallel instances trying to communicate
with the database
* Switch to gpt-4o-mini by default
* Add option and make gpt-4o-mini default in frontend
* Run llama index notebook without extra arguments in poetry install
* Install extras for llama_index_notebook run
* feat: log search queries and results
* fix: address coderabbit review comments
* fix: parse UUID when logging search results
* fix: remove custom UUID type and use DB agnostic UUID from sqlalchemy
* Add new cognee_db
---------
Co-authored-by: Leon Luithlen <leon@topoteretes.com>