weaviate-client
    Preparing search index...

    Type Alias Text2VecHuggingFaceConfig

    The configuration for text vectorization using the HuggingFace module.

    See the documentation for detailed usage.

    type Text2VecHuggingFaceConfig = {
        endpointURL?: string;
        model?: string;
        passageModel?: string;
        queryModel?: string;
        useCache?: boolean;
        useGPU?: boolean;
        vectorizeCollectionName?: boolean;
        waitForModel?: boolean;
    }
    Index

    Properties

    endpointURL?: string

    The endpoint URL to use.

    model?: string

    The model to use.

    passageModel?: string

    The model to use for passage vectorization.

    queryModel?: string

    The model to use for query vectorization.

    useCache?: boolean

    Whether to use the cache.

    useGPU?: boolean

    Whether to use the GPU.

    vectorizeCollectionName?: boolean

    Whether to vectorize the collection name.

    waitForModel?: boolean

    Whether to wait for the model.