Commit graph

485 commits

Author SHA1 Message Date
Daniel Chalef
743d5e8612
Refactor: Replace dictionary responses with structured response classes in graphiti_mcp_server.py (#668)
Updated the error and success responses in various functions to utilize structured response classes (ErrorResponse, SuccessResponse, FactSearchResponse, EpisodeSearchResponse, StatusResponse) for improved consistency and clarity. Incremented version in pyproject.toml to 0.2.1.
2025-07-02 22:18:50 -07:00
James.
7ce07942b1
Fix: Add missing name_embedding field to community search queries (#664)
Enhanced queries in search_utils.py to include 'name_embedding' field in community full-text and similarity search functions.
2025-07-02 11:45:25 -04:00
Daniel Chalef
5c0f1baf07 @jamesindeed has signed the CLA in getzep/graphiti#664 2025-07-02 08:24:37 -07:00
Daniel Chalef
4882e5f98c @jawwadfirdousi has signed the CLA in getzep/graphiti#663 2025-07-02 06:02:32 -07:00
Daniel Chalef
e10c9c5e3e @urmzd has signed the CLA in getzep/graphiti#661 2025-07-02 02:17:02 -07:00
Daniel Chalef
027035a241
feat: add pre-built Docker image for Graphiti MCP server (#657)
* Update Docker Compose to use the latest Graphiti MCP image and enhance README documentation

* Enhance README.md with updated quick start instructions for various clients, including specific sections for Claude Desktop and Cursor, and clarify service startup steps using Docker Compose.
2025-07-01 16:14:41 -07:00
Daniel Chalef
4652161c92
Add GitHub Actions workflow for building and pushing MCP Server Docker image (#656)
* Add GitHub Actions workflow for building and pushing MCP Server Docker image

This commit introduces a new workflow that triggers on changes to the pyproject.toml file in the main branch. It builds and pushes the Docker image to Docker Hub, extracting the version from the pyproject.toml and setting up necessary permissions and steps for the process.

* Add workflow_dispatch input to MCP Server Docker workflow

This commit adds an optional input parameter, `push_image`, to the GitHub Actions workflow for the MCP Server Docker image. This allows users to control whether to push the image to the registry during manual workflow dispatch, enhancing flexibility for testing purposes.

* Update Docker workflow conditions and increment version to 0.2.0

This commit modifies the MCP Server Docker workflow to include the `push_image` input conditionally for both pull requests and manual dispatches. Additionally, the version in `pyproject.toml` is updated from 0.1.0 to 0.2.0 to reflect the changes made.

* Remove unnecessary package write permission from MCP Server Docker workflow

* Add permissions for packages, actions, and security events in MCP Server Docker workflow

* Update MCP Server Docker workflow to use Ubuntu 24.04 for build environment

* Update MCP Server Docker workflow permissions to include id-token write access

* Remove unused cache configuration from MCP Server Docker workflow
2025-07-01 15:55:08 -07:00
Preston Rasmussen
71360d91fc
reformat (#655) 2025-07-01 12:26:15 -04:00
Daniel Chalef
537e19f44a
v0.15.0 bump (#654) 2025-07-01 08:46:45 -07:00
Daniel Chalef
b3cd3e3206
Potential fix for code scanning alert no. 17: Workflow does not contain permissions (#651)
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
2025-06-30 13:04:58 -07:00
Daniel Chalef
c4bb1f6ef6
Potential fix for code scanning alert no. 18: Workflow does not contain permissions (#648)
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
2025-06-30 13:01:42 -07:00
Daniel Chalef
16468a4cba
Update README.md to clarify OpenAI API usage and Azure OpenAI configuration details (#649) 2025-06-30 12:59:35 -07:00
Daniel Chalef
689d669559
Gemini client improvements; Gemini reranker (#645)
* add support for Gemini 2.5 model thinking budget

* allow adding thinking config to support current and future gemini models

* merge

* improve client; add reranker

* refactor: change type hint for gemini_messages to Any for flexibility

* refactor: update GeminiRerankerClient to use direct relevance scoring and improve ranking logic. Add tests

* fix fixtures

---------

Co-authored-by: realugbun <github.disorder751@passmail.net>
2025-06-30 12:55:17 -07:00
Daniel Chalef
daec70db65
fix falkordb linting issues (#650)
Refactor FalkorDB driver: change port type to int and clean up whitespace
2025-06-30 12:55:05 -07:00
Daniel Chalef
8213d10d44
migrate to pyright (#646)
* migrate to pyright

* Refactor type checking to use Pyright, update dependencies, and clean up code.

- Replaced MyPy with Pyright in configuration files and CI workflows.
- Updated `pyproject.toml` and `uv.lock` to reflect new dependencies and versions.
- Adjusted type hints and fixed minor code issues across various modules for better compatibility with Pyright.
- Added new packages `backoff` and `posthog` to the project dependencies.

* Update CI workflows to install all extra dependencies for type checking and unit tests

* Update dependencies in uv.lock to replace MyPy with Pyright and add nodeenv package. Adjust type hinting in config.py for compatibility with Pyright.
2025-06-30 12:04:21 -07:00
prestonrasmussen
7a8283dbac make falkor tests optional 2025-06-30 11:26:30 -04:00
prestonrasmussen
885d14c9f8 make unit tests optional 2025-06-30 11:18:12 -04:00
prestonrasmussen
0a7fadf62c remove falkordb from required dependencies 2025-06-30 11:08:50 -04:00
Gal Shubeli
6e6115c134
FalkorDB Integration: Bug Fixes and Unit Tests (#607)
* fixes-and-tests

* update-workflow

* lint-fixes

* mypy-fixes

* fix-falkor-tests

* Update poetry.lock after pyproject.toml changes

* update-yml

* fix-tests

* comp-tests

* typo

* fix-tests

---------

Co-authored-by: Guy Korland <gkorland@gmail.com>
2025-06-30 11:01:44 -04:00
Daniel Chalef
19772aa5a1
update mcp to graphiti 0.14 (#641)
* Update dependencies in pyproject.toml and uv.lock: bump graphiti-core to 0.14.0, add backoff and posthog packages, and update related version specifications.

* Update Dockerfile to change ownership command for app directory to verbose mode
2025-06-27 14:43:53 -07:00
Daniel Chalef
5e85337c82
Update release-graphiti-core.yml to python 3.11 (#639) 2025-06-27 14:27:21 -07:00
Daniel Chalef
254ee983b8
bump version to 0.14.0 in pyproject.toml (#637) 2025-06-27 14:09:59 -07:00
Daniel Chalef
7537f0c972
fix: correct spacing in group IDs filter concatenation in fulltext_query function (#636) 2025-06-27 14:09:01 -07:00
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
c29893d972
Excluded entity type filtering (#624)
* excluded entities filtering

* Fix variable name casing in test_entity_exclusion_int.py for consistency
2025-06-26 20:54:43 -07:00
prestonrasmussen
9c8a20e16f bump version 2025-06-26 15:45:13 -04:00
prestonrasmussen
c6f7c98598 updates 2025-06-26 15:38:05 -04:00
Daniel Chalef
fc104cbe41
Update SEMAPHORE_LIMIT default value in docker-compose.yml to 10 for improved concurrency management (#628) 2025-06-25 21:45:46 -07:00
Preston Rasmussen
97593550a9
fix fulltext query (#626)
* fix fulltext query

* updates
2025-06-25 18:09:56 -04:00
Daniel Chalef
9cc2e86071
Azure OpenAI improvements and fixes; Improve Graphiti Azure OpenAI config (#620)
* Azure OpenAI improvements and fixes; Improve Graphiti Azure OpenAI config

* format
2025-06-25 14:48:12 -04:00
Thor Christoffersen Hochman
587f1b9876
Add Ollama documentation to readme (#601)
Add Ollama documentation
2025-06-24 17:33:35 -07:00
Daniel Chalef
a7ae6784c8
mcp concurrency limit (#623)
* update graphiti dep

* - Introduce SEMAPHORE_LIMIT environment variable in graphiti_mcp_server.py to manage concurrency and mitigate 429 rate limit errors.
- Document SEMAPHORE_LIMIT usage in README.md for better user guidance.

* Log the concurrency limit in Graphiti initialization for better visibility.

* Document SEMAPHORE_LIMIT environment variable in README.md to clarify its role in managing episode processing concurrency and handling 429 rate limit errors.
2025-06-24 15:35:33 -07:00
Preston Rasmussen
2b27353097
Node name bug fix (#622)
* fixes

* fix bugs

* change version
2025-06-24 17:13:27 -04:00
dependabot[bot]
dd4da318b6
Bump langsmith from 0.3.45 to 0.4.1 (#615)
Bumps [langsmith](https://github.com/langchain-ai/langsmith-sdk) from 0.3.45 to 0.4.1.
- [Release notes](https://github.com/langchain-ai/langsmith-sdk/releases)
- [Commits](https://github.com/langchain-ai/langsmith-sdk/compare/v0.3.45...v0.4.1)

---
updated-dependencies:
- dependency-name: langsmith
  dependency-version: 0.4.1
  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>
2025-06-24 09:39:38 -07:00
Guy Korland
0d7dd9d363
set requires-python to fix poetry install (#609)
set requires-python
2025-06-24 09:39:00 -07:00
Daniel Chalef
a6bb9b3eca
Add group ID validation and error handling (#618)
- Introduced `GroupIdValidationError` to handle invalid group ID formats.
- Added `validate_group_id` function to check that group IDs contain only alphanumeric characters, dashes, or underscores.
- Integrated `validate_group_id` checks in the `Graphiti` class to ensure group IDs are validated during processing.
2025-06-24 09:33:54 -07:00
Daniel Chalef
fe870b953f
Add max_coroutines parameter to Graphiti and update semaphore_gather function (#619)
- Introduced max_coroutines parameter in the Graphiti class to control the maximum number of concurrent operations.
- Updated the semaphore_gather function to accept max_coroutines as an optional argument, defaulting to SEMAPHORE_LIMIT if not provided.
- Adjusted multiple calls to semaphore_gather throughout the Graphiti class to utilize the new max_coroutines parameter for better concurrency management.
2025-06-24 09:32:16 -07:00
dependabot[bot]
ae7f2234a8
Bump ruff from 0.11.13 to 0.12.0 (#616)
Bumps [ruff](https://github.com/astral-sh/ruff) from 0.11.13 to 0.12.0.
- [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.11.13...0.12.0)

---
updated-dependencies:
- dependency-name: ruff
  dependency-version: 0.12.0
  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>
2025-06-24 11:40:27 -04:00
dependabot[bot]
67e983501b
Bump mypy from 1.16.0 to 1.16.1 (#617)
Bumps [mypy](https://github.com/python/mypy) from 1.16.0 to 1.16.1.
- [Changelog](https://github.com/python/mypy/blob/master/CHANGELOG.md)
- [Commits](https://github.com/python/mypy/compare/v1.16.0...v1.16.1)

---
updated-dependencies:
- dependency-name: mypy
  dependency-version: 1.16.1
  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>
2025-06-24 11:40:13 -04:00
robrichardson13
b8e6762cb2
fix: ensure fact_embedding is removed from attributes in format_fact_… (#611)
fix: ensure fact_embedding is removed from attributes in format_fact_result

This ensures that fact_embedding is completely cleaned from the result,
both from the main level and from the attributes dictionary.
2025-06-23 22:01:26 -07:00
dependabot[bot]
25dfc10662
Bump pytest from 8.4.0 to 8.4.1 (#614)
Bumps [pytest](https://github.com/pytest-dev/pytest) from 8.4.0 to 8.4.1.
- [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.4.0...8.4.1)

---
updated-dependencies:
- dependency-name: pytest
  dependency-version: 8.4.1
  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>
2025-06-23 12:42:48 -04:00
dependabot[bot]
1ff4b2248d
Bump langchain-openai from 0.3.23 to 0.3.25 (#613)
Bumps [langchain-openai](https://github.com/langchain-ai/langchain) from 0.3.23 to 0.3.25.
- [Release notes](https://github.com/langchain-ai/langchain/releases)
- [Commits](https://github.com/langchain-ai/langchain/compare/langchain-openai==0.3.23...langchain-openai==0.3.25)

---
updated-dependencies:
- dependency-name: langchain-openai
  dependency-version: 0.3.25
  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>
2025-06-23 12:41:07 -04:00
Daniel Chalef
9cc020def0 @gkorland has signed the CLA in getzep/graphiti#609 2025-06-21 10:35:48 -07:00
Daniel Chalef
9f886c114d @robrichardson13 has signed the CLA in getzep/graphiti#611 2025-06-19 21:59:15 -07:00
Preston Rasmussen
760ca7e90c
Node name bug (#605)
* prompt update

* prompt update

* revert quickstart changes
2025-06-18 18:20:28 -04:00
Preston Rasmussen
cc4541e496
make falkordb dependency optional (#604) 2025-06-18 16:47:09 -04:00
dependabot[bot]
ed6183afe7
Bump groq from 0.26.0 to 0.28.0 (#595)
Bumps [groq](https://github.com/groq/groq-python) from 0.26.0 to 0.28.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.26.0...v0.28.0)

---
updated-dependencies:
- dependency-name: groq
  dependency-version: 0.28.0
  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>
2025-06-18 16:17:37 -04:00
dependabot[bot]
ee513516fa
Bump mypy from 1.15.0 to 1.16.0 (#596)
Bumps [mypy](https://github.com/python/mypy) from 1.15.0 to 1.16.0.
- [Changelog](https://github.com/python/mypy/blob/master/CHANGELOG.md)
- [Commits](https://github.com/python/mypy/compare/v1.15.0...v1.16.0)

---
updated-dependencies:
- dependency-name: mypy
  dependency-version: 1.16.0
  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>
2025-06-18 16:17:25 -04:00
dependabot[bot]
83ec0a1230
Bump urllib3 from 2.3.0 to 2.5.0 in the pip group (#603)
Bumps the pip group with 1 update: [urllib3](https://github.com/urllib3/urllib3).


Updates `urllib3` from 2.3.0 to 2.5.0
- [Release notes](https://github.com/urllib3/urllib3/releases)
- [Changelog](https://github.com/urllib3/urllib3/blob/main/CHANGES.rst)
- [Commits](https://github.com/urllib3/urllib3/compare/2.3.0...2.5.0)

---
updated-dependencies:
- dependency-name: urllib3
  dependency-version: 2.5.0
  dependency-type: indirect
  dependency-group: pip
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-06-18 16:17:13 -04:00