Continue fixing Ollama embedding return issue

This commit is contained in:
HowieWood committed 2024-11-06 01:21:02 +00:00
1 parent eabc605fb5
commit 0788a6c25f
2 files changed
+11 -2

No files matched your search

+1 -1
View File
@@ -37,5 +37,5 @@ type OllamaEmbeddingRequest struct {
type OllamaEmbeddingResponse struct {
Error string `json:"error,omitempty"`
Model string `json:"model"`
Embedding []float64 `json:"embeddings,omitempty"`
Embedding [][]float64 `json:"embeddings,omitempty"`
}