Skip to content

Commit 05a3fb0

Browse files
SDK regeneration
1 parent 95106cf commit 05a3fb0

11 files changed

Lines changed: 591 additions & 2 deletions

reference.md

Lines changed: 122 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1443,6 +1443,14 @@ client.graph.add(
14431443
<dl>
14441444
<dd>
14451445

1446+
**strict_ontology:** `typing.Optional[bool]` — When true, prevents extraction of generic Entity nodes that do not match the configured ontology.
1447+
1448+
</dd>
1449+
</dl>
1450+
1451+
<dl>
1452+
<dd>
1453+
14461454
**user_id:** `typing.Optional[str]` — User ID is the ID of the user to which the data will be added. If not adding to a user graph, please use graph_id field instead.
14471455

14481456
</dd>
@@ -1536,6 +1544,14 @@ client.graph.add_batch(
15361544
<dl>
15371545
<dd>
15381546

1547+
**strict_ontology:** `typing.Optional[bool]` — When true, prevents extraction of generic Entity nodes that do not match the configured ontology.
1548+
1549+
</dd>
1550+
</dl>
1551+
1552+
<dl>
1553+
<dd>
1554+
15391555
**user_id:** `typing.Optional[str]` — User ID is the ID of the user to which the data will be added. If not adding to a user graph, please use graph_id field instead.
15401556

15411557
</dd>
@@ -2091,6 +2107,96 @@ client.graph.list_all(
20912107
</dl>
20922108

20932109

2110+
</dd>
2111+
</dl>
2112+
</details>
2113+
2114+
<details><summary><code>client.graph.<a href="src/zep_cloud/graph/client.py">add_nodes</a>(...)</code></summary>
2115+
<dl>
2116+
<dd>
2117+
2118+
#### 📝 Description
2119+
2120+
<dl>
2121+
<dd>
2122+
2123+
<dl>
2124+
<dd>
2125+
2126+
Add entity nodes to a user or graph directly, without episode ingestion. Up to 100 nodes per request.
2127+
</dd>
2128+
</dl>
2129+
</dd>
2130+
</dl>
2131+
2132+
#### 🔌 Usage
2133+
2134+
<dl>
2135+
<dd>
2136+
2137+
<dl>
2138+
<dd>
2139+
2140+
```python
2141+
from zep_cloud import GraphitiAddNodeItem, Zep
2142+
2143+
client = Zep(
2144+
api_key="YOUR_API_KEY",
2145+
)
2146+
client.graph.add_nodes(
2147+
nodes=[
2148+
GraphitiAddNodeItem(
2149+
name="name",
2150+
)
2151+
],
2152+
)
2153+
2154+
```
2155+
</dd>
2156+
</dl>
2157+
</dd>
2158+
</dl>
2159+
2160+
#### ⚙️ Parameters
2161+
2162+
<dl>
2163+
<dd>
2164+
2165+
<dl>
2166+
<dd>
2167+
2168+
**nodes:** `typing.Sequence[GraphitiAddNodeItem]` — The nodes to add. 1 to 100 items.
2169+
2170+
</dd>
2171+
</dl>
2172+
2173+
<dl>
2174+
<dd>
2175+
2176+
**graph_id:** `typing.Optional[str]`
2177+
2178+
</dd>
2179+
</dl>
2180+
2181+
<dl>
2182+
<dd>
2183+
2184+
**user_id:** `typing.Optional[str]`
2185+
2186+
</dd>
2187+
</dl>
2188+
2189+
<dl>
2190+
<dd>
2191+
2192+
**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
2193+
2194+
</dd>
2195+
</dl>
2196+
</dd>
2197+
</dl>
2198+
2199+
20942200
</dd>
20952201
</dl>
20962202
</details>
@@ -3367,6 +3473,14 @@ that are added to a user's graph.
33673473
<dl>
33683474
<dd>
33693475

3476+
**strict_ontology:** `typing.Optional[bool]` — When true, prevents extraction of generic Entity nodes that do not match the configured ontology.
3477+
3478+
</dd>
3479+
</dl>
3480+
3481+
<dl>
3482+
<dd>
3483+
33703484
**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
33713485

33723486
</dd>
@@ -3473,6 +3587,14 @@ that are added to a user's graph.
34733587
<dl>
34743588
<dd>
34753589

3590+
**strict_ontology:** `typing.Optional[bool]` — When true, prevents extraction of generic Entity nodes that do not match the configured ontology.
3591+
3592+
</dd>
3593+
</dl>
3594+
3595+
<dl>
3596+
<dd>
3597+
34763598
**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
34773599

34783600
</dd>

src/zep_cloud/__init__.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,8 @@
5252
GraphSearchResults,
5353
GraphSearchScope,
5454
GraphThreadSummariesRequest,
55+
GraphitiAddNodeItem,
56+
GraphitiAddNodesResponse,
5557
GraphitiMetadataFilterGroupType,
5658
GraphitiSagaNode,
5759
HubDetectConfig,
@@ -145,6 +147,8 @@
145147
"GraphSearchResults",
146148
"GraphSearchScope",
147149
"GraphThreadSummariesRequest",
150+
"GraphitiAddNodeItem",
151+
"GraphitiAddNodesResponse",
148152
"GraphitiMetadataFilterGroupType",
149153
"GraphitiSagaNode",
150154
"HubDetectConfig",

0 commit comments

Comments
 (0)