Type Alias CreateChatPromptBodyWithPlaceholders
CreateChatPromptBodyWithPlaceholders: { type: "chat" } & Omit<
CreatePromptRequest.Chat,
"type"
| "prompt",
> & { prompt: (ChatMessage | ChatMessageWithPlaceholders)[] }
Type declaration
prompt: (ChatMessage | ChatMessageWithPlaceholders)[]
Type for creating chat prompts that support both regular messages and placeholders.
Extends the standard chat prompt creation request to allow mixed content types.