Class CreateChatPromptRequest.Builder
java.lang.Object
com.langfuse.client.resources.prompts.types.CreateChatPromptRequest.Builder
- All Implemented Interfaces:
CreateChatPromptRequest._FinalStage,CreateChatPromptRequest.NameStage,CreateChatPromptRequest.TypeStage
- Enclosing class:
CreateChatPromptRequest
public static final class CreateChatPromptRequest.Builder
extends Object
implements CreateChatPromptRequest.NameStage, CreateChatPromptRequest.TypeStage, CreateChatPromptRequest._FinalStage
-
Method Summary
Modifier and TypeMethodDescriptionaddAllPrompt(List<ChatMessageWithPlaceholders> prompt) additionalProperties(Map<String, Object> additionalProperties) additionalProperty(String key, Object value) addPrompt(ChatMessageWithPlaceholders prompt) build()commitMessage(String commitMessage) Commit message for this prompt version.commitMessage(Optional<String> commitMessage) Commit message for this prompt version.from(CreateChatPromptRequest other) List of deployment labels of this prompt version.List of deployment labels of this prompt version.prompt(List<ChatMessageWithPlaceholders> prompt) List of tags to apply to all versions of this prompt.List of tags to apply to all versions of this prompt.type(CreateChatPromptType type)
-
Method Details
-
from
- Specified by:
fromin interfaceCreateChatPromptRequest.NameStage
-
name
- Specified by:
namein interfaceCreateChatPromptRequest.NameStage
-
type
- Specified by:
typein interfaceCreateChatPromptRequest.TypeStage
-
commitMessage
Commit message for this prompt version.
- Specified by:
commitMessagein interfaceCreateChatPromptRequest._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
commitMessage
Commit message for this prompt version.
- Specified by:
commitMessagein interfaceCreateChatPromptRequest._FinalStage
-
tags
List of tags to apply to all versions of this prompt.
- Specified by:
tagsin interfaceCreateChatPromptRequest._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
tags
List of tags to apply to all versions of this prompt.
- Specified by:
tagsin interfaceCreateChatPromptRequest._FinalStage
-
labels
List of deployment labels of this prompt version.
- Specified by:
labelsin interfaceCreateChatPromptRequest._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
labels
List of deployment labels of this prompt version.
- Specified by:
labelsin interfaceCreateChatPromptRequest._FinalStage
-
config
- Specified by:
configin interfaceCreateChatPromptRequest._FinalStage
-
config
- Specified by:
configin interfaceCreateChatPromptRequest._FinalStage
-
addAllPrompt
- Specified by:
addAllPromptin interfaceCreateChatPromptRequest._FinalStage
-
addPrompt
- Specified by:
addPromptin interfaceCreateChatPromptRequest._FinalStage
-
prompt
- Specified by:
promptin interfaceCreateChatPromptRequest._FinalStage
-
build
- Specified by:
buildin interfaceCreateChatPromptRequest._FinalStage
-
additionalProperty
- Specified by:
additionalPropertyin interfaceCreateChatPromptRequest._FinalStage
-
additionalProperties
public CreateChatPromptRequest.Builder additionalProperties(Map<String, Object> additionalProperties) - Specified by:
additionalPropertiesin interfaceCreateChatPromptRequest._FinalStage
-