create_chat_prompt#
- langchain_prompty.langchain.create_chat_prompt(path: str, input_name_agent_scratchpad: str = 'agent_scratchpad') Runnable[Dict[str, Any], ChatPromptTemplate] [source]#
Create a chat prompt from a Langchain schema.
- Parameters:
path (str)
input_name_agent_scratchpad (str)
- Return type:
Runnable[Dict[str, Any], ChatPromptTemplate]