Aditya Verma
08/28/2025, 5:30 PMAditya Verma
08/29/2025, 6:48 AM{
"message": "`model_config` should be an object containing `model_name` and `api_key` as string values."
}
curl -
curl --location --request PATCH '<https://xyz/collections/variantV3>' \
--header 'X-TYPESENSE-API-KEY: xyz' \
--header 'Content-Type: application/json' \
--data '{
"fields": [
{
"name": "featuredImageBase64",
"type": "image",
"store": false,
"optional": true
},
{
"name": "imageEmbedding",
"type": "float[]",
"embed": {
"from": [
"featuredImageBase64"
],
"model_config": {
"model_name": "ts/clip-vit-b-p32"
}
},
"optional": true
}
]
}'
I'm using ts model. Why is it not going through?Aditya Verma
08/29/2025, 6:49 AMFanis Tharropoulos
08/29/2025, 8:37 AMfeaturedImageBase64
field exist before the update?Aditya Verma
08/29/2025, 8:40 AMFanis Tharropoulos
08/29/2025, 8:43 AMAditya Verma
08/29/2025, 8:44 AMFanis Tharropoulos
08/29/2025, 8:46 AMAditya Verma
08/29/2025, 8:47 AMFanis Tharropoulos
08/29/2025, 8:48 AMAditya Verma
08/29/2025, 8:50 AMAditya Verma
08/29/2025, 8:51 AMFanis Tharropoulos
08/29/2025, 8:53 AMAditya Verma
08/29/2025, 8:54 AMFanis Tharropoulos
08/29/2025, 9:12 AMAditya Verma
08/29/2025, 9:14 AMFanis Tharropoulos
08/29/2025, 9:14 AMAditya Verma
08/29/2025, 9:15 AMAditya Verma
08/29/2025, 10:51 AMAditya Verma
08/29/2025, 10:52 AM{
"results": [
{
"code": 400,
"error": "Malformed vector query string: could not embed image."
}
]
}
Fanis Tharropoulos
08/29/2025, 10:53 AMAditya Verma
08/29/2025, 10:53 AMFanis Tharropoulos
08/29/2025, 11:03 AMAditya Verma
08/29/2025, 11:17 AM