From d616276e880c1a12a90e621629a70f4b72469778 Mon Sep 17 00:00:00 2001 From: Jacob Bryant Date: Tue, 19 Sep 2023 08:28:46 -0400 Subject: [PATCH] skip vectorizing certain fields --- index/dapps.py | 48 ++++++++++++++++++++++++++++++++++++++++++------ 1 file changed, 42 insertions(+), 6 deletions(-) diff --git a/index/dapps.py b/index/dapps.py index eb98b42..b64d376 100644 --- a/index/dapps.py +++ b/index/dapps.py @@ -45,32 +45,68 @@ def create_schema(delete_first: bool = False) -> None: { "name": "twitterHandle", "dataType": ["text"], - "description": "The Twitter handle of the Dapp" + "description": "The Twitter handle of the Dapp", + "moduleConfig": { + "text2vec-openai": { + "skip": False, + "vectorizePropertyName": False + } + } }, { "name": "blogLinks", "dataType": ["text[]"], - "description": "Links to the blog posts related to the Dapp" + "description": "Links to the blog posts related to the Dapp", + "moduleConfig": { + "text2vec-openai": { + "skip": False, + "vectorizePropertyName": False + } + } }, { "name": "discord", "dataType": ["text"], - "description": "The Discord server link of the Dapp" + "description": "The Discord server link of the Dapp", + "moduleConfig": { + "text2vec-openai": { + "skip": False, + "vectorizePropertyName": False + } + } }, { "name": "facebook", "dataType": ["text"], - "description": "The Facebook page link of the Dapp" + "description": "The Facebook page link of the Dapp", + "moduleConfig": { + "text2vec-openai": { + "skip": False, + "vectorizePropertyName": False + } + } }, { "name": "instagram", "dataType": ["text"], - "description": "The Instagram profile link of the Dapp" + "description": "The Instagram profile link of the Dapp", + "moduleConfig": { + "text2vec-openai": { + "skip": False, + "vectorizePropertyName": False + } + } }, { "name": "telegram", "dataType": ["text"], - "description": "The Telegram channel link of the Dapp" + "description": "The Telegram channel link of the Dapp", + "moduleConfig": { + "text2vec-openai": { + "skip": False, + "vectorizePropertyName": False + } + } } ] }