lc_attributes() — langchain Function Reference
Architecture documentation for the lc_attributes() function in chat.py from the langchain codebase.
Entity Profile
Dependency Diagram
graph TD 4fe4513e_3354_db06_9595_6bda41c81ffa["lc_attributes()"] 93017235_36b7_3b85_820e_aa7d145183e5["BaseChatPromptTemplate"] 4fe4513e_3354_db06_9595_6bda41c81ffa -->|defined in| 93017235_36b7_3b85_820e_aa7d145183e5 style 4fe4513e_3354_db06_9595_6bda41c81ffa fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
libs/core/langchain_core/prompts/chat.py lines 695–696
def lc_attributes(self) -> dict:
return {"input_variables": self.input_variables}
Domain
Subdomains
Defined In
Source
Frequently Asked Questions
What does lc_attributes() do?
lc_attributes() is a function in the langchain codebase, defined in libs/core/langchain_core/prompts/chat.py.
Where is lc_attributes() defined?
lc_attributes() is defined in libs/core/langchain_core/prompts/chat.py at line 695.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free