Commit graph

930 commits

Author SHA1 Message Date
Igor Ilic
c170bbb6e2
Merge pull request #158 from topoteretes/COG-170-PGvector-adapter
Cog 170 pgvector adapter
2024-10-22 15:46:49 +02:00
Igor Ilic
0c6f019838 refactor: Remove broad exception handling from PGVectorAdapter
Removed broad exception handling for the search function in PGVectorAdapter

Refactor #COG-170
2024-10-22 15:41:07 +02:00
Igor Ilic
dc46304a8d fix: Add missing await statement to LanceDBAdapter and PGVectorAdapter
Added missing await statement to batch search for LanceDB and PGVector adapters

Fix #COG-170
2024-10-22 15:15:45 +02:00
Igor Ilic
195929e245 refactor: Fix typo
Refactor fix typo in pgvector integration test

Refactor #COG-170
2024-10-22 15:12:45 +02:00
Igor Ilic
0e1533aa44 chore: Update how postgres dependencies are installed in integration test for pgvector
Updated how postgres dependencies are installed due to change in pyproject.toml

Chore #COG-170
2024-10-22 14:27:36 +02:00
Igor Ilic
d30c337370 refactor: Use SQLAlchemyAdapter create_database
Added reusing of sqlalchemy adapters create_database method instead of directly writing code for database creation

Refactor #COG-170
2024-10-22 14:23:36 +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
6b9a14270d refactor: Fix spacing, remove unused config methods
Remove unused config methods so we don't have to maintain them.
Fixed spacing in test_pgvector integration test.

Refactor #COG-170
2024-10-22 13:45:23 +02:00
Igor Ilic
c7ed46ddaa fix: Change to new syntax for vector_engine_provider
Syntax changed for vector_engine_provider to vector_db_provider

Fix #COG-170
2024-10-22 12:57:17 +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
8002db72c3 chore: Add installing of depdendencies along with postgres group
Since the postgres related libraries are no longer mandatory specification is needed for them to be installed as well

Chore #COG-170
2024-10-22 12:46:45 +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
Igor Ilic
a3581689f2 refactor: Add setting of database configs through dictionary
Added the ability to set database configurations through dictionary for ease of use.
Updated test_pgvector to use this way of setting configuration

Refactor #COG-170
2024-10-22 11:53:33 +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
4a73505e23 refactor: Move create_db_and_tables module from vectors to pgvector
Moved create_db_and_tables module to pgvector so it only handles pgvector related db creation

Refactor #COG-170
2024-10-22 10:29:35 +02:00
Igor Ilic
71c1374859 refactor: Move serialize_datetime function
Move serialize_datetime function to be in it's own file

Refactor #COG-170
2024-10-22 10:19:39 +02:00
Vasilije
9100de75f5
Merge pull request #160 from Akhsuna07/patch-2
Fixed Some grammatical errors in the file.
2024-10-21 18:34:34 +02:00
ANUSHKA KATHARE
8130171b7f
Fixed Some grammatical errors in the file. 2024-10-21 22:01:21 +05:30
Igor Ilic
2cedcbe670 refactor: Change database name in PGVectorAdapter test and workflow
Changed database name in test and workflow to be the same as in the .env.template

Refactor #COG-170
2024-10-21 15:51: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
Igor Ilic
9f4b8f2f42 test: Add github action workflow to run PGVectorAdapter integration test
Added github action workflow to run PGVectorAdapter integration test

Test #COG-170
2024-10-21 14:50:39 +02:00
Igor Ilic
f8babbaa53 test: Add test for PGVectorAdapter
Added test for PGVectorAdapter

Test #COG-170
2024-10-21 14:33:00 +02:00
Igor Ilic
05e4ef349e fix: Fix pruning of postgres database
Fixed issue with newly added tables not being pruned from postgres database

Fix #COG-170
2024-10-21 14:28:57 +02:00
Igor Ilic
240c660eac refactor: Change raw SQL queries to SQLalchemy ORM for PGVectorAdapter
Changed raw SQL quries to use SQLalchemy ORM for PGVectorAdapter

