From 473b5ed9459fad44a1a79698d3d05381d20fc11e Mon Sep 17 00:00:00 2001 From: henri123lemoine Date: Tue, 27 Jun 2023 02:39:49 -0400 Subject: [PATCH] Renamed class and file --- src/dataset/{pinecone_handler.py => pinecone_db_handler.py} | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) rename src/dataset/{pinecone_handler.py => pinecone_db_handler.py} (99%) diff --git a/src/dataset/pinecone_handler.py b/src/dataset/pinecone_db_handler.py similarity index 99% rename from src/dataset/pinecone_handler.py rename to src/dataset/pinecone_db_handler.py index bca5273..6f53daa 100644 --- a/src/dataset/pinecone_handler.py +++ b/src/dataset/pinecone_db_handler.py @@ -4,13 +4,13 @@ import json import pinecone import os +from .settings import PINECONE_INDEX_NAME, PINECONE_VALUES_DIMS, PINECONE_METRIC, PINECONE_METADATA_ENTRIES + import logging logger = logging.getLogger(__name__) -from .settings import PINECONE_INDEX_NAME, PINECONE_VALUES_DIMS, PINECONE_METRIC, PINECONE_METADATA_ENTRIES - -class PineconeHandler: +class PineconeDB: def __init__( self, create_index: bool = False,