Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@ We can also call the `launch_optimization_job` method asynchronously.
Prompt Management
^^^^^^^^^^^^^^^^^

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.

.. code-block:: Python

Expand All @@ -243,7 +243,7 @@ First define your prompt as a dictionary or types.Prompt object. Then call creat
},
}

prompt_resource = client.prompts.create(
prompt_resource = client.prompts.create_version(
prompt=prompt,
)

Expand Down
Loading