Skip to content

Commit

Permalink
Update table_create.py
Browse files Browse the repository at this point in the history
  • Loading branch information
lineUCB authored Jul 17, 2024
1 parent 5f772a0 commit 72146bf
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@


# Paths to your vector and vss extensions
EXT_VECTOR_PATH = "./dist/debug/vector0"
EXT_VSS_PATH = "./dist/debug/vss0"
EXT_VECTOR_PATH = "ai_course_bot/ai-chatbot-backend/app/embedding/dist/debug/vector0"
EXT_VSS_PATH = "ai_course_bot/ai-chatbot-backend/app/embedding/dist/debug/vss0"
BGE = True
# Connect to the SQLite database and load extensions
def connect(path=":memory:"):
Expand All @@ -34,7 +34,7 @@ def execute_all(cursor, sql, args=None):
return list(map(lambda x: dict(x), results))

# Load data from the pickle file
with open('/home/bot/bot/tai/ai_course_bot/ai-chatbot-backend/app/embedding/recursive_seperate_none_BGE_embedding_400_106_full.pkl', 'rb') as f:
with open('ai_course_bot/ai-chatbot-backend/app/embedding/recursive_seperate_none_BGE_embedding_400_106_full.pkl', 'rb') as f:
data_to_store = pickle.load(f)


Expand Down

0 comments on commit 72146bf

Please sign in to comment.