Commit graph

28 commits

Author SHA1 Message Date
Daniel Chalef
dbc7004eb7
Add a LICENSE file containing the Apache v2 license (#29)
---

For more details, open the [Copilot Workspace session](https://copilot-workspace.githubnext.com/getzep/graphiti?shareId=XXXX-XXXX-XXXX-XXXX).
2024-08-23 11:16:12 -07:00
Preston Rasmussen
a1e54881a2
improve deduping issue (#28)
* improve deduping issue

* fix comment

* commit format

* default embeddings

* update
2024-08-23 12:17:15 -04:00
Daniel Chalef
9cc9883e66
chore: Fix Typing Issues (#27)
* typing.Any and friends

* message

* chore: Import Message model in llm_client

* fix: 💄 mypy errors

* clean up mypy stuff

* mypy

* format

* mypy

* mypy

* mypy

---------

Co-authored-by: paulpaliychuk <pavlo.paliychuk.ca@gmail.com>
Co-authored-by: prestonrasmussen <prasmuss15@gmail.com>
2024-08-23 11:15:44 -04:00
Preston Rasmussen
7152a211ae
fix constraints (#25) 2024-08-22 19:10:18 -04:00
Pavlo Paliychuk
8a55f48f5e
Fix temporal invalidation unit tests (#23)
* wip

* wip

* wip

* fix: Linter errors

* fix formatting

* chore: fix ruff

* fix: Duplication

* chore: Fix unit tests for temporal invalidation

* attempt to fix unit tests

* fix: format

---------

Co-authored-by: Daniel Chalef <131175+danielchalef@users.noreply.github.com>
2024-08-22 19:02:20 -04:00
Daniel Chalef
72dfa3c1e3
depot + cleanup (#22) 2024-08-22 15:16:15 -07:00
Daniel Chalef
c90b4e01ab
chore: enable mypy; actions cleanup (#21)
* chore: eenable mypy

* chore: Update MyPy command in typecheck.yml workflow

* fix caching. makefile lint improvements

* chore: Fix sed command in typecheck.yml workflow

* chore: Update sed command in typecheck.yml workflow

* chore: Update Python version to 3.10 in typecheck.yml workflow

* remove pretty

* pipefail
2024-08-22 15:10:24 -07:00
Pavlo Paliychuk
1f1652f56c
Invalidation updates && improvements (#20)
* wip

* wip

* wip

* fix: Linter errors

* fix formatting

* chore: fix ruff

* fix: Duplication

---------

Co-authored-by: Daniel Chalef <131175+danielchalef@users.noreply.github.com>
2024-08-22 18:09:44 -04:00
Preston Rasmussen
94873f1083
search updates (#19)
* search updates

* add helper function

* make format

* updates
2024-08-22 17:24:59 -04:00
Daniel Chalef
6ae9c4e262
rm podcast (#16) 2024-08-22 13:08:41 -07:00
Daniel Chalef
73ec0146ff
ruff action (#17)
* ruff action

* chore: Update Python version to 3.10 in lint.yml workflow

* fix lint and formatting

* cleanup
2024-08-22 13:06:42 -07:00
Daniel Chalef
50da9d0f31
format and linting (#18)
* Makefile and format

* fix podcast stuff

* refactor: update import statement for transcript_parser in podcast_runner.py

* format and linting

* chore: Update import statements and remove unused code in maintenance module
2024-08-22 12:26:13 -07:00
Preston Rasmussen
63b9790026
search updates (#14)
* search updates

* test updates

* add opinionated search

* update
2024-08-22 14:26:26 -04:00
Daniel Chalef
8141a783b1
move podcast to examples (#15) 2024-08-22 11:13:41 -07:00
Daniel Chalef
5150b2b030
Create SECURITY.md (#10) 2024-08-21 21:51:23 -07:00
Daniel Chalef
e16467f768
Create dependabot.yml (#11) 2024-08-21 21:51:10 -07:00
Pavlo Paliychuk
5a4709a2a4
chore: Add development environment to the action (#12) 2024-08-21 21:50:41 -07:00
Preston Rasmussen
d6add504bd
Create Bulk Add Episode for faster processing (#9)
* benchmark logging

* load schema updates

* add extract bulk nodes and edges

* updated bulk calls

* compression updates

* bulk updates

* bulk logic first pass

* updated bulk process

* debug

* remove exact names first

* cleaned up prompt

* fix bad merge

* update

* fix merge issues
2024-08-21 12:03:32 -04:00
Pavlo Paliychuk
a6fd0ddb75
feat: Initial version of temporal invalidation + tests (#8)
* feat: Initial version of temporal invalidation + tests

* fix: dont run int tests on CI

* fix: dont run int tests on CI

* fix: dont run int tests on CI

* fix: time of day issue

* fix: running non int tests in ci

* fix: running non int tests in ci

* fix: running non int tests in ci

* fix: running non int tests in ci

* fix: running non int tests in ci

* fix: running non int tests in ci

* fix: running non int tests in ci

* revert: Tests structural changes

* chore: Remove idea file

* chore: Get rid of NodesWithEdges class and define a triplet type instead
2024-08-20 16:29:19 -04:00
Pavlo Paliychuk
40e74a2e97
fix: Address graph disconnect (#7)
* fix: Address graph disconnect

* chore: Remove valid_to and valid_from setting in extract edges step (will be handled during invalidation step)
2024-08-19 09:37:56 -04:00
Preston Rasmussen
4db3906049
Update Maintenance LLM Queries and Partial Schema Retrieval (#6)
* search updates

* add search_utils

* updates

* graph maintenance updates

* revert extract_new_nodes

* revert extract_new_edges

* parallelize node searching

* add edge fulltext search

* search optimizations
2024-08-18 13:22:31 -04:00
Pavlo Paliychuk
ad552b527e
Cleanup maintenance utilities + add podcast runner (#5)
* chore: Fix minor issues with episodic edge building + cleanup

* feat: Port podcast runner

* feat: Port podcast runner
2024-08-16 09:29:57 -04:00
Pavlo Paliychuk
f1c2224c0e
Refactor maintenance structure, add prompt library (#4)
* chore: Initial draft of stubs

* chore: Add comments and mock implementation of the add_episode method

* chore: Add success and error callbacks

* chore: Add success and error callbacks

* refactor: Fix conflicts with the latest merge
2024-08-15 12:03:41 -04:00
Preston Rasmussen
b728ff0f68
renaming and add indices (#3)
rename and add indices
2024-08-15 11:04:57 -04:00
Pavlo Paliychuk
83c7640d9c
chore: Initial draft of stubs (#2)
* chore: Initial draft of stubs

* updates

* chore: Add comments and mock implementation of the add_episode method

* chore: Add success and error callbacks

* stub updates

---------

Co-authored-by: prestonrasmussen <prasmuss15@gmail.com>
2024-08-14 10:17:12 -04:00
Pavlo Paliychuk
dab3a62247
Merge pull request #1 from getzep/add-readme-and-poetry-config
chore: Add readme, gitignore and poetry files
2024-08-13 14:59:16 -04:00
paulpaliychuk
37007d87bc chore: Add readme, gitignore and poetry files 2024-08-13 14:50:17 -04:00
prestonrasmussen
1de840dc94 add nodes and edges 2024-08-13 14:35:43 -04:00