go-openai icon indicating copy to clipboard operation
go-openai copied to clipboard

It is not convenient to convert EmbeddingResponse to EmbeddingResponseBase64

Open HuMtk opened this issue 6 months ago • 0 comments

When using CreateEmbeddings, I encountered some problems. Whenever I needed the base64 format, it always returned float. And because EmbeddingResponseBase64. Data [0]. The use of Embedding is base64String let I can't in external transformation, At the same time EmbeddingResponse did not provide a ToEmbeddingResponseBase64. Is there any good way for me to make a better transition

HuMtk avatar May 07 '25 03:05 HuMtk