mirror of
https://github.com/hwchase17/langchain
synced 2024-11-10 01:10:59 +00:00
af875cff57
Co-authored-by: Micky Liu <wayliu@microsoft.com> Co-authored-by: wayliums <wayliums@users.noreply.github.com> Co-authored-by: Erick Friis <erick@langchain.dev>
10 lines
390 B
Python
10 lines
390 B
Python
from langchain_prompty.core import InvokerFactory
|
|
from langchain_prompty.langchain import create_chat_prompt
|
|
from langchain_prompty.parsers import PromptyChatParser
|
|
from langchain_prompty.renderers import MustacheRenderer
|
|
|
|
InvokerFactory().register_renderer("mustache", MustacheRenderer)
|
|
InvokerFactory().register_parser("prompty.chat", PromptyChatParser)
|
|
|
|
__all__ = ["create_chat_prompt"]
|