mirror of
https://github.com/ollama/ollama.git
synced 2026-04-24 17:55:43 +02:00
Refactoring of legacy and new
This commit is contained in:
@@ -246,7 +246,7 @@ type EmbeddingRequest struct {
|
||||
|
||||
// EmbeddingResponse is the response from [Client.Embeddings].
|
||||
type EmbeddingResponse struct {
|
||||
Embedding []float64 `json:"embedding"`
|
||||
Embedding []float32 `json:"embedding"`
|
||||
}
|
||||
|
||||
// CreateRequest is the request passed to [Client.Create].
|
||||
|
||||
Reference in New Issue
Block a user