Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -49,7 +49,7 @@ Article = {
|
|
49 |
"vectorizer": "text2vec-contextionary",
|
50 |
"moduleConfig": {
|
51 |
"text2vec-contextionary": {
|
52 |
-
"vectorizeClassName":
|
53 |
}
|
54 |
},
|
55 |
"properties": [
|
@@ -59,12 +59,12 @@ Article = {
|
|
59 |
"dataType": ["text"],
|
60 |
"moduleConfig": {
|
61 |
"text2vec-contextionary": {
|
62 |
-
"skip":
|
63 |
-
"vectorizePropertyName":
|
64 |
}
|
65 |
},
|
66 |
-
"indexFilterable":
|
67 |
-
"indexSearchable":
|
68 |
},
|
69 |
{
|
70 |
"name": "content",
|
@@ -72,26 +72,26 @@ Article = {
|
|
72 |
"dataType": ["text"],
|
73 |
"moduleConfig": {
|
74 |
"text2vec-contextionary": {
|
75 |
-
"skip":
|
76 |
-
"vectorizePropertyName":
|
77 |
}
|
78 |
},
|
79 |
-
"indexFilterable":
|
80 |
-
"indexSearchable":
|
81 |
},
|
82 |
{
|
83 |
"name": "author",
|
84 |
"description": "The author of the article",
|
85 |
"dataType": ["text"],
|
86 |
-
"indexFilterable":
|
87 |
-
"indexSearchable":
|
88 |
},
|
89 |
{
|
90 |
"name": "publishDate",
|
91 |
"description": "The date the article was published",
|
92 |
"dataType": ["date"],
|
93 |
-
"indexFilterable":
|
94 |
-
"indexSearchable":
|
95 |
}
|
96 |
],
|
97 |
"invertedIndexConfig": {
|
@@ -100,9 +100,9 @@ Article = {
|
|
100 |
"additions": [],
|
101 |
"removals": []
|
102 |
},
|
103 |
-
"indexTimestamps":
|
104 |
-
"indexNullState":
|
105 |
-
"indexPropertyLength":
|
106 |
"bm25": {
|
107 |
"b": 0.75,
|
108 |
"k1": 1.2
|
|
|
49 |
"vectorizer": "text2vec-contextionary",
|
50 |
"moduleConfig": {
|
51 |
"text2vec-contextionary": {
|
52 |
+
"vectorizeClassName": True
|
53 |
}
|
54 |
},
|
55 |
"properties": [
|
|
|
59 |
"dataType": ["text"],
|
60 |
"moduleConfig": {
|
61 |
"text2vec-contextionary": {
|
62 |
+
"skip": False,
|
63 |
+
"vectorizePropertyName": True
|
64 |
}
|
65 |
},
|
66 |
+
"indexFilterable": True,
|
67 |
+
"indexSearchable": True
|
68 |
},
|
69 |
{
|
70 |
"name": "content",
|
|
|
72 |
"dataType": ["text"],
|
73 |
"moduleConfig": {
|
74 |
"text2vec-contextionary": {
|
75 |
+
"skip": False,
|
76 |
+
"vectorizePropertyName": True
|
77 |
}
|
78 |
},
|
79 |
+
"indexFilterable": True,
|
80 |
+
"indexSearchable": True
|
81 |
},
|
82 |
{
|
83 |
"name": "author",
|
84 |
"description": "The author of the article",
|
85 |
"dataType": ["text"],
|
86 |
+
"indexFilterable": True,
|
87 |
+
"indexSearchable": True
|
88 |
},
|
89 |
{
|
90 |
"name": "publishDate",
|
91 |
"description": "The date the article was published",
|
92 |
"dataType": ["date"],
|
93 |
+
"indexFilterable": True,
|
94 |
+
"indexSearchable": True
|
95 |
}
|
96 |
],
|
97 |
"invertedIndexConfig": {
|
|
|
100 |
"additions": [],
|
101 |
"removals": []
|
102 |
},
|
103 |
+
"indexTimestamps": True,
|
104 |
+
"indexNullState": True,
|
105 |
+
"indexPropertyLength": True,
|
106 |
"bm25": {
|
107 |
"b": 0.75,
|
108 |
"k1": 1.2
|