Skip to content

Commit

Permalink
developer role added
Browse files Browse the repository at this point in the history
  • Loading branch information
munaemrz committed Jan 8, 2025
1 parent 876dcd4 commit d2e888e
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions promptlayer/types/prompt_template.py
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,13 @@ class PlaceholderMessage(TypedDict, total=False):
name: str


class DeveloperMessage(TypedDict, total=False):
role: Literal["developer"]
input_variables: List[str]
template_format: TemplateFormat
content: Sequence[Content]


class ChatFunctionCall(TypedDict, total=False):
name: str

Expand All @@ -135,6 +142,7 @@ class ChatToolChoice(TypedDict, total=False):
FunctionMessage,
ToolMessage,
PlaceholderMessage,
DeveloperMessage,
]


Expand Down

0 comments on commit d2e888e

Please sign in to comment.