Create prompt in the style of the zero shot agent.
create_prompt(
cls,
tools: Sequence[BaseTool],
prefix: str = PREFIX,
suffix: str = SUFFIX,
format_instructions: str = FORMAT_INSTRUCTIONS,
input_variables: list[str] | None = None
) -> PromptTemplate| Name | Type | Description |
|---|---|---|
tools* | Sequence[BaseTool] | List of tools the agent will have access to, used to format the prompt. |
prefix | str | Default: PREFIXString to put before the list of tools. |
suffix | str | Default: SUFFIXString to put after the list of tools. |
format_instructions | str | Default: FORMAT_INSTRUCTIONSInstructions on how to use the tools. |
input_variables | list[str] | None | Default: NoneList of input variables the final prompt will expect. |