Home / Class/ ChatPromptValueConcrete Class — langchain Architecture

ChatPromptValueConcrete Class — langchain Architecture

Architecture documentation for the ChatPromptValueConcrete class in prompt_values.py from the langchain codebase.

Entity Profile

Dependency Diagram

graph TD
  8118bf34_fe3c_f607_68cf_855f06baff9e["ChatPromptValueConcrete"]
  fbb5370a_524d_4802_fe81_dd4699b1a7b0["ChatPromptValue"]
  8118bf34_fe3c_f607_68cf_855f06baff9e -->|extends| fbb5370a_524d_4802_fe81_dd4699b1a7b0
  94d98b96_b32c_774d_c6fe_549a7fddfb68["prompt_values.py"]
  8118bf34_fe3c_f607_68cf_855f06baff9e -->|defined in| 94d98b96_b32c_774d_c6fe_549a7fddfb68

Relationship Graph

Source Code

libs/core/langchain_core/prompt_values.py lines 152–161

class ChatPromptValueConcrete(ChatPromptValue):
    """Chat prompt value which explicitly lists out the message types it accepts.

    For use in external schemas.
    """

    messages: Sequence[AnyMessage]
    """Sequence of messages."""

    type: Literal["ChatPromptValueConcrete"] = "ChatPromptValueConcrete"

Extends

Frequently Asked Questions

What is the ChatPromptValueConcrete class?
ChatPromptValueConcrete is a class in the langchain codebase, defined in libs/core/langchain_core/prompt_values.py.
Where is ChatPromptValueConcrete defined?
ChatPromptValueConcrete is defined in libs/core/langchain_core/prompt_values.py at line 152.
What does ChatPromptValueConcrete extend?
ChatPromptValueConcrete extends ChatPromptValue.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free