Moyenul Islam
08/20/2023, 3:05 PM{
"name": "products",
"fields": [
{
"name": "brand",
"type": "string"
},
{
"name": "categories",
"type": "string"
},
{
"name": "embedding",
"type": "float[]",
"embed": {
"from": [
"brand",
"categories"
],
"model_config": {
"model_name": "ts/e5-small"
}
}
}
]
}
Attempt to insert a document into the "products" collection:
{
"brand": "apple",
"categories": "computer"
}
Observe the following error message: 'Field embedding has been declared in the schema, but is not found in the document.'
I have also tried by cloning your repository https://github.com/typesense/showcase-hn-comments-semantic-search . But got the same error.Jason Bosco
08/20/2023, 3:55 PMGET /debug
Moyenul Islam
08/20/2023, 3:59 PMJason Bosco
08/20/2023, 4:00 PMMoyenul Islam
08/20/2023, 4:00 PMJason Bosco
08/20/2023, 4:00 PMMoyenul Islam
08/20/2023, 4:00 PMMoyenul Islam
08/20/2023, 4:00 PM