LangChain 1 · Chat models
Run several prompts in parallel
Process a list of inputs concurrently.
responses = model.batch(["Define API.", "Define SDK."])
Official LangChain 1 documentation
LangChain 1 · Chat models
Process a list of inputs concurrently.
responses = model.batch(["Define API.", "Define SDK."])
Official LangChain 1 documentation
Was this page helpful?