Skip to content

Commit 3076b35

Browse files
SDK regeneration
1 parent 3bcf751 commit 3076b35

File tree

3 files changed

+0
-606
lines changed

3 files changed

+0
-606
lines changed

reference.md

Lines changed: 0 additions & 158 deletions
Original file line numberDiff line numberDiff line change
@@ -1204,164 +1204,6 @@ client.graph.update(
12041204
</dl>
12051205

12061206

1207-
</dd>
1208-
</dl>
1209-
</details>
1210-
1211-
<details><summary><code>client.graph.<a href="src/zep_cloud/graph/client.py">set_ontology</a>(...)</code></summary>
1212-
<dl>
1213-
<dd>
1214-
1215-
#### 📝 Description
1216-
1217-
<dl>
1218-
<dd>
1219-
1220-
<dl>
1221-
<dd>
1222-
1223-
Sets custom entity and edge types for your graph. This wrapper method
1224-
provides a clean interface for defining your graph schema with custom
1225-
entity and edge types.
1226-
1227-
See the [full documentation](/customizing-graph-structure#setting-entity-and-edge-types) for details.
1228-
</dd>
1229-
</dl>
1230-
</dd>
1231-
</dl>
1232-
1233-
#### 🔌 Usage
1234-
1235-
<dl>
1236-
<dd>
1237-
1238-
<dl>
1239-
<dd>
1240-
1241-
```python
1242-
from zep_cloud import Zep
1243-
1244-
client = Zep(
1245-
api_key="YOUR_API_KEY",
1246-
)
1247-
client.graph.set_ontology()
1248-
1249-
```
1250-
</dd>
1251-
</dl>
1252-
</dd>
1253-
</dl>
1254-
1255-
#### ⚙️ Parameters
1256-
1257-
<dl>
1258-
<dd>
1259-
1260-
<dl>
1261-
<dd>
1262-
1263-
**entities:** `typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]]` — Dictionary mapping entity type names to their definitions
1264-
1265-
</dd>
1266-
</dl>
1267-
1268-
<dl>
1269-
<dd>
1270-
1271-
**edges:** `typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]]` — Dictionary mapping edge type names to their definitions with source/target constraints
1272-
1273-
</dd>
1274-
</dl>
1275-
1276-
<dl>
1277-
<dd>
1278-
1279-
**user_ids:** `typing.Optional[typing.Sequence[str]]` — Optional list of user IDs to apply ontology to
1280-
1281-
</dd>
1282-
</dl>
1283-
1284-
<dl>
1285-
<dd>
1286-
1287-
**graph_ids:** `typing.Optional[typing.Sequence[str]]` — Optional list of graph IDs to apply ontology to
1288-
1289-
</dd>
1290-
</dl>
1291-
1292-
<dl>
1293-
<dd>
1294-
1295-
**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
1296-
1297-
</dd>
1298-
</dl>
1299-
</dd>
1300-
</dl>
1301-
1302-
1303-
</dd>
1304-
</dl>
1305-
</details>
1306-
1307-
<details><summary><code>client.graph.<a href="src/zep_cloud/graph/client.py">list_ontology</a>()</code></summary>
1308-
<dl>
1309-
<dd>
1310-
1311-
#### 📝 Description
1312-
1313-
<dl>
1314-
<dd>
1315-
1316-
<dl>
1317-
<dd>
1318-
1319-
Retrieves the current entity and edge types configured for your graph.
1320-
1321-
See the [full documentation](/customizing-graph-structure) for details.
1322-
</dd>
1323-
</dl>
1324-
</dd>
1325-
</dl>
1326-
1327-
#### 🔌 Usage
1328-
1329-
<dl>
1330-
<dd>
1331-
1332-
<dl>
1333-
<dd>
1334-
1335-
```python
1336-
from zep_cloud import Zep
1337-
1338-
client = Zep(
1339-
api_key="YOUR_API_KEY",
1340-
)
1341-
client.graph.list_ontology()
1342-
1343-
```
1344-
</dd>
1345-
</dl>
1346-
</dd>
1347-
</dl>
1348-
1349-
#### ⚙️ Parameters
1350-
1351-
<dl>
1352-
<dd>
1353-
1354-
<dl>
1355-
<dd>
1356-
1357-
**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
1358-
1359-
</dd>
1360-
</dl>
1361-
</dd>
1362-
</dl>
1363-
1364-
13651207
</dd>
13661208
</dl>
13671209
</details>

src/zep_cloud/graph/client.py

Lines changed: 0 additions & 176 deletions
Original file line numberDiff line numberDiff line change
@@ -706,86 +706,6 @@ def update(
706706
)
707707
return _response.data
708708

709-
def set_ontology(
710-
self,
711-
*,
712-
entities: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = OMIT,
713-
edges: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = OMIT,
714-
user_ids: typing.Optional[typing.Sequence[str]] = OMIT,
715-
graph_ids: typing.Optional[typing.Sequence[str]] = OMIT,
716-
request_options: typing.Optional[RequestOptions] = None,
717-
) -> SuccessResponse:
718-
"""
719-
Sets custom entity and edge types for your graph. This wrapper method
720-
provides a clean interface for defining your graph schema with custom
721-
entity and edge types.
722-
723-
See the [full documentation](/customizing-graph-structure#setting-entity-and-edge-types) for details.
724-
725-
Parameters
726-
----------
727-
entities : typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]]
728-
Dictionary mapping entity type names to their definitions
729-
730-
edges : typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]]
731-
Dictionary mapping edge type names to their definitions with source/target constraints
732-
733-
user_ids : typing.Optional[typing.Sequence[str]]
734-
Optional list of user IDs to apply ontology to
735-
736-
graph_ids : typing.Optional[typing.Sequence[str]]
737-
Optional list of graph IDs to apply ontology to
738-
739-
request_options : typing.Optional[RequestOptions]
740-
Request-specific configuration.
741-
742-
Returns
743-
-------
744-
SuccessResponse
745-
Ontology set successfully
746-
747-
Examples
748-
--------
749-
from zep_cloud import Zep
750-
751-
client = Zep(
752-
api_key="YOUR_API_KEY",
753-
)
754-
client.graph.set_ontology()
755-
"""
756-
_response = self._raw_client.set_ontology(
757-
entities=entities, edges=edges, user_ids=user_ids, graph_ids=graph_ids, request_options=request_options
758-
)
759-
return _response.data
760-
761-
def list_ontology(self, *, request_options: typing.Optional[RequestOptions] = None) -> EntityTypeResponse:
762-
"""
763-
Retrieves the current entity and edge types configured for your graph.
764-
765-
See the [full documentation](/customizing-graph-structure) for details.
766-
767-
Parameters
768-
----------
769-
request_options : typing.Optional[RequestOptions]
770-
Request-specific configuration.
771-
772-
Returns
773-
-------
774-
EntityTypeResponse
775-
Current ontology
776-
777-
Examples
778-
--------
779-
from zep_cloud import Zep
780-
781-
client = Zep(
782-
api_key="YOUR_API_KEY",
783-
)
784-
client.graph.list_ontology()
785-
"""
786-
_response = self._raw_client.list_ontology(request_options=request_options)
787-
return _response.data
788-
789709

790710
class AsyncGraphClient:
791711
def __init__(self, *, client_wrapper: AsyncClientWrapper):
@@ -1561,99 +1481,3 @@ async def main() -> None:
15611481
request_options=request_options,
15621482
)
15631483
return _response.data
1564-
1565-
async def set_ontology(
1566-
self,
1567-
*,
1568-
entities: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = OMIT,
1569-
edges: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = OMIT,
1570-
user_ids: typing.Optional[typing.Sequence[str]] = OMIT,
1571-
graph_ids: typing.Optional[typing.Sequence[str]] = OMIT,
1572-
request_options: typing.Optional[RequestOptions] = None,
1573-
) -> SuccessResponse:
1574-
"""
1575-
Sets custom entity and edge types for your graph. This wrapper method
1576-
provides a clean interface for defining your graph schema with custom
1577-
entity and edge types.
1578-
1579-
See the [full documentation](/customizing-graph-structure#setting-entity-and-edge-types) for details.
1580-
1581-
Parameters
1582-
----------
1583-
entities : typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]]
1584-
Dictionary mapping entity type names to their definitions
1585-
1586-
edges : typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]]
1587-
Dictionary mapping edge type names to their definitions with source/target constraints
1588-
1589-
user_ids : typing.Optional[typing.Sequence[str]]
1590-
Optional list of user IDs to apply ontology to
1591-
1592-
graph_ids : typing.Optional[typing.Sequence[str]]
1593-
Optional list of graph IDs to apply ontology to
1594-
1595-
request_options : typing.Optional[RequestOptions]
1596-
Request-specific configuration.
1597-
1598-
Returns
1599-
-------
1600-
SuccessResponse
1601-
Ontology set successfully
1602-
1603-
Examples
1604-
--------
1605-
import asyncio
1606-
1607-
from zep_cloud import AsyncZep
1608-
1609-
client = AsyncZep(
1610-
api_key="YOUR_API_KEY",
1611-
)
1612-
1613-
1614-
async def main() -> None:
1615-
await client.graph.set_ontology()
1616-
1617-
1618-
asyncio.run(main())
1619-
"""
1620-
_response = await self._raw_client.set_ontology(
1621-
entities=entities, edges=edges, user_ids=user_ids, graph_ids=graph_ids, request_options=request_options
1622-
)
1623-
return _response.data
1624-
1625-
async def list_ontology(self, *, request_options: typing.Optional[RequestOptions] = None) -> EntityTypeResponse:
1626-
"""
1627-
Retrieves the current entity and edge types configured for your graph.
1628-
1629-
See the [full documentation](/customizing-graph-structure) for details.
1630-
1631-
Parameters
1632-
----------
1633-
request_options : typing.Optional[RequestOptions]
1634-
Request-specific configuration.
1635-
1636-
Returns
1637-
-------
1638-
EntityTypeResponse
1639-
Current ontology
1640-
1641-
Examples
1642-
--------
1643-
import asyncio
1644-
1645-
from zep_cloud import AsyncZep
1646-
1647-
client = AsyncZep(
1648-
api_key="YOUR_API_KEY",
1649-
)
1650-
1651-
1652-
async def main() -> None:
1653-
await client.graph.list_ontology()
1654-
1655-
1656-
asyncio.run(main())
1657-
"""
1658-
_response = await self._raw_client.list_ontology(request_options=request_options)
1659-
return _response.data

0 commit comments

Comments
 (0)