Refactor #COG-170
2024-10-21 12:59:24 +02:00
Igor Ilic
d2772d22b8 refactor: Formatting change for create_vector_engine
Change formatting for connection string for PGVectorAdapter

Refactor #COG-170
2024-10-18 15:03:28 +02:00
Igor Ilic
7f7b015ea3 refactor: Add formatting to create_vector_engine
Added formatting for PGVector part of create_vector_engine

Refactor #COG-170
2024-10-18 15:00:51 +02:00
Igor Ilic
2cd255768e refactor: Add formatting to PGVector Adapter
Formatted PGVectorAdapter

Refactor #COG-170
2024-10-18 14:46:33 +02:00
Igor Ilic
325e6cd654 refactor: Rewrite search query
Optimize search query for PGVector

Refactor #COG-170
2024-10-18 13:33:40 +02:00
Igor Ilic
58e5854943 Merge branch 'main' of github.com:topoteretes/cognee into COG-170-PGvector-adapter 2024-10-18 12:05:06 +02:00
Igor Ilic
02cd2408d6 feat: Add batch search to PGVectorAdapter
Added batch search to PGVectorAdapter

Feature #COG-170
2024-10-17 18:11:11 +02:00
Igor Ilic
aa26eabdbb refactor: Remove echo for database
Removed echoing of database operations

Refactor #COG-170
2024-10-17 17:26:26 +02:00
Igor Ilic
9b9ae6c8aa refactor: Remove unused env parameter
Remove VECTOR_DB_NAME env parameter as it's not needed

Refactor #COG-170
2024-10-17 17:13:40 +02:00
Igor Ilic
9fbf2d857f feat: Add PGVector support
Added first working iteration of PGVector for cognee, some important funcionality is still missing, but the core is there. Also some refactoring will be necessary.

Feature: #COG-170
2024-10-17 17:05:38 +02:00
Vasilije
e8e867f174
Merge pull request #153 from Innovatorcloudy/main
Fixed Links README.md
2024-10-17 16:04:01 +02:00
Vasilije
327c3739a7
Merge pull request #156 from topoteretes/clean_up_twitter
Delete .github/workflows/daily_twitter_stats.yaml
2024-10-17 14:51:40 +02:00
Vasilije
de69bfefbb
Delete .github/workflows/daily_twitter_stats.yaml 2024-10-17 14:51:04 +02:00
Vasilije
3e6e9f03b7
Merge pull request #155 from Mefisto04/contribute
Fix Typos and Improve Grammar in README
2024-10-17 14:49:18 +02:00
Mayur Kawale
452cd9b295
Update templates.md 2024-10-17 17:33:32 +05:30
Boris Arzentar
091fa35aab chore: run alembic migrations in docker entrypoint 2024-10-16 23:32:32 +02:00
Boris Arzentar
3a636c0db0 fix: add default user via migration 2024-10-16 22:33:04 +02:00
Boris Arzentar
2485eb76fa fix: prd github workflow 2024-10-16 21:19:31 +02:00
Boris
1eb4429c5c
feat: improve API request and response models and docs (#154)
* feat: improve API request and response models and docs
2024-10-14 13:38:36 +02:00
KrishCode
8b4b15054d
Fixed Links README.md
Fixed broken link of contributors section
2024-10-12 11:24:04 +05:30
Vasilije
a29acb6ab7
Merge pull request #152 from NishantRana07/main
Typo fixing
2024-10-11 19:30:03 -07:00
Nishant Rana
e9e3b3b30b
Update README.md 2024-10-12 07:21:08 +05:30
Vasilije
0fc2044319
Merge pull request #150 from topoteretes/COG-387-expand-notebook
Cog 387 expand notebook
2024-10-11 09:37:45 -07:00
Igor Ilic
658b6df4c6 refactor: Remove architecture overview
Removed architecture overview from notebook for now

Refactor #COG-387
2024-10-11 17:57:51 +02:00
Vasilije
a1c9533b42
Merge pull request #151 from kushal34712/patch-1
Update README.md
2024-10-11 08:16:00 -07:00