Type alias Text2VecHuggingFaceConfig

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

The configuration for text vectorization using the HuggingFace module.

See the documentation for detailed usage.

Type declaration

  • Optional endpointURL?: string

    The endpoint URL to use.

  • Optional model?: string

    The model to use.

  • Optional passageModel?: string

    The model to use for passage vectorization.

  • Optional queryModel?: string

    The model to use for query vectorization.

  • Optional useCache?: boolean

    Whether to use the cache.

  • Optional useGPU?: boolean

    Whether to use the GPU.

  • Optional vectorizeCollectionName?: boolean

    Whether to vectorize the collection name.

  • Optional waitForModel?: boolean

    Whether to wait for the model.