Add Token Usage to Embeddings (#43)
This commit is contained in:
1 parent
fa5319e59a
commit
23925ad36e
1 file changed
+1
@@ -109,6 +109,7 @@ type EmbeddingResponse struct {
|
||||
Object string `json:"object"`
|
||||
Data []Embedding `json:"data"`
|
||||
Model EmbeddingModel `json:"model"`
|
||||
Usage Usage `json:"usage"`
|
||||
}
|
||||
|
||||
// EmbeddingRequest is the input to a Create embeddings request.
|
||||
|
||||
Reference in new issue
Block a user