LangChain Reference home pageLangChain ReferenceLangChain Reference
  • GitHub
  • Main Docs
Deep Agents
LangChain
LangGraph
Integrations
LangSmith
  • Overview
  • MCP Adapters
    • Overview
    • Agents
    • Callbacks
    • Chains
    • Chat models
    • Embeddings
    • Evaluation
    • Globals
    • Hub
    • Memory
    • Output parsers
    • Retrievers
    • Runnables
    • LangSmith
    • Storage
    Standard Tests
    Text Splitters
    ⌘I

    LangChain Assistant

    Ask a question to get started

    Enter to send•Shift+Enter new line

    Menu

    MCP Adapters
    OverviewAgentsCallbacksChainsChat modelsEmbeddingsEvaluationGlobalsHubMemoryOutput parsersRetrieversRunnablesLangSmithStorage
    Standard Tests
    Text Splitters
    Language
    Theme
    Pythonlangchain-classicagentsreactbaseDocstoreExplorer
    Class●Since v1.0Deprecated

    DocstoreExplorer

    Class to assist with exploration of a document store.

    Copy
    DocstoreExplorer(
        self,
        docstore: Docstore,
    )

    Constructors

    constructor
    __init__
    NameType
    docstoreDocstore

    Attributes

    attribute
    docstore: docstore
    attribute
    document: Document | None
    attribute
    lookup_str: str
    attribute
    lookup_index: int

    Methods

    method
    search

    Search for a term in the docstore, and if found save.

    method
    lookup

    Lookup a term in document (if saved).

    View source on GitHub