Skip to main content
Ctrl+K
🦜🔗 LangChain  documentation - Home 🦜🔗 LangChain  documentation - Home

Site Navigation

  • Core
  • Langchain
  • Text Splitters
  • AI21
  • Airbyte
    • Anthropic
    • AstraDB
    • AWS
    • Azure Dynamic Sessions
    • Chroma
    • Cohere
    • Couchbase
    • Elasticsearch
    • Exa
    • Fireworks
    • Google Community
    • Google GenAI
    • Google VertexAI
    • Groq
    • Huggingface
    • Milvus
    • MistralAI
    • MongoDB
    • Nomic
    • Nvidia Ai Endpoints
    • Ollama
    • OpenAI
    • Pinecone
    • Postgres
    • Prompty
    • Qdrant
    • Robocorp
    • Together
    • Unstructured
    • VoyageAI
    • Weaviate
  • LangChain docs
  • GitHub
  • X / Twitter

Site Navigation

  • Core
  • Langchain
  • Text Splitters
  • AI21
  • Airbyte
    • Anthropic
    • AstraDB
    • AWS
    • Azure Dynamic Sessions
    • Chroma
    • Cohere
    • Couchbase
    • Elasticsearch
    • Exa
    • Fireworks
    • Google Community
    • Google GenAI
    • Google VertexAI
    • Groq
    • Huggingface
    • Milvus
    • MistralAI
    • MongoDB
    • Nomic
    • Nvidia Ai Endpoints
    • Ollama
    • OpenAI
    • Pinecone
    • Postgres
    • Prompty
    • Qdrant
    • Robocorp
    • Together
    • Unstructured
    • VoyageAI
    • Weaviate
  • LangChain docs
  • GitHub
  • X / Twitter

Section Navigation

  • agents
  • beta
  • caches
  • callbacks
  • chat_history
  • chat_loaders
  • chat_sessions
  • document_loaders
  • documents
  • embeddings
  • example_selectors
  • exceptions
  • globals
  • graph_vectorstores
  • indexing
  • language_models
  • load
  • memory
  • messages
  • output_parsers
  • outputs
  • prompt_values
  • prompts
  • rate_limiters
  • retrievers
  • runnables
    • Runnable
    • RunnableBinding
    • RunnableBindingBase
    • RunnableEach
    • RunnableEachBase
    • RunnableGenerator
    • RunnableLambda
    • RunnableMap
    • RunnableParallel
    • RunnableSequence
    • RunnableSerializable
    • RunnableBranch
    • ContextThreadPoolExecutor
    • EmptyDict
    • RunnableConfig
    • DynamicRunnable
    • RunnableConfigurableAlternatives
    • RunnableConfigurableFields
    • StrEnum
    • RunnableWithFallbacks
    • Branch
    • CurveStyle
    • Edge
    • Graph
    • LabelsDict
    • MermaidDrawMethod
    • Node
    • NodeStyles
    • Stringifiable
    • AsciiCanvas
    • VertexViewer
    • PngDrawer
    • RunnableWithMessageHistory
    • RunnableAssign
    • RunnablePassthrough
    • RunnablePick
    • RunnableRetry
    • RouterInput
    • RouterRunnable
    • BaseStreamEvent
    • CustomStreamEvent
    • EventData
    • StandardStreamEvent
    • AddableDict
    • ConfigurableField
    • ConfigurableFieldMultiOption
    • ConfigurableFieldSingleOption
    • ConfigurableFieldSpec
    • FunctionNonLocals
    • GetLambdaSource
    • IsFunctionArgDict
    • IsLocalDict
    • NonLocals
    • SupportsAdd
    • chain
    • coerce_to_runnable
    • acall_func_with_variable_args
    • call_func_with_variable_args
    • ensure_config
    • get_async_callback_manager_for_config
    • get_callback_manager_for_config
    • get_config_list
    • get_executor_for_config
    • merge_configs
    • patch_config
    • run_in_executor
    • make_options_spec
    • prefix_config_spec
    • is_uuid
    • node_data_json
    • node_data_str
    • draw_ascii
    • draw_mermaid
    • draw_mermaid_png
    • aidentity
    • identity
    • aadd
    • accepts_config
    • accepts_context
    • accepts_run_manager
    • add
    • create_model
    • gated_coro
    • gather_with_concurrency
    • get_function_first_arg_dict_keys
    • get_function_nonlocals
    • get_lambda_source
    • get_unique_config_specs
    • indent_lines_after_first
    • is_async_callable
    • is_async_generator
  • stores
  • structured_query
  • sys_info
  • tools
  • tracers
  • utils
  • vectorstores
  • langchain_core 0.2.29
  • runnables
  • get_unique_c...

get_unique_config_specs#

langchain_core.runnables.utils.get_unique_config_specs(specs: Iterable[ConfigurableFieldSpec]) → List[ConfigurableFieldSpec][source]#

Get the unique config specs from a sequence of config specs.

Parameters:

specs (Iterable[ConfigurableFieldSpec]) – The config specs.

Returns:

The unique config specs.

Return type:

List[ConfigurableFieldSpec]

Raises:

ValueError – If the runnable sequence contains conflicting config specs.

previous

get_lambda_source

next

indent_lines_after_first

On this page
  • get_unique_config_specs()

© Copyright 2023, LangChain Inc.