Skip to content

Commit fec0e27

Browse files
SDK regeneration
1 parent 2ad98f5 commit fec0e27

11 files changed

Lines changed: 0 additions & 754 deletions

reference.md

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

10381038

1039-
</dd>
1040-
</dl>
1041-
</details>
1042-
1043-
<details><summary><code>client.graph.<a href="src/zep_cloud/graph/client.py">set_ontology</a>(...)</code></summary>
1044-
<dl>
1045-
<dd>
1046-
1047-
#### 📝 Description
1048-
1049-
<dl>
1050-
<dd>
1051-
1052-
<dl>
1053-
<dd>
1054-
1055-
Sets custom entity and edge types for your graph. This wrapper method
1056-
provides a clean interface for defining your graph schema with custom
1057-
entity and edge types.
1058-
1059-
See the [full documentation](/customizing-graph-structure#setting-entity-and-edge-types) for details.
1060-
</dd>
1061-
</dl>
1062-
</dd>
1063-
</dl>
1064-
1065-
#### 🔌 Usage
1066-
1067-
<dl>
1068-
<dd>
1069-
1070-
<dl>
1071-
<dd>
1072-
1073-
```python
1074-
from zep_cloud import Zep
1075-
1076-
client = Zep(
1077-
api_key="YOUR_API_KEY",
1078-
)
1079-
client.graph.set_ontology()
1080-
1081-
```
1082-
</dd>
1083-
</dl>
1084-
</dd>
1085-
</dl>
1086-
1087-
#### ⚙️ Parameters
1088-
1089-
<dl>
1090-
<dd>
1091-
1092-
<dl>
1093-
<dd>
1094-
1095-
**entities:** `typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]]` — Dictionary mapping entity type names to their definitions
1096-
1097-
</dd>
1098-
</dl>
1099-
1100-
<dl>
1101-
<dd>
1102-
1103-
**edges:** `typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]]` — Dictionary mapping edge type names to their definitions with source/target constraints
1104-
1105-
</dd>
1106-
</dl>
1107-
1108-
<dl>
1109-
<dd>
1110-
1111-
**user_ids:** `typing.Optional[typing.Sequence[str]]` — Optional list of user IDs to apply ontology to
1112-
1113-
</dd>
1114-
</dl>
1115-
1116-
<dl>
1117-
<dd>
1118-
1119-
**graph_ids:** `typing.Optional[typing.Sequence[str]]` — Optional list of graph IDs to apply ontology to
1120-
1121-
</dd>
1122-
</dl>
1123-
1124-
<dl>
1125-
<dd>
1126-
1127-
**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
1128-
1129-
</dd>
1130-
</dl>
1131-
</dd>
1132-
</dl>
1133-
1134-
1135-
</dd>
1136-
</dl>
1137-
</details>
1138-
1139-
<details><summary><code>client.graph.<a href="src/zep_cloud/graph/client.py">list_ontology</a>()</code></summary>
1140-
<dl>
1141-
<dd>
1142-
1143-
#### 📝 Description
1144-
1145-
<dl>
1146-
<dd>
1147-
1148-
<dl>
1149-
<dd>
1150-
1151-
Retrieves the current entity and edge types configured for your graph.
1152-
1153-
See the [full documentation](/customizing-graph-structure) for details.
1154-
</dd>
1155-
</dl>
1156-
</dd>
1157-
</dl>
1158-
1159-
#### 🔌 Usage
1160-
1161-
<dl>
1162-
<dd>
1163-
1164-
<dl>
1165-
<dd>
1166-
1167-
```python
1168-
from zep_cloud import Zep
1169-
1170-
client = Zep(
1171-
api_key="YOUR_API_KEY",
1172-
)
1173-
client.graph.list_ontology()
1174-
1175-
```
1176-
</dd>
1177-
</dl>
1178-
</dd>
1179-
</dl>
1180-
1181-
#### ⚙️ Parameters
1182-
1183-
<dl>
1184-
<dd>
1185-
1186-
<dl>
1187-
<dd>
1188-
1189-
**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
1190-
1191-
</dd>
1192-
</dl>
1193-
</dd>
1194-
</dl>
1195-
1196-
11971039
</dd>
11981040
</dl>
11991041
</details>

src/zep_cloud/__init__.py

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -11,14 +11,8 @@
1111
CloneGraphResponse,
1212
ComparisonOperator,
1313
DateFilter,
14-
EdgeType,
1514
EntityEdge,
16-
EntityEdgeSourceTarget,
1715
EntityNode,
18-
EntityProperty,
19-
EntityPropertyType,
20-
EntityType,
21-
EntityTypeResponse,
2216
Episode,
2317
EpisodeData,
2418
EpisodeMentions,
@@ -66,14 +60,8 @@
6660
"CloneGraphResponse",
6761
"ComparisonOperator",
6862
"DateFilter",
69-
"EdgeType",
7063
"EntityEdge",
71-
"EntityEdgeSourceTarget",
7264
"EntityNode",
73-
"EntityProperty",
74-
"EntityPropertyType",
75-
"EntityType",
76-
"EntityTypeResponse",
7765
"Episode",
7866
"EpisodeData",
7967
"EpisodeMentions",

src/zep_cloud/graph/client.py

Lines changed: 0 additions & 177 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
from ..core.request_options import RequestOptions
77
from ..types.add_triple_response import AddTripleResponse
88
from ..types.clone_graph_response import CloneGraphResponse
9-
from ..types.entity_type_response import EntityTypeResponse
109
from ..types.episode import Episode
1110
from ..types.episode_data import EpisodeData
1211
from ..types.fact_rating_instruction import FactRatingInstruction
@@ -616,86 +615,6 @@ def update(
616615
)
617616
return _response.data
618617

619-
def set_ontology(
620-
self,
621-
*,
622-
entities: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = OMIT,
623-
edges: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = OMIT,
624-
user_ids: typing.Optional[typing.Sequence[str]] = OMIT,
625-
graph_ids: typing.Optional[typing.Sequence[str]] = OMIT,
626-
request_options: typing.Optional[RequestOptions] = None,
627-
) -> SuccessResponse:
628-
"""
629-
Sets custom entity and edge types for your graph. This wrapper method
630-
provides a clean interface for defining your graph schema with custom
631-
entity and edge types.
632-
633-
See the [full documentation](/customizing-graph-structure#setting-entity-and-edge-types) for details.
634-
635-
Parameters
636-
----------
637-
entities : typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]]
638-
Dictionary mapping entity type names to their definitions
639-
640-
edges : typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]]
641-
Dictionary mapping edge type names to their definitions with source/target constraints
642-
643-
user_ids : typing.Optional[typing.Sequence[str]]
644-
Optional list of user IDs to apply ontology to
645-
646-
graph_ids : typing.Optional[typing.Sequence[str]]
647-
Optional list of graph IDs to apply ontology to
648-
649-
request_options : typing.Optional[RequestOptions]
650-
Request-specific configuration.
651-
652-
Returns
653-
-------
654-
SuccessResponse
655-
Ontology set successfully
656-
657-
Examples
658-
--------
659-
from zep_cloud import Zep
660-
661-
client = Zep(
662-
api_key="YOUR_API_KEY",
663-
)
664-
client.graph.set_ontology()
665-
"""
666-
_response = self._raw_client.set_ontology(
667-
entities=entities, edges=edges, user_ids=user_ids, graph_ids=graph_ids, request_options=request_options
668-
)
669-
return _response.data
670-
671-
def list_ontology(self, *, request_options: typing.Optional[RequestOptions] = None) -> EntityTypeResponse:
672-
"""
673-
Retrieves the current entity and edge types configured for your graph.
674-
675-
See the [full documentation](/customizing-graph-structure) for details.
676-
677-
Parameters
678-
----------
679-
request_options : typing.Optional[RequestOptions]
680-
Request-specific configuration.
681-
682-
Returns
683-
-------
684-
EntityTypeResponse
685-
Current ontology
686-
687-
Examples
688-
--------
689-
from zep_cloud import Zep
690-
691-
client = Zep(
692-
api_key="YOUR_API_KEY",
693-
)
694-
client.graph.list_ontology()
695-
"""
696-
_response = self._raw_client.list_ontology(request_options=request_options)
697-
return _response.data
698-
699618

700619
class AsyncGraphClient:
701620
def __init__(self, *, client_wrapper: AsyncClientWrapper):
@@ -1367,99 +1286,3 @@ async def main() -> None:
13671286
request_options=request_options,
13681287
)
13691288
return _response.data
1370-
1371-
async def set_ontology(
1372-
self,
1373-
*,
1374-
entities: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = OMIT,
1375-
edges: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = OMIT,
1376-
user_ids: typing.Optional[typing.Sequence[str]] = OMIT,
1377-
graph_ids: typing.Optional[typing.Sequence[str]] = OMIT,
1378-
request_options: typing.Optional[RequestOptions] = None,
1379-
) -> SuccessResponse:
1380-
"""
1381-
Sets custom entity and edge types for your graph. This wrapper method
1382-
provides a clean interface for defining your graph schema with custom
1383-
entity and edge types.
1384-
1385-
See the [full documentation](/customizing-graph-structure#setting-entity-and-edge-types) for details.
1386-
1387-
Parameters
1388-
----------
1389-
entities : typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]]
1390-
Dictionary mapping entity type names to their definitions
1391-
1392-
edges : typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]]
1393-
Dictionary mapping edge type names to their definitions with source/target constraints
1394-
1395-
user_ids : typing.Optional[typing.Sequence[str]]
1396-
Optional list of user IDs to apply ontology to
1397-
1398-
graph_ids : typing.Optional[typing.Sequence[str]]
1399-
Optional list of graph IDs to apply ontology to
1400-
1401-
request_options : typing.Optional[RequestOptions]
1402-
Request-specific configuration.
1403-
1404-
Returns
1405-
-------
1406-
SuccessResponse
1407-
Ontology set successfully
1408-
1409-
Examples
1410-
--------
1411-
import asyncio
1412-
1413-
from zep_cloud import AsyncZep
1414-
1415-
client = AsyncZep(
1416-
api_key="YOUR_API_KEY",
1417-
)
1418-
1419-
1420-
async def main() -> None:
1421-
await client.graph.set_ontology()
1422-
1423-
1424-
asyncio.run(main())
1425-
"""
1426-
_response = await self._raw_client.set_ontology(
1427-
entities=entities, edges=edges, user_ids=user_ids, graph_ids=graph_ids, request_options=request_options
1428-
)
1429-
return _response.data
1430-
1431-
async def list_ontology(self, *, request_options: typing.Optional[RequestOptions] = None) -> EntityTypeResponse:
1432-
"""
1433-
Retrieves the current entity and edge types configured for your graph.
1434-
1435-
See the [full documentation](/customizing-graph-structure) for details.
1436-
1437-
Parameters
1438-
----------
1439-
request_options : typing.Optional[RequestOptions]
1440-
Request-specific configuration.
1441-
1442-
Returns
1443-
-------
1444-
EntityTypeResponse
1445-
Current ontology
1446-
1447-
Examples
1448-
--------
1449-
import asyncio
1450-
1451-
from zep_cloud import AsyncZep
1452-
1453-
client = AsyncZep(
1454-
api_key="YOUR_API_KEY",
1455-
)
1456-
1457-
1458-
async def main() -> None:
1459-
await client.graph.list_ontology()
1460-
1461-
1462-
asyncio.run(main())
1463-
"""
1464-
_response = await self._raw_client.list_ontology(request_options=request_options)
1465-
return _response.data

0 commit comments

Comments
 (0)