feat: Weaviate supports Chinese bm25 #12223
This commit is contained in:
parent
9709df1ed7
commit
23c80f8ef3
@ -252,11 +252,7 @@ class WeaviateVector(BaseVector):
|
|||||||
return {
|
return {
|
||||||
"class": index_name,
|
"class": index_name,
|
||||||
"properties": [
|
"properties": [
|
||||||
{
|
{"name": "text", "dataType": ["text"], "tokenization": dify_config.WEAVIATE_TOKENIZATION}
|
||||||
"name": "text",
|
|
||||||
"dataType": ["text"],
|
|
||||||
"tokenization": dify_config.WEAVIATE_TOKENIZATION
|
|
||||||
}
|
|
||||||
],
|
],
|
||||||
}
|
}
|
||||||
else:
|
else:
|
||||||
|
Loading…
Reference in New Issue
Block a user