Camilo
11/06/2024, 4:06 PMcurl '<http://localhost:8108/collections>' \
-X POST \
-H 'Content-Type: application/json' \
-H "X-TYPESENSE-API-KEY: <my-key>" \
-d '{
"name": "products",
"fields": [
{
"name": "product_name",
"type": "string"
},
{
"name": "embedding",
"type": "float[]",
"embed": {
"from": [
"product_name"
],
"model_config": {
"model_name": "openai/text-embedding-3-small",
"api_key": "openai-api-key"
}
}
}
]
}'
I see this error message in my logs
Validating and initializing remote model: openai/text-embedding-3-small
Exception while calling handler collections:create
Raw error: [json.exception.type_error.302] type must be string, but is null
i am using typesense self-hosted with docker composeJason Bosco
11/06/2024, 9:21 PMJason Bosco
11/06/2024, 9:21 PMJason Bosco
11/06/2024, 9:22 PMCamilo
11/07/2024, 1:52 PM