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