Commit graph

130 commits

Author SHA1 Message Date
Boris
f75e35c337
fix: custom model pipeline (#508)
<!-- .github/pull_request_template.md -->

## Description
<!-- Provide a clear description of the changes in this PR -->

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


- **New Features**
• Graph visualizations now allow exporting to a user-specified file path
for more flexible output management.
• The text embedding process has been enhanced with an additional
tokenizer option for improved performance.
• A new `ExtendableDataPoint` class has been introduced for future
extensions.
• New JSON files for companies and individuals have been added to
facilitate testing and data processing.

- **Improvements**
• Search functionality now uses updated identifiers for more reliable
content retrieval.
• Metadata handling has been streamlined across various classes by
removing unnecessary type specifications.
• Enhanced serialization of properties in the Neo4j adapter for improved
handling of complex structures.
• The setup process for databases has been improved with a new
asynchronous setup function.

- **Chores**
• Dependency and configuration updates improve overall stability and
performance.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2025-02-08 02:00:15 +01:00
Vasilije
4d3acc358a
fix: mcp improvements (#472)
<!-- .github/pull_request_template.md -->

## Description
<!-- Provide a clear description of the changes in this PR -->

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

- **Dependency Update**
	- Downgraded `mcp` package version from 1.2.0 to 1.1.3
- Updated `cognee` dependency to include additional features with
`cognee[codegraph]`

- **New Features**
- Introduced a new tool, "codify", for transforming codebases into
knowledge graphs
- Enhanced the existing "search" tool to accept a new parameter for
search type

- **Improvements**
	- Streamlined search functionality with a new modular approach
- Added new asynchronous function for retrieving and formatting code
parts

- **Documentation**
- Updated import paths for `SearchType` in various modules and tests to
reflect structural changes

- **Code Cleanup**
	- Removed legacy search module and associated classes/functions
	- Refined data transfer object classes for consistency and clarity
<!-- end of auto-generated comment: release notes by coderabbit.ai -->

---------

Co-authored-by: Boris Arzentar <borisarzentar@gmail.com>
2025-02-04 08:47:31 +01:00
Igor Ilic
8879f3fbbe
feat: Add gemini support [COG-1023] (#485)
<!-- .github/pull_request_template.md -->

## Description
PR to test Gemini PR from holchan

1. Add Gemini LLM and Gemini Embedding support 
2. Fix CodeGraph issue with chunks being bigger than maximum token value
3. Add Tokenizer adapters to CodeGraph

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

- **New Features**
    - Added support for the Gemini LLM provider.
    - Expanded LLM configuration options.
- Introduced a new GitHub Actions workflow for multimetric QA
evaluation.
- Added new environment variables for LLM and embedding configurations
across various workflows.

- **Bug Fixes**
    - Improved error handling in various components.
    - Updated tokenization and embedding processes.
    - Removed warning related to missing `dict` method in data items.

- **Refactor**
    - Simplified token extraction and decoding methods.
    - Updated tokenizer interfaces.
    - Removed deprecated dependencies.
    - Enhanced retry logic and error handling in embedding processes.

- **Documentation**
    - Updated configuration comments and settings.

- **Chores**
- Updated GitHub Actions workflows to accommodate new secrets and
environment variables.
    - Modified evaluation parameters.
    - Adjusted dependency management for optional libraries.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->

---------

Co-authored-by: holchan <61059652+holchan@users.noreply.github.com>
Co-authored-by: Boris <boris@topoteretes.com>
2025-01-31 18:03:23 +01:00
Igor Ilic
49f60971bb Merge branch 'dev' into COG-970-refactor-tokenizing 2025-01-28 10:12:55 +01:00
Boris
0c2c5870df
fix: use low_lever server for cognee mcp server (#470)
* fix: revert to older mcp version

* fix: use low_level server for the mcp

* fix: styling errors

* fix: mcp cognify arguments

* fix: ruff errors
2025-01-26 12:52:48 +01:00
Igor Ilic
77a72851fc Merge branch 'dev' into COG-970-refactor-tokenizing 2025-01-24 18:34:50 +01:00
Igor Ilic
cdc992750a test: Add github action to test code graph 2025-01-24 18:12:16 +01:00
Igor Ilic
6d5679f9d2 Merge branch 'dev' into COG-970-refactor-tokenizing 2025-01-23 18:14:49 +01:00
Igor Ilic
b25a82e206 chore: Add google-generativeai as gemini optional dependency to Cognee 2025-01-23 17:56:56 +01:00
Boris Arzentar
00f302c37a feat: use fastmcp for mcp server 2025-01-23 11:45:40 +01:00
Igor Ilic
964fca72c6 fix: Update ruff version for cognee 2025-01-17 10:36:04 +01:00
vasilije
b2355deeab Update format 2025-01-16 20:38:59 +01:00
vasilije
662faeb44b Update format 2025-01-16 20:07:24 +01:00
vasilije
be0b48656a Update lock files 2025-01-16 13:27:59 +01:00
vasilije
047948ae54 Add data visualization for Anthropic 2025-01-14 09:57:53 +01:00
Igor Ilic
16eefe4875 fix: resolve issue with langfuse dependency installation when integrating cognee in different packages 2025-01-10 18:02:15 +01:00
vasilije
6fe82731f6 Fix poetry issues 2025-01-08 17:57:20 +01:00
vasilije
5194353614 Fix poetry issues 2025-01-08 17:34:31 +01:00
vasilije
a5e993b857 Fix poetry issues 2025-01-08 17:14:41 +01:00
vasilije
3b649d1fa6 Fix poetry issues 2025-01-08 14:44:19 +01:00
vasilije
433dc3681b Fix poetry issues 2025-01-08 14:35:09 +01:00
vasilije
a856c234cb Fix poetry issues 2025-01-08 14:26:12 +01:00
vasilije
178b3ceec8 Fix poetry issues 2025-01-08 14:16:33 +01:00
vasilije
1a885fe6bc Fix poetry issues 2025-01-08 13:48:00 +01:00
vasilije
b13edb0ece Fix visualization 2025-01-08 13:29:23 +01:00
vasilije
fdd8ce7e32 Fix visualization 2025-01-08 13:20:38 +01:00
vasilije
0ff9ffa11b Fix visualization 2025-01-08 13:12:08 +01:00
vasilije
1b96a71d5a Fix ollama, work on visualization 2025-01-06 19:09:58 +01:00
vasilije
74e4b901bb Fix linter issues 2025-01-05 19:57:06 +01:00
vasilije
35460e9ad6 Fix linter issues 2025-01-05 19:53:38 +01:00
Igor Ilic
a90a232e95 Merge remote-tracking branch 'origin/dev' into COG-650-replace-pylint 2024-12-20 15:23:55 +01:00
Igor Ilic
f2bb1c5d47 fix: Add poetry.lock file, make langfuse mandatory
Added langfuse as mandatory dependency, added poetry.lock file

Fix
2024-12-19 16:04:24 +01:00
vasilije
6b7e01b1d3 Fix langfuse 2024-12-18 19:19:13 +01:00
vasilije
6aea67f530 Merge remote-tracking branch 'origin/LANGFUSE_FIX' into LANGFUSE_FIX 2024-12-18 19:09:27 +01:00
vasilije
9b2f48b058 Fix langfuse 2024-12-18 19:09:19 +01:00
Vasilije
ffb44529cc
Merge branch 'dev' into LANGFUSE_FIX 2024-12-18 19:07:13 +01:00
vasilije
c448dfb96d Fix langfuse 2024-12-18 19:01:29 +01:00
Igor Ilic
7be7265c93 feat: Add ruff pre-commit hook for linting and formatting
Added formatting and linting on pre-commit hook

Feature COG-650
2024-12-18 13:19:02 +01:00
Igor Ilic
824e148da5 fix: Fix broken poetry lock
Resolve issue with poetry lock

Fix
2024-12-12 15:10:21 +01:00
Vasilije
b0b2b56b03
Merge branch 'dev' into dependabot/pip/langsmith-0.2.3 2024-12-12 13:16:34 +01:00
dependabot[bot]
e6a179a244
⬆️ Bump langsmith from 0.1.139 to 0.2.3
Bumps [langsmith](https://github.com/langchain-ai/langsmith-sdk) from 0.1.139 to 0.2.3.
- [Release notes](https://github.com/langchain-ai/langsmith-sdk/releases)
- [Commits](https://github.com/langchain-ai/langsmith-sdk/compare/v0.1.139...v0.2.3)

---
updated-dependencies:
- dependency-name: langsmith
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-12-12 12:15:58 +00:00
Vasilije
06baafe561
Merge branch 'dev' into dependabot/pip/debugpy-1.8.9 2024-12-12 13:15:37 +01:00
Vasilije
cea1c7a4b7
Merge branch 'dev' into dependabot/pip/fastapi-0.115.6 2024-12-12 13:11:17 +01:00
dependabot[bot]
f4f728ceee
⬆️ Bump debugpy from 1.8.2 to 1.8.9
Bumps [debugpy](https://github.com/microsoft/debugpy) from 1.8.2 to 1.8.9.
- [Release notes](https://github.com/microsoft/debugpy/releases)
- [Commits](https://github.com/microsoft/debugpy/compare/v1.8.2...v1.8.9)

---
updated-dependencies:
- dependency-name: debugpy
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-12-11 21:17:55 +00:00
dependabot[bot]
fb171274d0
⬆️ Bump fastapi from 0.109.2 to 0.115.6
Bumps [fastapi](https://github.com/fastapi/fastapi) from 0.109.2 to 0.115.6.
- [Release notes](https://github.com/fastapi/fastapi/releases)
- [Commits](https://github.com/fastapi/fastapi/compare/0.109.2...0.115.6)

---
updated-dependencies:
- dependency-name: fastapi
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-12-11 11:39:13 +00:00
dependabot[bot]
6302e35840
⬆️ Bump notebook from 7.2.2 to 7.3.1
Bumps [notebook](https://github.com/jupyter/notebook) from 7.2.2 to 7.3.1.
- [Release notes](https://github.com/jupyter/notebook/releases)
- [Changelog](https://github.com/jupyter/notebook/blob/main/CHANGELOG.md)
- [Commits](https://github.com/jupyter/notebook/compare/@jupyter-notebook/tree@7.2.2...@jupyter-notebook/tree@7.3.1)

---
updated-dependencies:
- dependency-name: notebook
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-12-11 11:38:49 +00:00
Vasilije
5e020a919d
Merge pull request #319 from topoteretes/dependabot/pip/ruff-0.8.2
⬆️ Bump ruff from 0.2.2 to 0.8.2
2024-12-11 12:35:31 +01:00
dependabot[bot]
7e3e500338
⬆️ Bump ruff from 0.2.2 to 0.8.2
Bumps [ruff](https://github.com/astral-sh/ruff) from 0.2.2 to 0.8.2.
- [Release notes](https://github.com/astral-sh/ruff/releases)
- [Changelog](https://github.com/astral-sh/ruff/blob/main/CHANGELOG.md)
- [Commits](https://github.com/astral-sh/ruff/compare/v0.2.2...0.8.2)

---
updated-dependencies:
- dependency-name: ruff
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-12-11 09:40:23 +00:00
dependabot[bot]
90a618d9ab
⬆️ Bump sentry-sdk from 2.19.0 to 2.19.2
Bumps [sentry-sdk](https://github.com/getsentry/sentry-python) from 2.19.0 to 2.19.2.
- [Release notes](https://github.com/getsentry/sentry-python/releases)
- [Changelog](https://github.com/getsentry/sentry-python/blob/master/CHANGELOG.md)
- [Commits](https://github.com/getsentry/sentry-python/compare/2.19.0...2.19.2)

---
updated-dependencies:
- dependency-name: sentry-sdk
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-12-11 09:38:11 +00:00
Igor Ilic
df289deb18 chore: Update dependencies to handle different document types
Update unstructured so it would install support for different document types

Chore COG-685
2024-12-09 09:49:26 +01:00