Home / Function/ astream_log() — langchain Function Reference

astream_log() — langchain Function Reference

Architecture documentation for the astream_log() function in base.py from the langchain codebase.

Entity Profile

Dependency Diagram

graph TD
  f35c0aee_685e_5a92_1708_787fad1851f1["astream_log()"]
  4a62481c_02cb_a5de_1833_50669d5351a6["Runnable"]
  f35c0aee_685e_5a92_1708_787fad1851f1 -->|defined in| 4a62481c_02cb_a5de_1833_50669d5351a6
  3b190320_b896_da9c_12ee_4d17ddfcf59e["_transform_stream_with_config()"]
  3b190320_b896_da9c_12ee_4d17ddfcf59e -->|calls| f35c0aee_685e_5a92_1708_787fad1851f1
  7d532bc6_d85b_8af5_f142_583cf8e684f6["_atransform_stream_with_config()"]
  7d532bc6_d85b_8af5_f142_583cf8e684f6 -->|calls| f35c0aee_685e_5a92_1708_787fad1851f1
  style f35c0aee_685e_5a92_1708_787fad1851f1 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

libs/core/langchain_core/runnables/base.py lines 1173–1187

    def astream_log(
        self,
        input: Any,
        config: RunnableConfig | None = None,
        *,
        diff: Literal[True] = True,
        with_streamed_output_list: bool = True,
        include_names: Sequence[str] | None = None,
        include_types: Sequence[str] | None = None,
        include_tags: Sequence[str] | None = None,
        exclude_names: Sequence[str] | None = None,
        exclude_types: Sequence[str] | None = None,
        exclude_tags: Sequence[str] | None = None,
        **kwargs: Any,
    ) -> AsyncIterator[RunLogPatch]: ...

Domain

Subdomains

Frequently Asked Questions

What does astream_log() do?
astream_log() is a function in the langchain codebase, defined in libs/core/langchain_core/runnables/base.py.
Where is astream_log() defined?
astream_log() is defined in libs/core/langchain_core/runnables/base.py at line 1173.
What calls astream_log()?
astream_log() is called by 2 function(s): _atransform_stream_with_config, _transform_stream_with_config.

Analyze Your Own Codebase

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

Try Supermodel Free