Skip to content

openai.WithEmbeddingModel option is incorrectly designating the desired model to use for embedding. #729

@Dmarcotrigiano

Description

@Dmarcotrigiano

openai.WithEmbeddingModel("text-embedding-3-large") is incorrectly returning embeddings of length 1536which is the default embedding length for models, "text-embedding-3-small" and "ada-002".
Unintuitively setting the option openai.WithModel("text-embedding-3-large") correctly returns embeddings of length 3072.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions