mirror of
https://github.com/infiniflow/ragflow.git
synced 2026-07-04 18:45:38 +08:00
Go: fix siliconflow embedding response (#14975)
### What problem does this PR solve? fix siliconflow embedding response ### Type of change - [x] Bug Fix (non-breaking change which fixes an issue)
This commit is contained in:
@@ -372,7 +372,7 @@ func (z *SiliconflowModel) ChatStreamlyWithSender(modelName string, messages []M
|
||||
}
|
||||
|
||||
type siliconflowEmbeddingResponse struct {
|
||||
Object []string `json:"object"`
|
||||
Object string `json:"object"`
|
||||
Model string `json:"model"`
|
||||
Data []siliconflowEmbeddingData `json:"data"`
|
||||
Usage siliconflowUsage `json:"usage"`
|
||||
|
||||
Reference in New Issue
Block a user