Create a new prompt.
Does not attach prompt object, just creates an empty prompt.
create_prompt(
self,
prompt_identifier: str,
*,
description: Optional[str] = None,
readme: Optional[str] = None,
tags: Optional[Sequence[str]] = None,
is_public: bool = False
) -> ls_schemas.Prompt| Name | Type | Description |
|---|---|---|
prompt_identifier* | str | The identifier of the prompt. The identifier should be in the format of |
description | Optional[str] | Default: NoneA description of the prompt. |
readme | Optional[str] | Default: NoneA readme for the prompt. |
tags | Optional[Sequence[str]] | Default: NoneA list of tags for the prompt. |
is_public | bool | Default: FalseWhether the prompt should be public. |