MCPcopy
hub / github.com/langchain-ai/langchain / ConfigurableField

Class ConfigurableField

libs/core/langchain_core/runnables/utils.py:366–377  ·  view source on GitHub ↗

Field that can be configured by the user.

Source from the content-addressed store, hash-verified

364
365
366class ConfigurableField(NamedTuple):
367 """Field that can be configured by the user."""
368
369 id: str
370
371 name: Optional[str] = None
372 description: Optional[str] = None
373 annotation: Optional[Any] = None
374 is_shared: bool = False
375
376 def __hash__(self) -> int:
377 return hash((self.id, self.annotation))
378
379
380class ConfigurableFieldSingleOption(NamedTuple):

Callers 15

chain.pyFile · 0.90
writer.pyFile · 0.90
chain.pyFile · 0.90
chain.pyFile · 0.90
writer.pyFile · 0.90
web.pyFile · 0.90
chain.pyFile · 0.90
agent_executor.pyFile · 0.90
chain.pyFile · 0.90

Calls

no outgoing calls