We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 062e254 commit f930daaCopy full SHA for f930daa
1 file changed
README.rst
@@ -228,7 +228,7 @@ We can also call the `launch_optimization_job` method asynchronously.
228
Prompt Management
229
^^^^^^^^^^^^^^^^^
230
231
-First define your prompt as a dictionary or types.Prompt object. Then call create_prompt.
+First define your prompt as a dictionary or types.Prompt object. Then call create_version.
232
233
.. code-block:: Python
234
@@ -243,7 +243,7 @@ First define your prompt as a dictionary or types.Prompt object. Then call creat
243
},
244
}
245
246
- prompt_resource = client.prompts.create(
+ prompt_resource = client.prompts.create_version(
247
prompt=prompt,
248
)
249
0 commit comments