LangChain Reference home pageLangChain ReferenceLangChain Reference
  • GitHub
  • Main Docs
Deep Agents
LangChain
LangGraph
Integrations
LangSmith
  • Overview
    • Overview
    • Caches
    • Callbacks
    • Documents
    • Document loaders
    • Embeddings
    • Exceptions
    • Language models
    • Serialization
    • Output parsers
    • Prompts
    • Rate limiters
    • Retrievers
    • Runnables
    • Utilities
    • Vector stores
    MCP Adapters
    Standard Tests
    Text Splitters
    ⌘I

    LangChain Assistant

    Ask a question to get started

    Enter to send•Shift+Enter new line

    Menu

    OverviewCachesCallbacksDocumentsDocument loadersEmbeddingsExceptionsLanguage modelsSerializationOutput parsersPromptsRate limitersRetrieversRunnablesUtilitiesVector stores
    MCP Adapters
    Standard Tests
    Text Splitters
    Language
    Theme
    Pythonlangchain-corestoresInMemoryByteStore
    Class●Since v0.1

    InMemoryByteStore

    In-memory store for bytes.

    Copy
    InMemoryByteStore(
        self,
    )

    Bases

    InMemoryBaseStore[bytes]

    Used in Docs

    • InMemoryByteStore integration

    Inherited fromInMemoryBaseStore

    Attributes

    Astore: dict[str, V]

    Methods

    MmgetMamgetMmsetMamsetMmdeleteMamdeleteMyield_keys
    —

    Get an iterator over keys that match the given prefix.

    Mayield_keys
    —

    Async get an async iterator over keys that match the given prefix.

    Inherited fromBaseStore

    Methods

    Mmget
    —

    Get the values associated with the given keys.

    Mamget
    —

    Async get the values associated with the given keys.

    Mmset
    —

    Set the values for the given keys.

    Mamset
    —

    Async set the values for the given keys.

    Mmdelete
    —

    Delete the given keys and their associated values.

    Mamdelete
    —

    Async delete the given keys and their associated values.

    Myield_keys
    —

    Get an iterator over keys that match the given prefix.

    Mayield_keys
    —

    Async get an iterator over keys that match the given prefix.

    View source on GitHub