feat: update dto for embeddings
This commit is contained in:
1 parent
1dcb9a01ce
commit
f5a52bc5b5
2 files changed
+5
-15
No files matched your search
+2
-2
@@ -218,7 +218,7 @@ type GeminiEmbeddingRequest struct {
|
||||
}
|
||||
|
||||
type GeminiBatchEmbeddingRequest struct {
|
||||
Requests []GeminiEmbeddingRequest `json:"requests"`
|
||||
Requests []*GeminiEmbeddingRequest `json:"requests"`
|
||||
}
|
||||
|
||||
type GeminiEmbeddingResponse struct {
|
||||
@@ -226,7 +226,7 @@ type GeminiEmbeddingResponse struct {
|
||||
}
|
||||
|
||||
type GeminiBatchEmbeddingResponse struct {
|
||||
Embeddings []ContentEmbedding `json:"embeddings"`
|
||||
Embeddings []*ContentEmbedding `json:"embeddings"`
|
||||
}
|
||||
|
||||
type ContentEmbedding struct {
|
||||
|
||||
Reference in new issue
Block a user