mirror of
https://github.com/tcsenpai/pensieve.git
synced 2025-06-09 12:37:12 +00:00
fix(typesense): no sort for tags
This commit is contained in:
parent
420d972513
commit
4b9b2ce8e1
@ -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,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user