from_llms(
cls,
llms: list[BaseLLM],
prompt: PromptTemplate | None = None
| Name | Type | Description |
|---|---|---|
llms* | list[BaseLLM] | |
prompt | PromptTemplate | None | Default: None |
Initialize the ModelLaboratory with LLMs and an optional prompt.
A list of LLMs to experiment with.
An optional prompt to use with the LLMs. If provided, the prompt must contain exactly one input variable.