Skip to content
Closed
Show file tree
Hide file tree
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
12 changes: 10 additions & 2 deletions langfuse/api/reference.md
Original file line number Diff line number Diff line change
Expand Up @@ -5123,7 +5123,11 @@ client.prompt_version.update(
<dl>
<dd>

**name:** `str` — The name of the prompt
**name:** `str`

The name of the prompt. If the prompt is in a folder (e.g., "folder/subfolder/prompt-name"),
the folder path must be URL encoded. For example, use "folder%2Fsubfolder%2Fprompt-name" instead
of "folder/subfolder/prompt-name". The forward slash (/) character must be encoded as %2F.

</dd>
</dl>
Expand Down Expand Up @@ -5215,7 +5219,11 @@ client.prompts.get(
<dl>
<dd>

**prompt_name:** `str` — The name of the prompt
**prompt_name:** `str`

The name of the prompt. If the prompt is in a folder (e.g., "folder/subfolder/prompt-name"),
the folder path must be URL encoded. For example, use "folder%2Fsubfolder%2Fprompt-name" instead
of "folder/subfolder/prompt-name". The forward slash (/) character must be encoded as %2F.

</dd>
</dl>
Expand Down
8 changes: 6 additions & 2 deletions langfuse/api/resources/prompt_version/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,9 @@ def update(
Parameters
----------
name : str
The name of the prompt
The name of the prompt. If the prompt is in a folder (e.g., "folder/subfolder/prompt-name"),
the folder path must be URL encoded. For example, use "folder%2Fsubfolder%2Fprompt-name" instead
of "folder/subfolder/prompt-name". The forward slash (/) character must be encoded as %2F.

version : int
Version of the prompt to update
Expand Down Expand Up @@ -122,7 +124,9 @@ async def update(
Parameters
----------
name : str
The name of the prompt
The name of the prompt. If the prompt is in a folder (e.g., "folder/subfolder/prompt-name"),
the folder path must be URL encoded. For example, use "folder%2Fsubfolder%2Fprompt-name" instead
of "folder/subfolder/prompt-name". The forward slash (/) character must be encoded as %2F.

version : int
Version of the prompt to update
Expand Down
8 changes: 6 additions & 2 deletions langfuse/api/resources/prompts/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,9 @@ def get(
Parameters
----------
prompt_name : str
The name of the prompt
The name of the prompt. If the prompt is in a folder (e.g., "folder/subfolder/prompt-name"),
the folder path must be URL encoded. For example, use "folder%2Fsubfolder%2Fprompt-name" instead
of "folder/subfolder/prompt-name". The forward slash (/) character must be encoded as %2F.

version : typing.Optional[int]
Version of the prompt to be retrieved.
Expand Down Expand Up @@ -310,7 +312,9 @@ async def get(
Parameters
----------
prompt_name : str
The name of the prompt
The name of the prompt. If the prompt is in a folder (e.g., "folder/subfolder/prompt-name"),
the folder path must be URL encoded. For example, use "folder%2Fsubfolder%2Fprompt-name" instead
of "folder/subfolder/prompt-name". The forward slash (/) character must be encoded as %2F.

version : typing.Optional[int]
Version of the prompt to be retrieved.
Expand Down
Loading