when invoke ZhiPuAiEmbeddingModel.call method, I get some error,like this
Spring-ai fix:when invoke ZhiPuAiEmbeddingModel.call method request body format error

then check ZhiPuAiEmbeddingModel class and ZhiPuAi website
Spring-ai fix:when invoke ZhiPuAiEmbeddingModel.call method request body format error
Spring-ai fix:when invoke ZhiPuAiEmbeddingModel.call method request body format error
in ZhiPuAiEmbeddingModel class use a Collection, but in website input is String

so I transform List to String, then everything is right!

Comment From: mxsl-gr

Hi, thanks for reporting and PR.  I have reproduced the bug, the unit tests do not cover multiple text embeddings.  but simply concatenating texts does not meet the API's intent, as passing in multiple text embeddings should return multiple embedding vectors, not a single merged one.  I think we can create a new issue. what do you think?

Comment From: wb04307201

OK, I will create a new issue.