Home / Function/ full_key_prefix() — langchain Function Reference

full_key_prefix() — langchain Function Reference

Architecture documentation for the full_key_prefix() function in entity.py from the langchain codebase.

Function python LangChainCore Runnables calls 1 called by 1

Entity Profile

Dependency Diagram

graph TD
  53efda6e_ce4c_bff1_5482_a930bf1f68ac["full_key_prefix()"]
  65c1d19b_b721_7b61_7b71_c0d54a3a49e7["UpstashRedisEntityStore"]
  53efda6e_ce4c_bff1_5482_a930bf1f68ac -->|defined in| 65c1d19b_b721_7b61_7b71_c0d54a3a49e7
  c791716d_3809_7b67_d208_a5c3252d0cc0["full_key_prefix()"]
  c791716d_3809_7b67_d208_a5c3252d0cc0 -->|calls| 53efda6e_ce4c_bff1_5482_a930bf1f68ac
  c791716d_3809_7b67_d208_a5c3252d0cc0["full_key_prefix()"]
  53efda6e_ce4c_bff1_5482_a930bf1f68ac -->|calls| c791716d_3809_7b67_d208_a5c3252d0cc0
  style 53efda6e_ce4c_bff1_5482_a930bf1f68ac fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

libs/langchain/langchain_classic/memory/entity.py lines 158–160

    def full_key_prefix(self) -> str:
        """Returns the full key prefix with session ID."""
        return f"{self.key_prefix}:{self.session_id}"

Domain

Subdomains

Called By

Frequently Asked Questions

What does full_key_prefix() do?
full_key_prefix() is a function in the langchain codebase, defined in libs/langchain/langchain_classic/memory/entity.py.
Where is full_key_prefix() defined?
full_key_prefix() is defined in libs/langchain/langchain_classic/memory/entity.py at line 158.
What does full_key_prefix() call?
full_key_prefix() calls 1 function(s): full_key_prefix.
What calls full_key_prefix()?
full_key_prefix() is called by 1 function(s): full_key_prefix.

Analyze Your Own Codebase

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

Try Supermodel Free