mirror of
https://github.com/linux-do/new-api.git
synced 2025-11-14 18:03:41 +08:00
add encoding_format
Signed-off-by: wozulong <>
This commit is contained in:
@@ -36,8 +36,8 @@ type AliEmbeddingRequest struct {
|
||||
}
|
||||
|
||||
type AliEmbedding struct {
|
||||
Embedding []float64 `json:"embedding"`
|
||||
TextIndex int `json:"text_index"`
|
||||
Embedding any `json:"embedding"`
|
||||
TextIndex int `json:"text_index"`
|
||||
}
|
||||
|
||||
type AliEmbeddingResponse struct {
|
||||
|
||||
Reference in New Issue
Block a user