Skip to content

Commit 61366cb

Browse files
committed
refac
1 parent c3e1d2d commit 61366cb

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

backend/open_webui/retrieval/vector/dbs/s3vector.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,11 @@ def _create_index(
6161
dataType=data_type,
6262
dimension=dimension,
6363
distanceMetric=distance_metric,
64+
metadataConfiguration={
65+
"nonFilterableMetadataKeys": [
66+
"text",
67+
]
68+
},
6469
)
6570
log.info(
6671
f"Created S3 index: {index_name} (dim={dimension}, type={data_type}, metric={distance_metric})"

0 commit comments

Comments
 (0)