client icon indicating copy to clipboard operation
client copied to clipboard

Use embedding-001 model with batchEmbedContents:

Open Martin-Matchory opened this issue 8 months ago • 0 comments

In the readme is batchEmbedContents mentioned:

Use the embedding-001 model with either embedContents or batchEmbedContents:

But there seems to be no way to use batchEmbedContents (only embedContents as a string is possible)

GeminiAPI\EmbeddingModel::embedContent(): Argument #1 must be of type GeminiAPI\Resources\Parts\PartInterface, array given

Martin-Matchory avatar Jun 10 '24 13:06 Martin-Matchory