Commit graph

30 commits

Author SHA1 Message Date
Daniel Chalef
cb4e187aed
feat: add telemetry with PostHog and update Docker configurations (#633)
* Implement telemetry feature for anonymous usage statistics collection in Graphiti; update Dockerfile CMD format for better signal handling; adjust Neo4j URI and healthcheck in docker-compose.yml; add new dependencies in pyproject.toml and poetry.lock.

* remove duplicated properties

* Update Dockerfile CMD to use JSON array format for improved signal handling

* remove tommlib dep only in 3.11

* Delete server/graph_service/logging_config.py
2025-06-27 12:23:30 -07:00
Daniel Chalef
a7ca777af5
migrate to uv (#634) 2025-06-27 12:12:49 -07:00
Daniel Chalef
efb185e347
Create codeql.yml (#580) 2025-06-12 19:04:34 -07:00
Pavlo Paliychuk
3f2ce765fe
chore: remove GitHub workflows for service build and release (#425)
Remove GitHub Actions workflows for building and releasing service images
2025-04-30 18:30:21 -04:00
Pavlo Paliychuk
5b24f591b1
chore: Do not build/start docker image on PRs (#386) 2025-04-21 21:37:25 -04:00
Pavlo Paliychuk
0661db0759
chore: clean up whitespace and cache settings in release-service-image.yml (#367)
Remove Docker cache config and fix formatting in GitHub Actions workflow
2025-04-16 19:27:36 -04:00
Daniel Chalef
aab53d6e73
chore: update CLA Assistant action and token in workflow (#364)
Update CLA workflow to use new GitHub Action version and adjust token usage to user PAT
2025-04-16 12:27:37 -07:00
Daniel Chalef
0f6ac57dab
chore: update version to 0.9.3 and restructure dependencies (#338)
* Bump version from 0.9.0 to 0.9.1 in pyproject.toml and update google-genai dependency to >=0.1.0

* Bump version from 0.9.1 to 0.9.2 in pyproject.toml

* Update google-genai dependency version to >=0.8.0 in pyproject.toml

* loc file

* Update pyproject.toml to version 0.9.3, restructure dependencies, and modify author format. Remove outdated Google API key note from README.md.

* upgrade poetry and ruff
2025-04-08 20:47:38 -07:00
Pavlo Paliychuk
8b72250f0b
chore: Add missing permissions in release image workflow (#194) 2024-10-21 10:07:51 -04:00
Pavlo Paliychuk
f52b45b9b2
Fix release workflow (#183)
* fix: Release workflow for service image

* fix: Add a on:workflow call trigger to build and start svc workflow
2024-10-08 17:48:15 -04:00
Pavlo Paliychuk
edfc7ac524
fix: Release workflow for service image (#182) 2024-10-08 17:40:17 -04:00
Pavlo Paliychuk
50f9418a30
chore: Add build and start CI workflow (#164)
* chore: Add build and start CI workflow

* chore: Fix docker-compose command

* chore: Fix healthcheck port

* fix: test docker compose setup

* chore: Simulate container start error

* chore: Always log service logs

* revert dev version changes, and simulate error in the healthcheck

* chore: Log docker logs only on failure, revert simulated error

* chore: Make release workflows depend on build and start workflow
2024-10-01 10:25:12 -04:00
Pavlo Paliychuk
790c37de38
chore: simplify Docker image release workflow (#158)
chore: Remove manual release trigger and set correct permissions on release action
2024-09-26 18:47:18 -04: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
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
Daniel Chalef
bcbdf31664
Update cla.yml - name of ellipsis bot (#65) 2024-08-27 19:20:46 -04:00
Pavlo Paliychuk
3f3fb60a55
feat: Add release workflow (#62) 2024-08-27 16:15:18 -04:00
Daniel Chalef
2d0705fc1b
Add get_nodes_by_query method to Graphiti class (#49)
* Add get_nodes_by_query method to Graphiti class

Add a method to the Graphiti class that wraps `get_relevant_nodes` and returns a list of nodes given a query.

* Add `get_nodes_by_query` method to the `Graphiti` class in `graphiti_core/graphiti.py`.
* Import `generate_embedding` from `graphiti_core/llm_client/utils.py`.
* Use `generate_embedding` to generate an embedding for the query.
* Call `get_relevant_nodes` with the generated embedding and return the relevant nodes.

Add an embedding function to `llm_client/utils.py`.

* Add `generate_embedding` function to `graphiti_core/llm_client/utils.py`.
* Accept an embedder and model_id as parameters.
* Generate an embedding for the given text and return it.

---

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

* address comments left by @danielchalef on #49 (Add get_nodes_by_query method to Graphiti class);

* fix ellipsis name in cla config

* feat: Add get_nodes_by_query method to Graphiti class

* chore: Cleanup unused files, add hybrid node search, add tests

---------

Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
Co-authored-by: paulpaliychuk <pavlo.paliychuk.ca@gmail.com>
2024-08-26 20:00:28 -07:00
Daniel Chalef
06c3de87ee
Update cla.yml to add ellipsisdev[bot] to whitelist (#50) 2024-08-26 17:37:28 -07:00
Daniel Chalef
598e9fd0c5
Update cla.yml for dependabot[bot] whitelist (#47) 2024-08-26 16:04:41 -07:00
Pavlo Paliychuk
0ed7739bc0
Controlled example (#37)
* chore: Add romeo runner

* fix: Linter

* dedupe fixes

* wip

* wip dump

* allbirds

* chore: Update romeo parser

* chore: Anthropic model fix

* allbirds runner

* format

* wip

* mypy updates

* update

* remove r

* update tests

* format

* wip

* wip

* wip

* chore: Strategically update the message

* chore: Add romeo runner

* fix: Linter

* wip

* wip dump

* chore: Update romeo parser

* chore: Anthropic model fix

* wip

* allbirds

* allbirds runner

* format

* wip

* wip

* mypy updates

* update

* remove r

* update tests

* format

* wip

* chore: Strategically update the message

* rebase and fix import issues

* Update package imports for graphiti_core in examples and utils

* nits

* chore: Update OpenAI GPT-4o model to gpt-4o-2024-08-06

* implement groq

* improvments & linting

* cleanup and nits

* Refactor package imports for graphiti_core in examples and utils

* Refactor package imports for graphiti_core in examples and utils

* chore: Nuke unused examples

* chore: Nuke unused examples

* chore: Only run type check on graphiti_core

* fix unit tests

* reformat

* unit test

* fix: Unit tests

* test: Add coverage for extract_date_strings_from_edge

* lint

* remove commented code

---------

Co-authored-by: prestonrasmussen <prasmuss15@gmail.com>
Co-authored-by: Daniel Chalef <131175+danielchalef@users.noreply.github.com>
2024-08-26 10:30:22 -04:00
Daniel Chalef
c2aaf94be4
feat: Add CLA Assistant workflow and CONTRIBUTING guidelines (#32)
Add a new GitHub Actions workflow file to handle the CLA Assistant functionality. Also, include a CONTRIBUTING.md file with guidelines for contributing to the project.
2024-08-23 13:32:57 -07: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
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
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
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