client
client copied to clipboard
Use embedding-001 model with batchEmbedContents:
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