salesgpt.templates module

class salesgpt.templates.CustomPromptTemplateForTools(*, name: str | None = None, input_variables: List[str], input_types: Dict[str, Any] = None, output_parser: BaseOutputParser | None = None, partial_variables: Mapping[str, str | Callable[[], str]] = None, template: str, tools_getter: Callable)

Bases: StringPromptTemplate

format(**kwargs) str

Format the prompt with the inputs.

Args:

kwargs: Any arguments to be passed to the prompt template.

Returns:

A formatted string.

Example:

prompt.format(variable1="foo")
template: str
tools_getter: Callable