import sqlite3
import os
db_path = r'D:\cnf\chatbot-canifa-feedback\backend\database\canifa_ai_dump.sqlite'
conn = sqlite3.connect(db_path)
cursor = conn.cursor()
cursor.execute("SELECT internal_ref_code FROM sr__test_db__magento_product_dimension_with_text_embedding WHERE magento_ref_code = '3TS26S005-SW001'")
print(cursor.fetchone())
conn.close()
