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

More chat models commands

All chat models commands · LangChain 1 cheatsheet

Was this page helpful?