withFallbacks(
fields: __type | Runnable<BaseLanguageModelInput, string, RunnableConfig<Record<string, any>>>[| Name | Type | Description |
|---|---|---|
fields* | __type | Runnable<BaseLanguageModelInput, string, RunnableConfig<Record<string, any>>>[] |
Create a new runnable from the current one that will try invoking other passed fallback runnables if the initial invocation fails.