langchain_core.runnables.configurable
.make_options_spec¶
- langchain_core.runnables.configurable.make_options_spec(spec: Union[ConfigurableFieldSingleOption, ConfigurableFieldMultiOption], description: Optional[str]) ConfigurableFieldSpec [source]¶
Make a ConfigurableFieldSpec for a ConfigurableFieldSingleOption or ConfigurableFieldMultiOption.
- Parameters
spec (Union[ConfigurableFieldSingleOption, ConfigurableFieldMultiOption]) –
description (Optional[str]) –
- Return type