-
Notifications
You must be signed in to change notification settings - Fork 27
Clone graph #263
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Clone graph #263
Changes from all commits
Commits
Show all changes
37 commits
Select commit
Hold shift + click to select a range
2ae5251
chore: Fix fact ratings table
paul-paliychuk 791352a
Merge branch 'main' of github.com:getzep/zep-python
paul-paliychuk be6b1b7
Merge branch 'main' of github.com:getzep/zep-python
paul-paliychuk e2adc9f
chore: Bump version
paul-paliychuk c80c78c
SDK regeneration
fern-api[bot] cd968d7
SDK regeneration
fern-api[bot] 3e75648
SDK regeneration
fern-api[bot] 96ad439
feat: Add support for custom entity edges
paul-paliychuk cc47bdf
Merge branch 'v2' of github.com:getzep/zep-python into v2
paul-paliychuk 6a5be5e
simplify ontology client
paul-paliychuk 1c23a19
SDK regeneration
fern-api[bot] 626ca50
SDK regeneration
fern-api[bot] 1d958ad
chore: Update doc string
paul-paliychuk 0ec9e36
Merge branch 'main' of github.com:getzep/zep-python into v2
paul-paliychuk 6e9c331
feat: Update sync version of set entity type method
paul-paliychuk bb5382a
SDK regeneration
fern-api[bot] ecb706e
SDK regeneration
fern-api[bot] a341d16
chore: Bump version
paul-paliychuk 3d5ced0
Merge branch 'main' of github.com:getzep/zep-python into v2
paul-paliychuk 32a3342
SDK regeneration
fern-api[bot] 47bb410
SDK regeneration
fern-api[bot] 3990f92
SDK regeneration
fern-api[bot] 368e86c
SDK regeneration
fern-api[bot] daa52bd
SDK regeneration
fern-api[bot] 365dceb
Merge branch 'main' of github.com:getzep/zep-python into v2
paul-paliychuk f666371
chore: Set up set ontology method
paul-paliychuk 1bea866
Merge branch 'main' of github.com:getzep/zep-python into v2
paul-paliychuk 574e606
chore: Bump version
paul-paliychuk 8a6d79b
SDK regeneration
fern-api[bot] dee4a4c
SDK regeneration
fern-api[bot] f7f8708
Merge branch 'main' of github.com:getzep/zep-python into v2
paul-paliychuk 29f0858
Merge branch 'v2' of github.com:getzep/zep-python into v2
paul-paliychuk ceabe94
chore: Bump version
paul-paliychuk 62d14ef
SDK regeneration
fern-api[bot] f091d80
SDK regeneration
fern-api[bot] 2b556a2
SDK regeneration
fern-api[bot] 38806fd
chore: Add deprecation notice to structured data extraction
paul-paliychuk File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 | ||||
|---|---|---|---|---|---|---|
|
|
@@ -1596,6 +1596,98 @@ client.graph.add_fact_triple( | |||||
| </dl> | ||||||
|
|
||||||
|
|
||||||
| </dd> | ||||||
| </dl> | ||||||
| </details> | ||||||
|
|
||||||
| <details><summary><code>client.graph.<a href="src/zep_cloud/graph/client.py">clone</a>(...)</code></summary> | ||||||
| <dl> | ||||||
| <dd> | ||||||
|
|
||||||
| #### 📝 Description | ||||||
|
|
||||||
| <dl> | ||||||
| <dd> | ||||||
|
|
||||||
| <dl> | ||||||
| <dd> | ||||||
|
|
||||||
| Clone a user or group graph. | ||||||
| </dd> | ||||||
| </dl> | ||||||
| </dd> | ||||||
| </dl> | ||||||
|
|
||||||
| #### 🔌 Usage | ||||||
|
|
||||||
| <dl> | ||||||
| <dd> | ||||||
|
|
||||||
| <dl> | ||||||
| <dd> | ||||||
|
|
||||||
| ```python | ||||||
| from zep_cloud.client import Zep | ||||||
|
|
||||||
| client = Zep( | ||||||
| api_key="YOUR_API_KEY", | ||||||
| ) | ||||||
| client.graph.clone() | ||||||
|
|
||||||
| ``` | ||||||
| </dd> | ||||||
| </dl> | ||||||
| </dd> | ||||||
| </dl> | ||||||
|
|
||||||
| #### ⚙️ Parameters | ||||||
|
|
||||||
| <dl> | ||||||
| <dd> | ||||||
|
|
||||||
| <dl> | ||||||
| <dd> | ||||||
|
|
||||||
| **source_group_id:** `typing.Optional[str]` — group_id of the group whose graph is being cloned. Required if user_id is not provided | ||||||
|
|
||||||
| </dd> | ||||||
| </dl> | ||||||
|
|
||||||
| <dl> | ||||||
| <dd> | ||||||
|
|
||||||
| **source_user_id:** `typing.Optional[str]` — user_id of the user whose graph is being cloned. Required if group_id is not provided | ||||||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Typo: The description for source_user_id mentions "Required if group_id is not provided". For consistency, it should probably read "Required if source_group_id is not provided".
Suggested change
This comment was generated because it violated a code review rule: mrule_akx655bcesz2pGU1. |
||||||
|
|
||||||
| </dd> | ||||||
| </dl> | ||||||
|
|
||||||
| <dl> | ||||||
| <dd> | ||||||
|
|
||||||
| **target_group_id:** `typing.Optional[str]` — group_id to be set on the cloned group. Must not point to an existing group. Required if target_user_id is not provided. | ||||||
|
|
||||||
| </dd> | ||||||
| </dl> | ||||||
|
|
||||||
| <dl> | ||||||
| <dd> | ||||||
|
|
||||||
| **target_user_id:** `typing.Optional[str]` — user_id to be set on the cloned user. Must not point to an existing user. Required if target_group_id is not provided. | ||||||
|
|
||||||
| </dd> | ||||||
| </dl> | ||||||
|
|
||||||
| <dl> | ||||||
| <dd> | ||||||
|
|
||||||
| **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. | ||||||
|
|
||||||
| </dd> | ||||||
| </dl> | ||||||
| </dd> | ||||||
| </dl> | ||||||
|
|
||||||
|
|
||||||
| </dd> | ||||||
| </dl> | ||||||
| </details> | ||||||
|
|
@@ -2478,7 +2570,7 @@ Fact rating instructions can not be unset. | |||||
| <dl> | ||||||
| <dd> | ||||||
|
|
||||||
| Classifies a session. | ||||||
| Deprecated: Classifies a session. | ||||||
| </dd> | ||||||
| </dl> | ||||||
| </dd> | ||||||
|
|
@@ -2676,7 +2768,7 @@ client.memory.end_session( | |||||
| <dl> | ||||||
| <dd> | ||||||
|
|
||||||
| extract data from a session by session id | ||||||
| Deprecated: extract data from a session by session id | ||||||
| </dd> | ||||||
| </dl> | ||||||
| </dd> | ||||||
|
|
||||||
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Typo: The description for source_group_id mentions "Required if user_id is not provided". For consistency, it should probably read "Required if source_user_id is not provided".
This comment was generated because it violated a code review rule: mrule_akx655bcesz2pGU1.