-
Notifications
You must be signed in to change notification settings - Fork 72
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' of github.com:getzep/graphiti into extract-dates-…
…from-context # Conflicts: # core/graphiti.py # core/prompts/dedupe_edges.py # core/prompts/invalidate_edges.py # core/utils/bulk_utils.py # core/utils/maintenance/edge_operations.py # core/utils/maintenance/node_operations.py # core/utils/maintenance/temporal_operations.py # core/utils/search/search_utils.py # runner.py
- Loading branch information
Showing
46 changed files
with
2,751 additions
and
2,241 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
# To get started with Dependabot version updates, you'll need to specify which | ||
# package ecosystems to update and where the package manifests are located. | ||
# Please see the documentation for all configuration options: | ||
# https://docs.github.com/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file | ||
|
||
version: 2 | ||
updates: | ||
- package-ecosystem: "pip" # See documentation for possible values | ||
directory: "/" # Location of package manifests | ||
schedule: | ||
interval: "weekly" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
name: Lint with Ruff | ||
|
||
on: | ||
push: | ||
branches: ["main"] | ||
pull_request: | ||
branches: ["main"] | ||
|
||
jobs: | ||
ruff: | ||
environment: development | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Set up Python | ||
uses: actions/setup-python@v5 | ||
with: | ||
python-version: "3.10" | ||
- name: Install dependencies | ||
run: | | ||
python -m pip install --upgrade pip | ||
pip install "ruff>0.1.7" | ||
- name: Run Ruff linting | ||
run: ruff check --output-format=github |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
.PHONY: install format lint test all check | ||
|
||
# Define variables | ||
PYTHON = python3 | ||
POETRY = poetry | ||
PYTEST = $(POETRY) run pytest | ||
RUFF = $(POETRY) run ruff | ||
MYPY = $(POETRY) run mypy | ||
|
||
# Default target | ||
all: format lint test | ||
|
||
# Install dependencies | ||
install: | ||
$(POETRY) install --with dev | ||
|
||
# Format code | ||
format: | ||
$(RUFF) check --select I --fix | ||
$(RUFF) format | ||
|
||
# Lint code | ||
lint: | ||
$(RUFF) check | ||
# $(MYPY) . | ||
|
||
# Run tests | ||
test: | ||
$(PYTEST) | ||
|
||
# Run format, lint, and test | ||
check: format lint test |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -47,4 +47,4 @@ graphiti.close() | |
|
||
## License | ||
|
||
(Add license information) | ||
(Add license information) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
# Security Policy | ||
|
||
## Supported Versions | ||
|
||
Use this section to tell people about which versions of your project are | ||
currently being supported with security updates. | ||
|
||
| Version | Supported | | ||
|---------|--------------------| | ||
| 0.x | :white_check_mark: | | ||
|
||
|
||
## Reporting a Vulnerability | ||
|
||
Please use GitHub's Private Vulnerability Reporting mechanism found in the Security section of this repo. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
from .graphiti import Graphiti | ||
|
||
__all__ = ["Graphiti"] | ||
__all__ = ['Graphiti'] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.