Skip to content

OpenAiEmbeddingService embed lists one element at a time #5

@mzattera

Description

@mzattera

When OpenAiEmbeddingService` is called with a List`` each string is embedded separately, regardless its length. Notice that, when embedding a single big text that is chunked, as many chunks as possible are embedded with a single call.

Optimize the service to always optimize calls.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions