TP
12/22/2023, 2:21 AMschema = {
"fields": [
{
"name": 'other_content_embedding',
"type": 'float[]',
"embed": {
"from": ["content"],
"model_config": {
"model_name": "ts/jina-embeddings-v2-base-en"
}
}
}
]
}
client.collections["notes"].update(schema)
I get the following error message
> typesense.exceptions.RequestMalformed: [Errno 400] Schema change is incompatible with the type of documents already stored in this collection. error: Field content_embedding
contains an invalid embedding.
content_embedding
is the field I am trying to update/get rid of. And it is definitely not invalid since it worked perfectly well before I tried to change the embedding model 🙂