chains library
Contains core abstractions related to chains.
Classes
-
BaseChain<
MemoryType extends BaseMemory> - Base class for creating structured sequences of calls to components.
- ChainOptions
- Options to pass to the chain.
-
LLMChain<
LLMType extends BaseLanguageModel< Object, LanguageModelOptions, LanguageModelResult< , LLMOptions extends LanguageModelOptions, MemoryType extends BaseMemory>Object> > -
NOTE: Chains are the legacy way of using LangChain and will eventually be removed. Use LangChain Expression Language (LCEL) instead, a more flexible and powerful way to combine different components.
Typedefs
-
ChainValues
= Map<
String, dynamic> - Values to be used in the chain.