ModelChoice(
self,
model: str | BaseChatModel,
criteria: str,
)| Name | Type | Description |
|---|---|---|
model* | str | BaseChatModel | LangChain model instance or model string accepted by |
criteria* | str | Description of the tasks suited to the model. |
| Name | Type |
|---|---|
| model | str | BaseChatModel |
| criteria | str |
A model available to the router and the criterion for selecting it.