make_options_spec#

langchain_core.runnables.configurable.make_options_spec(spec: ConfigurableFieldSingleOption | ConfigurableFieldMultiOption, description: str | None) ConfigurableFieldSpec[source]#

Make a ConfigurableFieldSpec for a ConfigurableFieldSingleOption or ConfigurableFieldMultiOption.

Parameters:
Returns:

The ConfigurableFieldSpec.

Return type:

ConfigurableFieldSpec