Commit graph

32 commits

Author SHA1 Message Date
vasilije
41f8eaf28d added logger supression and database logs 2025-07-01 13:35:25 +02:00
Daniel Molnar
b5ebed1f7d
Docstring infrastructure. (#880)
<!-- .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.
2025-05-28 17:47:31 +02:00
hajdul88
08bc472b00
Feat: Removes hardcoded user prompts from adapters
<!-- .github/pull_request_template.md -->

## Description
Removes hardcoded user prompts from adapters

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

---------

Co-authored-by: lxobr <122801072+lxobr@users.noreply.github.com>
2025-05-21 12:18:30 +02:00
Boris
9729547f5a
feat: abstract logging tool integration (#787)
<!-- .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.

---------

Co-authored-by: Hande <159312713+hande-k@users.noreply.github.com>
Co-authored-by: Vasilije <8619304+Vasilije1990@users.noreply.github.com>
2025-04-30 12:58:56 +02:00
hajdul88
0121a2b5fc
feature: Adds S3 functionality (#731)
<!-- .github/pull_request_template.md -->

## Description
Adds S3 support


## 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-04-17 08:56:40 +02:00
Vasilije
4e9ca94e78
feat: Adding rate limiting (#709)
<!-- .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.

---------

Co-authored-by: Igor Ilic <30923996+dexters1@users.noreply.github.com>
2025-04-16 12:03:46 +02:00
Boris
d192d1fe20
chore: remove unused dependencies and make some optional (#661)
<!-- .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
2025-03-25 10:19:52 +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
3db7f85c9c feat: Add max_chunk_tokens value to chunkers
Add formula and forwarding of max_chunk_tokens value through Cognee
2025-01-28 14:32:00 +01:00
vasilije
76a0aa7e8b Fix linter issues 2025-01-05 19:48:35 +01:00
vasilije
649fcf2ba8 Fix linter issues 2025-01-05 19:21:09 +01:00
vasilije
60c8fd103b ruff format 2025-01-05 19:09:08 +01:00
hajdul88
c8a1f04b4c fix: updates the acreate_structured_output 2024-12-20 16:19:50 +01:00
vasilije
c448dfb96d Fix langfuse 2024-12-18 19:01:29 +01:00
Igor Ilic
204b5e9fe1 Merge branch 'main' of github.com:topoteretes/cognee-private into COG-502-backend-error-handling 2024-11-27 14:30:53 +01:00
Igor Ilic
ae568409a7 feat: Add custom exceptions to cognee lib
Added use of custom exceptions to cognee lib
2024-11-27 14:29:33 +01:00
Igor Ilic
66c321f206 fix: Add fix for getting transcription of audio and image from LLMs
Enable getting of text from audio and image files from LLMs

Fix
2024-11-25 17:32:11 +01:00
Boris
d1f8217320
feat: COG-585 enable custom llm and embeding models 2024-11-22 10:26:21 +01:00
Boris
2f832b190c
fix: various fixes for the deployment
* fix: remove groups from UserRead model

* fix: add missing system dependencies for postgres

* fix: change vector db provider environment variable name

* fix: WeaviateAdapter retrieve bug

* fix: correctly return data point objects from retrieve method

* fix: align graph object properties

* feat: add node example
2024-10-22 11:26:48 +02:00
Boris
14555a25d0
feat: pipelines and tasks (#119)
* feat: simple graph pipeline

* feat: implement incremental graph generation

* fix: various bug fixes

* fix: upgrade weaviate-client

---------

Co-authored-by: Vasilije <8619304+Vasilije1990@users.noreply.github.com>
2024-07-20 16:49:00 +02:00
Boris Arzentar
8499b7f2fc Merge remote-tracking branch 'origin/add_collab_fixes' into fix/sdk-and-config 2024-06-03 14:59:22 +02:00
Boris Arzentar
4fb3dc31a4 fix: enable sdk and fix config 2024-06-03 14:03:24 +02:00
Vasilije
5ef81956c9 FIXES FOR COLLAB 2024-05-27 14:31:42 +02:00
Vasilije
630588bd46 add test for linter 2024-05-25 23:06:13 +02:00
Boris Arzentar
84c0c8cab5 feat: add llm config 2024-05-22 22:36:30 +02:00
Vasilije
352ea257e8 test with a simple file 2024-05-18 19:11:05 +02:00
Vasilije
d1fa826aeb test with a simple file 2024-05-18 18:44:18 +02:00
Vasilije
bb679c2dd7
Improve processing, update networkx client, and Neo4j, and dspy (#69)
* Update cognify and the networkx client to prepare for running in Neo4j

* Fix for openai model

* Add the fix to the infra so that the models can be passed to the library. Enable llm_provider to be passed.

* Auto graph generation now works with neo4j

* Added fixes for both neo4j and networkx

* Explicitly name semantic node connections

* Added updated docs, readme, chunkers and updates to cognify

* Make docs build trigger only when changes on it happen

* Update docs, test git actions

* Separate cognify logic into tasks

* Introduce dspy knowledge graph extraction

---------
Co-authored-by: Boris Arzentar <borisarzentar@gmail.com>
2024-04-20 19:05:40 +02:00
Vasilije
7bf80fb0f5 Ollama fixes, missing libs + config fixes 2024-03-26 21:34:19 +01:00
Boris Arzentar
d96c51aeaf chore: remove unused/obsolete code 2024-03-16 12:08:12 +01:00
Boris Arzentar
d5391f903c chore: rename package in files 2024-03-13 16:27:07 +01:00
Boris Arzentar
40e760f517 chore: rename package 2024-03-13 16:08:11 +01:00
Renamed from cognitive_architecture/infrastructure/llm/openai/adapter.py (Browse further)