Skip to content

Commit 29f31b2

Browse files
Update api spec (#542)
* YOYO NEW API SPEC! * I have generated the latest API! --------- Co-authored-by: zoo-github-actions-auth[bot] <zoo-github-actions-auth[bot]@users.noreply.github.com>
1 parent 67b8163 commit 29f31b2

File tree

5 files changed

+1137
-1137
lines changed

5 files changed

+1137
-1137
lines changed

docs/pagination.rst

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -176,38 +176,38 @@ Api Tokens API
176176
Ml API
177177
------
178178

179-
**list_conversations_for_user**
180-
List conversations
179+
**list_ml_prompts**
180+
List all ML prompts.
181181

182-
Returns: ``SyncPageIterator[Conversation]``
182+
Returns: ``SyncPageIterator[MlPrompt]``
183183

184184
Example:
185185

186186
.. code-block:: python
187187
188188
# Sync
189-
for item in client.ml.list_conversations_for_user():
189+
for item in client.ml.list_ml_prompts():
190190
print(item)
191191
192192
# Async
193-
async for item in client.ml.list_conversations_for_user():
193+
async for item in client.ml.list_ml_prompts():
194194
print(item)
195195
196-
**list_ml_prompts**
197-
List all ML prompts.
196+
**list_conversations_for_user**
197+
List conversations
198198

199-
Returns: ``SyncPageIterator[MlPrompt]``
199+
Returns: ``SyncPageIterator[Conversation]``
200200

201201
Example:
202202

203203
.. code-block:: python
204204
205205
# Sync
206-
for item in client.ml.list_ml_prompts():
206+
for item in client.ml.list_conversations_for_user():
207207
print(item)
208208
209209
# Async
210-
async for item in client.ml.list_ml_prompts():
210+
async for item in client.ml.list_conversations_for_user():
211211
print(item)
212212
213213
**list_text_to_cad_parts_for_user**

0 commit comments

Comments
 (0)