-
Notifications
You must be signed in to change notification settings - Fork 48
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG]: Wrong GenerateEmbeddingResponse Format #5
Comments
Nice catch, thanks. I just found out that the docs where wrong about that too. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Version: OllamaSharp 1.0.2
The
GenerateEmbeddingResponse
doesn't match the actual returned json format from endpointapi/embeddings
I am using
OllamaSharp 1.0.2
to call endpointapi/embeddings
with model(llama2:70b
) and prompt. However, the returned json is{ "embedding": [ 1232321, 1232321, ...] }
instead of GenerateEmbeddingResponse with{ "embeddings": [ 1232321, 1232321, ...] }
According to the official doc, the returned key word should be
embedding
withouts
.The text was updated successfully, but these errors were encountered: