Doug Qian
06/17/2025, 9:46 PMAlan Martini
06/17/2025, 10:33 PMcurl "http://localhost:8108/collections/<your collection>" \
-X PATCH \
-H "Content-Type: application/json" \
-H "X-TYPESENSE-API-KEY: ${TYPESENSE_API_KEY}" \
-d '{
"fields": [
{
"name": "embedding",
"embed": {
"from": ["product_name"],
"model_config": {
"model_name": "openai/text-embedding-3-small",
"api_key": "<new api key>"
}
}
}
]
}'