@ -32,4 +32,4 @@ class WeaviateConfig(BaseSettings):
WEAVIATE_TOKENIZATION: Optional[str] = Field(
description="Tokenization for Weaviate",
default=None,
)
@ -252,11 +252,7 @@ class WeaviateVector(BaseVector):
return {
"class": index_name,
"properties": [
{
"name": "text",
"dataType": ["text"],
"tokenization": dify_config.WEAVIATE_TOKENIZATION
}
{"name": "text", "dataType": ["text"], "tokenization": dify_config.WEAVIATE_TOKENIZATION}
],
else: