Commit graph

115 commits

Author SHA1 Message Date
Pavlo Paliychuk
33908da18e
feat: add OpenAI configuration options to Settings and update LLM client setup (#126)
* chore: Add model and base url customization support for graphiti svc

* fix: formatter
2024-09-19 16:35:36 -04:00
Preston Rasmussen
bfd8d3bb68
Add group_id CRUD endpoints and option store content bool (#130)
* add group_ids CRUD

* option to not store content

* ellipsis
2024-09-19 16:16:40 -04:00
Preston Rasmussen
e398f95612
Mentions reranker (#124)
* documentation update

* update communities

* mentions reranker

* fix episode edge mentions

* get episode mentions

* add communities to mentions endpoint

* rebase

* defaults episodes to empty list

* update
2024-09-18 15:44:28 -04:00
dependabot[bot]
d133c39313
chore(deps-dev): Bump pytest from 8.3.2 to 8.3.3 (#113)
Bumps [pytest](https://github.com/pytest-dev/pytest) from 8.3.2 to 8.3.3.
- [Release notes](https://github.com/pytest-dev/pytest/releases)
- [Changelog](https://github.com/pytest-dev/pytest/blob/main/CHANGELOG.rst)
- [Commits](https://github.com/pytest-dev/pytest/compare/8.3.2...8.3.3)

---
updated-dependencies:
- dependency-name: pytest
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-09-18 12:53:02 -04:00
Pavlo Paliychuk
529a1aaecf
fix: update UUID generation and message handling (#123)
* chore: Update uuid generation + service fixes

* chore: Version bump
2024-09-18 12:48:44 -04:00
dependabot[bot]
db376c64c3
chore(deps-dev): Bump langsmith from 0.1.116 to 0.1.121 (#114)
Bumps [langsmith](https://github.com/langchain-ai/langsmith-sdk) from 0.1.116 to 0.1.121.
- [Release notes](https://github.com/langchain-ai/langsmith-sdk/releases)
- [Commits](https://github.com/langchain-ai/langsmith-sdk/compare/v0.1.116...v0.1.121)

---
updated-dependencies:
- dependency-name: langsmith
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-09-18 12:15:17 -04:00
dependabot[bot]
3f3e346ed9
chore(deps-dev): Bump ruff from 0.6.4 to 0.6.5 (#115)
Bumps [ruff](https://github.com/astral-sh/ruff) from 0.6.4 to 0.6.5.
- [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/0.6.4...0.6.5)

---
updated-dependencies:
- dependency-name: ruff
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-09-18 12:15:02 -04:00
dependabot[bot]
8737c9c686
chore(deps): Bump openai from 1.44.0 to 1.45.1 (#116)
Bumps [openai](https://github.com/openai/openai-python) from 1.44.0 to 1.45.1.
- [Release notes](https://github.com/openai/openai-python/releases)
- [Changelog](https://github.com/openai/openai-python/blob/main/CHANGELOG.md)
- [Commits](https://github.com/openai/openai-python/compare/v1.44.0...v1.45.1)

---
updated-dependencies:
- dependency-name: openai
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-09-18 12:14:44 -04:00
dependabot[bot]
dd5f26420e
chore(deps-dev): Bump langchain-openai from 0.1.23 to 0.1.25 (#117)
Bumps [langchain-openai](https://github.com/langchain-ai/langchain) from 0.1.23 to 0.1.25.
- [Release notes](https://github.com/langchain-ai/langchain/releases)
- [Commits](https://github.com/langchain-ai/langchain/compare/langchain-openai==0.1.23...langchain-openai==0.1.25)

---
updated-dependencies:
- dependency-name: langchain-openai
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-09-18 12:14:27 -04:00
Preston Rasmussen
a18b3179ee
Add community update (#121)
* documentation update

* update communities

* update runner

* make format

* mypy

* oops

* add update_communities
2024-09-18 11:37:34 -04:00
Pavlo Paliychuk
ebb1ec2463
fix: Syntax error on node crud (#119) 2024-09-17 12:19:20 -04:00
Pavlo Paliychuk
19a6ebc6fe
Fix groupless search (#118)
* fix(search): 🐛 Search across null group_ids

* chore: Version bump

* chore: Set group_ids to none if it's an empty list

* fix: Check for group ids being a list before setting it to None if empty

* fix check

* chore: Simplify group_ids check

* chore: Simplify the check further
2024-09-16 16:23:07 -04:00
Preston Rasmussen
d7c20c1f59
Search refactor + Community search (#111)
* WIP

* WIP

* WIP

* community search

* WIP

* WIP

* integration tested

* tests

* tests

* mypy

* mypy

* format
2024-09-16 14:03:05 -04:00
Pavlo Paliychuk
e4ee8d62fa
Version bump (#108)
Update pyproject.toml
2024-09-13 11:50:26 -04:00
Preston Rasmussen
85cf8e5840
Improve node distance reranker speed (#107)
* much faster

* clean up code

* variable rename
2024-09-12 11:23:45 -04:00
Pavlo Paliychuk
8085b52f2a
feat: add error handling for missing nodes and edges, introduce new API endpoints, and update ZepGraphiti class (#104)
* feat: Expose crud operations to service + add graphiti errors

* fix: linter
2024-09-11 12:53:17 -04:00
Preston Rasmussen
c0a740ff60
Community nodes (#103)
* add gds

* community work

* save progress

* community updates

* e2e communities

* troubleshooting

* updates

* communities

* remove unused import
2024-09-11 12:06:35 -04:00
Preston Rasmussen
4122d350a5
add extract nodes from text prompt (#106) 2024-09-11 12:06:08 -04:00
Daniel Chalef
b214baa85f
Add py.typed file (#105)
* Add py.typed file



---

For more details, open the [Copilot Workspace session](https://copilot-workspace.githubnext.com/getzep/graphiti?shareId=XXXX-XXXX-XXXX-XXXX).

* Update pyproject.toml
2024-09-11 08:44:06 -04:00
Daniel Chalef
6851b1063a
Fix llm client retry (#102)
* Fix llm client retry

* feat: Improve llm client retry error message
2024-09-10 08:15:27 -07:00
Pavlo Paliychuk
ad2962c6ba
feat(graph-service): add entity node handling and update Docker configurations (#100)
* feat: Add entity node request + service maintenance

* chore: Fix linter
2024-09-10 11:00:52 -04:00
Daniel Chalef
3f12254916
Fix missing default None for add_episode_bulk (#101)
Fix missing default None for add_episode and add_episode_bulk



---

For more details, open the [Copilot Workspace session](https://copilot-workspace.githubnext.com/getzep/graphiti?shareId=XXXX-XXXX-XXXX-XXXX).
2024-09-09 22:12:59 -04:00
dependabot[bot]
1a447d75a2
chore(deps-dev): Bump langgraph from 0.2.18 to 0.2.19 (#95)
Bumps [langgraph](https://github.com/langchain-ai/langgraph) from 0.2.18 to 0.2.19.
- [Release notes](https://github.com/langchain-ai/langgraph/releases)
- [Commits](https://github.com/langchain-ai/langgraph/compare/0.2.18...0.2.19)

---
updated-dependencies:
- dependency-name: langgraph
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-09-09 19:45:32 -04:00
dependabot[bot]
c877a2d688
chore(deps-dev): Bump groq from 0.10.0 to 0.11.0 (#96)
Bumps [groq](https://github.com/groq/groq-python) from 0.10.0 to 0.11.0.
- [Release notes](https://github.com/groq/groq-python/releases)
- [Changelog](https://github.com/groq/groq-python/blob/main/CHANGELOG.md)
- [Commits](https://github.com/groq/groq-python/compare/v0.10.0...v0.11.0)

---
updated-dependencies:
- dependency-name: groq
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-09-09 19:45:22 -04:00
dependabot[bot]
fd6c778f31
chore(deps): Bump openai from 1.43.1 to 1.44.0 (#97)
Bumps [openai](https://github.com/openai/openai-python) from 1.43.1 to 1.44.0.
- [Release notes](https://github.com/openai/openai-python/releases)
- [Changelog](https://github.com/openai/openai-python/blob/main/CHANGELOG.md)
- [Commits](https://github.com/openai/openai-python/compare/v1.43.1...v1.44.0)

---
updated-dependencies:
- dependency-name: openai
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-09-09 19:45:12 -04:00
dependabot[bot]
8d7ed032ee
chore(deps): Bump pydantic from 2.9.0 to 2.9.1 (#98)
Bumps [pydantic](https://github.com/pydantic/pydantic) from 2.9.0 to 2.9.1.
- [Release notes](https://github.com/pydantic/pydantic/releases)
- [Changelog](https://github.com/pydantic/pydantic/blob/main/HISTORY.md)
- [Commits](https://github.com/pydantic/pydantic/compare/v2.9.0...v2.9.1)

---
updated-dependencies:
- dependency-name: pydantic
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-09-09 19:45:00 -04:00
dependabot[bot]
147dafe1d0
chore(deps-dev): Bump langsmith from 0.1.115 to 0.1.116 (#99)
Bumps [langsmith](https://github.com/langchain-ai/langsmith-sdk) from 0.1.115 to 0.1.116.
- [Release notes](https://github.com/langchain-ai/langsmith-sdk/releases)
- [Commits](https://github.com/langchain-ai/langsmith-sdk/compare/v0.1.115...v0.1.116)

---
updated-dependencies:
- dependency-name: langsmith
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-09-09 19:44:48 -04:00
Daniel Chalef
c2b3098e6c
Loosen numpy dependency to numpy>=1.0.0 (#94)
* Loosen numpy dependency to numpy>=1.0.0



---

For more details, open the [Copilot Workspace session](https://copilot-workspace.githubnext.com/getzep/graphiti?shareId=XXXX-XXXX-XXXX-XXXX).

* lock
2024-09-09 08:45:52 -07:00
Pavlo Paliychuk
66111a66db
chore: Update service readme (#93)
* chore: Update service readme

* Update README.md

* point to the image in server readme

* chore: Update readme + rename image to graphiti
2024-09-06 16:11:04 -04:00
Pavlo Paliychuk
39ad28d6db
feat: Add group id support to service (#92) 2024-09-06 15:37:19 -04:00
Preston Rasmussen
42fb590606
Add group ids (#89)
* set and retrieve group ids

* update add episode with group id support

* add episode and search functional

* update bulk

* mypy updates

* remove unused imports

* update unit tests

* unit tests

* add optional uuid field

* format

* mypy

* ellipsis
2024-09-06 12:33:42 -04:00
Pavlo Paliychuk
c7fc057106
Fix manual image release workflow (#91)
* test

* test

* add latest tag

* chore: Remove debug statements

* fix push as latest manual dispatch option

* update

* add extract version from tag step
2024-09-06 12:31:19 -04:00
Pavlo Paliychuk
dbad8f4c78
Fix manual image release workflow (#90)
* test

* test

* add latest tag

* chore: Remove debug statements
2024-09-06 12:19:06 -04:00
Pavlo Paliychuk
ba48f64492
Add Fastapi graph service (#88)
* chore: Folder rearrangement

* chore: Remove unused deps, and add mypy step in CI for graph-service

* fix: Mypy errors

* fix: linter

* fix mypy

* fix mypy

* chore: Update docker setup

* chore: Reduce graph service image size

* chore: Install graph service deps on CI

* remove cache from typecheck

* chore: install graph-service deps on typecheck action

* update graph service mypy direction

* feat: Add release service image step

* chore: Update depot configuration

* chore: Update release image job to run on releases

* chore: Test depot multiplatform build

* update release action tag

* chore: Update action to be in accordance with zep image publish

* test

* test

* revert

* chore: Update python slim image used in service docker

* chore: Remove unused endpoints and dtos
2024-09-06 11:07:45 -04:00
Preston Rasmussen
a29c3557d3
fix clearing name embeddings bug (#87)
fix bug
2024-09-05 14:09:19 -04:00
Preston Rasmussen
299021173b
Add episode refactor (#85)
* temp commit while moving

* fix name embedding bug

* invalidation

* format

* tests on runner examples

* format

* ellipsis

* ruff

* fix

* format

* minor prompt change
2024-09-05 12:05:44 -04:00
Daniel Chalef
1d31442751
Update README.md (#84)
fix graphiti docs link
2024-09-05 09:56:05 -04:00
Preston Rasmussen
e56a599a72
search update (#81)
* search update

* update string literals
2024-09-04 10:05:45 -04:00
Daniel Chalef
2b6adb5279
Update README.md (#80) 2024-09-03 21:32:44 -07:00
Pavlo Paliychuk
e38af2596c
chore: Version bump (#79) 2024-09-03 17:41:13 -04:00
Daniel Chalef
f97eb76cc3
Update image URL in README.md (#78) 2024-09-03 12:07:19 -07:00
dependabot[bot]
03f24930a9
chore(deps-dev): Bump langgraph from 0.2.15 to 0.2.16 (#75)
Bumps [langgraph](https://github.com/langchain-ai/langgraph) from 0.2.15 to 0.2.16.
- [Release notes](https://github.com/langchain-ai/langgraph/releases)
- [Commits](https://github.com/langchain-ai/langgraph/compare/0.2.15...0.2.16)

---
updated-dependencies:
- dependency-name: langgraph
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-09-03 12:00:35 -07:00
dependabot[bot]
820251fad7
chore(deps-dev): Bump groq from 0.9.0 to 0.10.0 (#76)
Bumps [groq](https://github.com/groq/groq-python) from 0.9.0 to 0.10.0.
- [Release notes](https://github.com/groq/groq-python/releases)
- [Changelog](https://github.com/groq/groq-python/blob/main/CHANGELOG.md)
- [Commits](https://github.com/groq/groq-python/compare/v0.9.0...v0.10.0)

---
updated-dependencies:
- dependency-name: groq
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-09-03 12:00:11 -07:00
Preston Rasmussen
e9e6039b1e
Speed up add episode (#77)
* WIP

* updates

* use uuid for node dedupe

* pret-testing

* parallelized node resolution

* working add_episode

* revert to 4o

* format

* mypy update

* update types
2024-09-03 13:25:52 -04:00
Daniel Chalef
db12ac548d
README.md fixes (#74)
fixed casing on `graphiti`
2024-09-01 12:35:31 -07:00
Daniel Chalef
77685b063c
Feat/langgraph-example (#73)
* wip

* wip

* image + clean run

* chore: Update LANGCHAIN_TRACING_V2 to 'false' in agent.ipynb

* chore: Remove unused import in runner.ipynb

* lock file
2024-09-01 12:31:08 -07:00
Daniel Chalef
fe20c0f51d
Node Distance Reranker: Limit max hops (and cleanup prints) (#72)
* limit SHORTEST max hops

* cleanup prints
2024-09-01 12:16:04 -07:00
dependabot[bot]
79a63cc366
chore(deps-dev): Bump jupyterlab from 4.2.4 to 4.2.5 in the pip group (#68)
Bumps the pip group with 1 update: [jupyterlab](https://github.com/jupyterlab/jupyterlab).


Updates `jupyterlab` from 4.2.4 to 4.2.5
- [Release notes](https://github.com/jupyterlab/jupyterlab/releases)
- [Changelog](https://github.com/jupyterlab/jupyterlab/blob/@jupyterlab/lsp@4.2.5/CHANGELOG.md)
- [Commits](https://github.com/jupyterlab/jupyterlab/compare/@jupyterlab/lsp@4.2.4...@jupyterlab/lsp@4.2.5)

---
updated-dependencies:
- dependency-name: jupyterlab
  dependency-type: direct:development
  dependency-group: pip
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-31 10:41:43 -07:00
Daniel Chalef
d36306e1e9
Update README.md (#71) 2024-08-31 10:37:27 -07:00
Daniel Chalef
f41c442f0f
Update README.md - fix image url (#70) 2024-08-31 10:34:07 -07:00