weaviate-client
    Preparing search index...

    Type Alias Text2VecOpenAIConfig

    The configuration for text vectorization using the OpenAI module.

    See the documentation for detailed usage.

    type Text2VecOpenAIConfig = {
        baseURL?: string;
        dimensions?: number;
        model?:
            | "text-embedding-3-small"
            | "text-embedding-3-large"
            | "text-embedding-ada-002"
            | string;
        modelVersion?: string;
        type?: "text"
        | "code"
        | string;
        vectorizeCollectionName?: boolean;
    }
    Index

    Properties

    baseURL?: string

    The base URL to use where API requests should go.

    dimensions?: number

    The dimensionality of the vector once embedded.

    model?:
        | "text-embedding-3-small"
        | "text-embedding-3-large"
        | "text-embedding-ada-002"
        | string

    The model to use.

    modelVersion?: string

    The model version to use.

    type?: "text" | "code" | string

    The type of model to use.

    vectorizeCollectionName?: boolean

    Whether to vectorize the collection name.