@@ -123,7 +123,9 @@ from writerai.types import (
123123 Question,
124124 QuestionResponseChunk,
125125 GraphCreateResponse,
126+ GraphRetrieveResponse,
126127 GraphUpdateResponse,
128+ GraphListResponse,
127129 GraphDeleteResponse,
128130 GraphRemoveFileFromGraphResponse,
129131)
@@ -132,9 +134,9 @@ from writerai.types import (
132134Methods:
133135
134136- <code title =" post /v1/graphs " >client.graphs.<a href =" ./src/writerai/resources/graphs.py " >create</a >(\*\* <a href =" src/writerai/types/graph_create_params.py " >params</a >) -> <a href =" ./src/writerai/types/graph_create_response.py " >GraphCreateResponse</a ></code >
135- - <code title =" get /v1/graphs/{graph_id} " >client.graphs.<a href =" ./src/writerai/resources/graphs.py " >retrieve</a >(graph_id) -> <a href =" ./src/writerai/types/graph .py " >Graph </a ></code >
137+ - <code title =" get /v1/graphs/{graph_id} " >client.graphs.<a href =" ./src/writerai/resources/graphs.py " >retrieve</a >(graph_id) -> <a href =" ./src/writerai/types/graph_retrieve_response .py " >GraphRetrieveResponse </a ></code >
136138- <code title =" put /v1/graphs/{graph_id} " >client.graphs.<a href =" ./src/writerai/resources/graphs.py " >update</a >(graph_id, \*\* <a href =" src/writerai/types/graph_update_params.py " >params</a >) -> <a href =" ./src/writerai/types/graph_update_response.py " >GraphUpdateResponse</a ></code >
137- - <code title =" get /v1/graphs " >client.graphs.<a href =" ./src/writerai/resources/graphs.py " >list</a >(\*\* <a href =" src/writerai/types/graph_list_params.py " >params</a >) -> <a href =" ./src/writerai/types/graph .py " >SyncCursorPage[ Graph ] </a ></code >
139+ - <code title =" get /v1/graphs " >client.graphs.<a href =" ./src/writerai/resources/graphs.py " >list</a >(\*\* <a href =" src/writerai/types/graph_list_params.py " >params</a >) -> <a href =" ./src/writerai/types/graph_list_response .py " >SyncCursorPage[ GraphListResponse ] </a ></code >
138140- <code title =" delete /v1/graphs/{graph_id} " >client.graphs.<a href =" ./src/writerai/resources/graphs.py " >delete</a >(graph_id) -> <a href =" ./src/writerai/types/graph_delete_response.py " >GraphDeleteResponse</a ></code >
139141- <code title =" post /v1/graphs/{graph_id}/file " >client.graphs.<a href =" ./src/writerai/resources/graphs.py " >add_file_to_graph</a >(graph_id, \*\* <a href =" src/writerai/types/graph_add_file_to_graph_params.py " >params</a >) -> <a href =" ./src/writerai/types/file.py " >File</a ></code >
140142- <code title =" post /v1/graphs/question " >client.graphs.<a href =" ./src/writerai/resources/graphs.py " >question</a >(\*\* <a href =" src/writerai/types/graph_question_params.py " >params</a >) -> <a href =" ./src/writerai/types/question.py " >Question</a ></code >
@@ -166,6 +168,7 @@ from writerai.types import (
166168 ToolAIDetectResponse,
167169 ToolContextAwareSplittingResponse,
168170 ToolParsePdfResponse,
171+ ToolWebSearchResponse,
169172)
170173```
171174
@@ -174,6 +177,7 @@ Methods:
174177- <code title =" post /v1/tools/ai-detect " >client.tools.<a href =" ./src/writerai/resources/tools/tools.py " >ai_detect</a >(\*\* <a href =" src/writerai/types/tool_ai_detect_params.py " >params</a >) -> <a href =" ./src/writerai/types/tool_ai_detect_response.py " >ToolAIDetectResponse</a ></code >
175178- <code title =" post /v1/tools/context-aware-splitting " >client.tools.<a href =" ./src/writerai/resources/tools/tools.py " >context_aware_splitting</a >(\*\* <a href =" src/writerai/types/tool_context_aware_splitting_params.py " >params</a >) -> <a href =" ./src/writerai/types/tool_context_aware_splitting_response.py " >ToolContextAwareSplittingResponse</a ></code >
176179- <code title =" post /v1/tools/pdf-parser/{file_id} " >client.tools.<a href =" ./src/writerai/resources/tools/tools.py " >parse_pdf</a >(file_id, \*\* <a href =" src/writerai/types/tool_parse_pdf_params.py " >params</a >) -> <a href =" ./src/writerai/types/tool_parse_pdf_response.py " >ToolParsePdfResponse</a ></code >
180+ - <code title =" post /v1/tools/web-search " >client.tools.<a href =" ./src/writerai/resources/tools/tools.py " >web_search</a >(\*\* <a href =" src/writerai/types/tool_web_search_params.py " >params</a >) -> <a href =" ./src/writerai/types/tool_web_search_response.py " >ToolWebSearchResponse</a ></code >
177181
178182## Comprehend
179183
0 commit comments