Modify ollama embed return fields
This commit is contained in:
1 parent
3f14f77e25
commit
9e550eab00
1 file changed
+1
-1
@@ -37,5 +37,5 @@ type OllamaEmbeddingRequest struct {
|
|||||||
type OllamaEmbeddingResponse struct {
|
type OllamaEmbeddingResponse struct {
|
||||||
Error string `json:"error,omitempty"`
|
Error string `json:"error,omitempty"`
|
||||||
Model string `json:"model"`
|
Model string `json:"model"`
|
||||||
Embedding []float64 `json:"embedding,omitempty"`
|
Embedding []float64 `json:"embeddings,omitempty"`
|
||||||
}
|
}
|
||||||
Reference in new issue
Block a user