mirror of
https://github.com/linux-do/new-api.git
synced 2025-09-17 16:06:38 +08:00
Modify ollama embed return fields
This commit is contained in:
parent
e5588fc1ee
commit
5253a0e7b2
@ -37,5 +37,5 @@ type OllamaEmbeddingRequest struct {
|
||||
type OllamaEmbeddingResponse struct {
|
||||
Error string `json:"error,omitempty"`
|
||||
Model string `json:"model"`
|
||||
Embedding []float64 `json:"embedding,omitempty"`
|
||||
Embedding []float64 `json:"embeddings,omitempty"`
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user