Methods
get
get
delete
delete
list
list
List prompts with optional filtering by FQN, ML Repo, or name.
Parameters
typing.Optional[str]
Fully qualified name to filter prompts by (format: ‘chat_prompt://’)
typing.Optional[str]
ID of the ML Repo to filter prompts by
typing.Optional[str]
Name of the prompt to filter by
typing.Optional[int]
Number of prompts to skip for pagination
typing.Optional[int]
Maximum number of prompts to return
typing.Optional[bool]
Whether to include prompts that have no versions
Returns
SyncPager[Prompt, ListPromptsResponse]
🔗 ListPromptsResponseList of prompts matching the query with pagination information
Usage
create_or_update
create_or_update
Create or update a prompt version.
Parameters
ChatPromptManifest
required
🔗 ChatPromptManifestManifest containing metadata for the prompt to apply
Returns
GetPromptVersionResponse
🔗 GetPromptVersionResponseThe created or updated prompt version