fix(typesense): no sort for tags

This commit is contained in:
arkohut 2024-08-23 23:24:00 +08:00
parent 420d972513
commit 4b9b2ce8e1

View File

@ -39,8 +39,7 @@ schema = {
"type": "string[]", "type": "string[]",
"facet": True, "facet": True,
"optional": True, "optional": True,
"locale": "zh", "locale": "zh"
"sort": True
}, },
{ {
"name": "metadata_entries", "name": "metadata_entries",
@ -55,9 +54,9 @@ schema = {
"embed": { "embed": {
"from": ["filepath", "filename", "metadata_text"], "from": ["filepath", "filename", "metadata_text"],
"model_config": { "model_config": {
"model_name": "openai/bge-m3", "model_name": "openai/shaw/dmeta-embedding-zh",
"api_key": "xxx", "api_key": "xxx",
"url": "http://host.docker.internal:11434" "url": "http://localhost:11434"
} }
}, },
"optional": True, "optional": True,