Create prompt for this agent.
create_prompt(
cls,
system_message: SystemMessage | None = _NOT_SET,
extra_prompt_messages: list[BaseMessagePromptTemplate] | None = None
) -> BasePromptTemplate| Name | Type | Description |
|---|---|---|
system_message | SystemMessage | None | Default: _NOT_SETMessage to use as the system message that will be the first in the prompt. |
extra_prompt_messages | list[BaseMessagePromptTemplate] | None | Default: NonePrompt messages that will be placed between the system message and the new human input. |