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.

Entity Profile

Dependency Diagram

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

Relationship Graph

Source Code

libs/langchain/langchain_classic/memory/entity.py lines 284–286

    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 284.
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