from_llm(
cls,
llm: BaseLanguageModel | None = None,
base_parser: StructuredChatOutputParser | None =| Name | Type | Description |
|---|---|---|
llm | BaseLanguageModel | None | Default: None |
base_parser | StructuredChatOutputParser | None | Default: None |
Create a StructuredChatOutputParserWithRetries from a language model.
The language model to use.
An optional StructuredChatOutputParser to use.