Commit graph

248 commits

Author SHA1 Message Date
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
Igor Ilic
53b7806ccb chore: Update pyproject file with unstructured library
Add unstructured library as docs optional extension to pyproject.toml

Chore COG-685
2024-12-08 14:42:08 +01:00
Igor Ilic
6be025e3d4 chore: Attempt to fix issue with notebook github actions
Attempt to resolve issue with running notebooks in github actions

Chore
2024-12-04 20:36:23 +01:00
Boris Arzentar
4678aaef52 Merge remote-tracking branch 'origin/main' 2024-12-04 11:16:16 +01:00
Boris Arzentar
d49ab4c3b5 feat: update code-graph notebook 2024-12-03 23:48:12 +01:00
Boris Arzentar
0b8b270933 fix: make get_embeddable_data static 2024-12-03 21:47:23 +01:00
Boris Arzentar
b89a4b8054 Merge remote-tracking branch 'origin/main' into code-graph 2024-12-03 21:14:19 +01:00
Rita Aleksziev
b98470887e fix env var issue 2024-12-03 16:46:13 +01:00
Igor Ilic
764c0895df fix: Resolve Milvus connection issue, add config to milvus test, add milvus gh action
Resolved if statement resolution issue regrading api key,
Added vector db config to milvus test,
Added milvus gh action

Fix
2024-12-03 11:13:54 +01:00
Ryan Lin
f65070087f Feature: Integrate Milvus as the VectorDatabase 2024-12-03 03:40:28 -05:00
Igor Ilic
dcb320da52 chore: Add groq and langfuse as optional dependencies
Added groq and langfuse as optional dependencies

Chore COG-595
2024-12-02 19:35:50 +01:00
Igor Ilic
ad56ff9c1a chore: Add langchain as optional dependency
Added langchain as optional dependency

Chore COG-595
2024-12-02 16:47:26 +01:00
Igor Ilic
63e687978e chore: Remove falkordb and posthog non optional dependency
Switched falkordb and posthog to be optional dependencies

Chore COG-595
2024-12-02 15:30:30 +01:00
Igor Ilic
10dc6b1524 chore: Add optional dependencies
Change intended optional dependencies to really be optional

