mirror of
https://github.com/hwchase17/langchain
synced 2024-11-10 01:10:59 +00:00
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"]
|