anpigon's picture
add langchain docs
ed4d993
raw
history blame contribute delete
187 Bytes
from langchain.pydantic_v1 import BaseModel
from .router import branched_chain
class ChainInput(BaseModel):
message: str
chain = branched_chain.with_types(input_type=ChainInput)