Skip to content

OpenAI route "/v1/embeddings" ignores encoding_format #30

@shedar

Description

@shedar

Docker image: runpod/worker-infinity-embedding:1.1.4

According to the embeddings api reference, encoding_format param can be "float" (default, returns the embeddings vector as a list of floats), or "base64" (returns the embeddings vector as a base64 encoded array buffer).
The docker image returns embeddings as a list of floats regardless of the parameter value.
It'd be great to support it, or at least throw a proper error to indicate that value is not supported.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions