diff --git a/backend/src/vectorstores/faiss.py b/backend/src/vectorstores/faiss.py index 705667ee..548db538 100644 --- a/backend/src/vectorstores/faiss.py +++ b/backend/src/vectorstores/faiss.py @@ -41,7 +41,7 @@ def __init__( self.embedding_model = GoogleGenerativeAIEmbeddings( model=self.embeddings_model_name, task_type="retrieval_document", - ) # type: ignore + ) logging.info("Using Google GenerativeAI embeddings...") elif embeddings_type == "GOOGLE_VERTEXAI": diff --git a/frontend/utils/feedback.py b/frontend/utils/feedback.py index dd18cf9e..292ff59c 100644 --- a/frontend/utils/feedback.py +++ b/frontend/utils/feedback.py @@ -98,8 +98,8 @@ def submit_feedback_to_google_sheet( "https://www.googleapis.com/auth/drive", ] - creds = Credentials.from_service_account_file(service_account_file, scopes=scope) # type: ignore - client = gspread.authorize(creds) # type: ignore + creds = Credentials.from_service_account_file(service_account_file, scopes=scope) + client = gspread.authorize(creds) sheet_id = os.getenv("FEEDBACK_SHEET_ID", "") target_gid = int(os.getenv("FEEDBACK_SHEET_GID", "0"))