langchain.js
    Preparing search index...

    Interface for the arguments that can be passed to the HNSWLib constructor. It extends HNSWLibBase and includes properties for the document store and HNSW index.

    interface HNSWLibArgs {
        docstore?: SynchronousInMemoryDocstore;
        index?: HierarchicalNSW;
        numDimensions?: number;
        space: SpaceName;
    }

    Hierarchy (View Summary)

    Index

    Properties

    docstore?: SynchronousInMemoryDocstore
    index?: HierarchicalNSW
    numDimensions?: number
    space: SpaceName