Refactoring of legacy and new

This commit is contained in:
Roy Han
2024-07-03 14:02:25 -07:00
parent 922b8f2584
commit 17de2b4405
5 changed files with 9 additions and 69 deletions

View File

@@ -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].