Commit graph

118 commits

Author SHA1 Message Date
Igor Ilic
875dd1055e chore: Update ruff lint options in pyproject file
Update ruff lint options in pyproject file

Chore
2024-12-18 13:31:19 +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
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
Boris
0aa71c488f
chore: increase version to 0.1.20 (#343)
Co-authored-by: Vasilije <8619304+Vasilije1990@users.noreply.github.com>
2024-12-11 21:40:44 +01: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]
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
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
Rita Aleksziev
b98470887e fix env var issue 2024-12-03 16:46:13 +01:00
Igor Ilic
fb5f0cf00f chore: Make milvus an optional dependency
Make Milvus an optional dependency, expand docs with Milvus information

Chore
2024-12-03 10:37:50 +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
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
Vasilije
a63490b916 Bump release version 2024-11-16 14:01:28 +01:00
Leon Luithlen
ed8f9cd17e Remove dspy dependency 2024-11-14 15:50:29 +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
Vasilije
934d5e1d1b Add tasks for segment sync and posthog sync 2024-11-08 12:56:10 +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 Arzentar
96e7ba001c chore: update to 0.1.17 2024-10-07 14:42:51 +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
58db1ac2c8
chore: increase the lib version (#138) 2024-09-21 17:57: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
Boris Arzentar
7c8efb0a57 version: increase to 0.1.15 2024-08-19 16:51:54 +02:00
Boris Arzentar
a34acbc0ce fix: update neo4j lib 2024-08-06 16:22:17 +02:00
Boris Arzentar
3e3134b19f fix: fix debugpy version 2024-08-06 15:45:40 +02:00
Boris Arzentar
401167bb0f fix: enable sqlalchemy adapter 2024-08-04 22:23:28 +02:00
Vasilije
14e1eba363 Fixes for user flow with group management 2024-07-23 13:43:08 +02:00
Vasilije
e785b30117 Initial functional user auth 2024-07-22 23:59:16 +02:00