Chore COG-595
2024-12-02 14:38:41 +01:00
Rita Aleksziev
0eb40d0761 updating dependencies with deepeval as optional 2024-12-02 13:31:39 +01:00
Boris
64b8aac86f
feat: code graph swe integration
Co-authored-by: hajdul88 <52442977+hajdul88@users.noreply.github.com>
Co-authored-by: hande-k <handekafkas7@gmail.com>
Co-authored-by: Igor Ilic <igorilic03@gmail.com>
Co-authored-by: Vasilije <8619304+Vasilije1990@users.noreply.github.com>
Co-authored-by: Igor Ilic <30923996+dexters1@users.noreply.github.com>
2024-11-27 09:32:29 +01:00
Igor Ilic
4b55354dce
fix: Resolve issue with pgvector timeout (#3)
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
2024-11-19 15:31:26 +01:00
Igor Ilic
d30adb53f3
Cog 337 llama index support (#186)
* feat: Add support for LlamaIndex Document type

Added support for LlamaIndex Document type

Feature #COG-337

* docs: Add Jupyer Notebook for cognee with llama index document type

Added jupyter notebook which demonstrates cognee with LlamaIndex document type usage

Docs #COG-337

* feat: Add metadata migration from LlamaIndex document type

Allow usage of metadata from LlamaIndex documents

Feature #COG-337

* refactor: Change llama index migration function name

Change name of llama index function

Refactor #COG-337

* chore: Add llama index core dependency

Downgrade needed on tenacity and instructor modules to support llama index

Chore #COG-337

* Feature: Add ingest_data_with_metadata task

Added task that will have access to metadata if data is provided from different data ingestion tools

Feature #COG-337

* docs: Add description on why specific type checking is done

Explained why specific type checking is used instead of isinstance, as isinstace returns True for child classes as well

Docs #COG-337

* fix: Add missing parameter to function call

Added missing parameter to function call

Fix #COG-337

* refactor: Move storing of data from async to sync function

Moved data storing from async to sync

Refactor #COG-337

* refactor: Pretend ingest_data was changes instead of having two tasks

Refactor so ingest_data file was modified instead of having two ingest tasks

Refactor #COG-337

* refactor: Use old name for data ingestion with metadata

Merged new and old data ingestion tasks into one

Refactor #COG-337

* refactor: Return ingest_data and save_data_to_storage Tasks

Returned ingest_data and save_data_to_storage tasks

Refactor #COG-337

* refactor: Return previous ingestion Tasks to add function

Returned previous ignestion tasks to add function

Refactor #COG-337

* fix: Remove dict and use string for search query

Remove dictionary and use string for query in notebook and simple example

Fix COG-337

* refactor: Add changes request in pull request

Added the following changes that were requested in pull request:

Added synchronize label,
Made uniform syntax in if statement in workflow,
fixed instructor dependency,
added llama-index to be optional

Refactor COG-337

* fix: Resolve issue with llama-index being mandatory

Resolve issue with llama-index being mandatory to run cognee

Fix COG-337

* fix: Add install of llama-index to notebook

Removed additional references to llama-index from core cognee lib.
Added llama-index-core install from notebook

Fix COG-337

---------
2024-11-17 11:47:08 +01:00
Leon Luithlen
0c5ac33aff Adjust poetry.lock 2024-11-14 15:54:28 +01:00
Boris
52180eb6b5
feat: COG-184 add falkordb (#192)
* feat: add falkordb adapter

---------

Co-authored-by: hajdul88 <52442977+hajdul88@users.noreply.github.com>
2024-11-11 18:20:52 +01:00
Leon Luithlen
115e93b791 Remove fastembed dependency 2024-11-04 17:02:47 +01:00
Leon Luithlen
287427a240 Update litellm and openai version, bump pydantic 2024-11-04 15:45:06 +01:00
Boris
351355a48d
feature: add tracking to docs website (#165)
* feat: add segment tracking snippet
2024-10-25 14:09:27 +02:00
Igor Ilic
c78627f926 chore: Remove postgres group from pyproject.toml install postgres dependencies through extras
To be uniform with how we install optional dependencies a change has been made so that postgres optional dependencies are installed through extras

Chore #COG-170
2024-10-22 14:02:36 +02:00
Igor Ilic
dbc86e284a chore: Add pgvector back to mandatory dependencies
pgvector is imported directly in PGVector adapter therefore it needs to be installed with mandatory dependencies

Chore #COG-170
2024-10-22 12:51:26 +02:00
Igor Ilic
88ded6e1a8 Merge branch 'main' of github.com:topoteretes/cognee into COG-170-PGvector-adapter 2024-10-22 12:41:18 +02:00
Igor Ilic
7b2022e5f3 refactor: Move psycopg2 to an optional dependency
Moved psycopg2 as an optional dependency for postgres to not block users with lib issues it might cause

Refactor #COG-170
2024-10-22 12:24:51 +02: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
Igor Ilic
9461ba0fd1 chore: Add psycopg2 dependency
Add psycopg2 a postgresql database adapter dependency

Chore #COG-170
2024-10-21 15:32:51 +02:00
Igor Ilic
4c381a3ae9 chore: Add pgvector dependency
Added pgvector dependency for PGVectorAdapter

Chore #COG-170
2024-10-21 15:08:27 +02:00
Boris
dc187a81d7
feat: migrate search to tasks (#144)
* fix: don't return anything on health endpoint

* feat: add alembic migrations

* feat: align search types with the data we store and migrate search to tasks
2024-10-07 14:41:35 +02:00
Boris
a9433e9283
feat: add sqlalchemy as dlt destination (#137)
* feat: add sqlalchemy as dlt destination

* Fix the demo, update Readme

* fix: add 1.5 notebook

---------

Co-authored-by: Vasilije <8619304+Vasilije1990@users.noreply.github.com>
2024-09-21 15:58:28 +02:00
Vasilije
a782286b93 Task updates and updates to SQLAlchemy Adapter 2024-08-07 12:36:02 +02:00