File tree Expand file tree Collapse file tree 3 files changed +16
-6
lines changed Expand file tree Collapse file tree 3 files changed +16
-6
lines changed Original file line number Diff line number Diff line change @@ -5123,7 +5123,10 @@ client.prompt_version.update(
51235123<dl >
51245124<dd >
51255125
5126- ** name:** ` str ` — The name of the prompt
5126+ ** name:** ` str `
5127+
5128+ The name of the prompt. If the prompt is in a folder (e.g., "folder/subfolder/prompt-name"),
5129+ the folder path must be URL encoded.
51275130
51285131</dd >
51295132</dl >
@@ -5215,7 +5218,10 @@ client.prompts.get(
52155218<dl >
52165219<dd >
52175220
5218- ** prompt_name:** ` str ` — The name of the prompt
5221+ ** prompt_name:** ` str `
5222+
5223+ The name of the prompt. If the prompt is in a folder (e.g., "folder/subfolder/prompt-name"),
5224+ the folder path must be URL encoded.
52195225
52205226</dd >
52215227</dl >
Original file line number Diff line number Diff line change @@ -37,7 +37,8 @@ def update(
3737 Parameters
3838 ----------
3939 name : str
40- The name of the prompt
40+ The name of the prompt. If the prompt is in a folder (e.g., "folder/subfolder/prompt-name"),
41+ the folder path must be URL encoded.
4142
4243 version : int
4344 Version of the prompt to update
@@ -122,7 +123,8 @@ async def update(
122123 Parameters
123124 ----------
124125 name : str
125- The name of the prompt
126+ The name of the prompt. If the prompt is in a folder (e.g., "folder/subfolder/prompt-name"),
127+ the folder path must be URL encoded.
126128
127129 version : int
128130 Version of the prompt to update
Original file line number Diff line number Diff line change @@ -41,7 +41,8 @@ def get(
4141 Parameters
4242 ----------
4343 prompt_name : str
44- The name of the prompt
44+ The name of the prompt. If the prompt is in a folder (e.g., "folder/subfolder/prompt-name"),
45+ the folder path must be URL encoded.
4546
4647 version : typing.Optional[int]
4748 Version of the prompt to be retrieved.
@@ -310,7 +311,8 @@ async def get(
310311 Parameters
311312 ----------
312313 prompt_name : str
313- The name of the prompt
314+ The name of the prompt. If the prompt is in a folder (e.g., "folder/subfolder/prompt-name"),
315+ the folder path must be URL encoded.
314316
315317 version : typing.Optional[int]
316318 Version of the prompt to be retrieved.
You can’t perform that action at this time.
0 commit comments