Type alias Multi2VecCohereConfig

Multi2VecCohereConfig: {
    baseURL?: string;
    imageFields?: string[];
    model?: string;
    textFields?: string[];
    truncate?: string;
    vectorizeCollectionName?: boolean;
    weights?: {
        imageFields?: number[];
        textFields?: number[];
    };
}

The configuration for multi-media vectorization using the Cohere module.

See the documentation for detailed usage.

Type declaration

  • Optional baseURL?: string

    The base URL to use where API requests should go.

  • Optional imageFields?: string[]

    The image fields used when vectorizing.

  • Optional model?: string

    The specific model to use.

  • Optional textFields?: string[]

    The text fields used when vectorizing.

  • Optional truncate?: string

    The truncation strategy to use.

  • Optional vectorizeCollectionName?: boolean

    Whether the collection name is vectorized.

  • Optional weights?: {
        imageFields?: number[];
        textFields?: 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.