Type alias Multi2VecPalmConfig

Multi2VecPalmConfig: {
    dimensions?: number;
    imageFields?: string[];
    location: string;
    modelId?: string;
    projectId: string;
    textFields?: string[];
    vectorizeCollectionName?: boolean;
    videoFields?: string[];
    weights?: {
        imageFields?: number[];
        textFields?: number[];
        videoFields?: number[];
    };
}

The configuration for multi-media vectorization using the PaLM model.

See the documentation for detailed usage.

Type declaration

  • Optional dimensions?: number

    The number of dimensions in use.

  • Optional imageFields?: string[]

    The image fields used when vectorizing.

  • location: string

    The location where the model runs.

  • Optional modelId?: string

    The model ID in use.

  • projectId: string

    The project ID of the Palm model.

  • Optional textFields?: string[]

    The text fields used when vectorizing.

  • Optional vectorizeCollectionName?: boolean

    Whether the collection name is vectorized.

  • Optional videoFields?: string[]

    The video fields used when vectorizing.

  • Optional weights?: {
        imageFields?: number[];
        textFields?: number[];
        videoFields?: number[];
    }

    The weights of the fields used for vectorization.

    • Optional imageFields?: number[]

      The weights of the image fields.

    • Optional textFields?: number[]

      The weights of the text fields.

    • Optional videoFields?: number[]

      The weights of the video fields.