Skip to content

Commit 286d2b8

Browse files
committed
Added ability to generate product embeddings from main.
1 parent 1cc1d5e commit 286d2b8

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

app/backend/main.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
from core.config import app
2-
import os
3-
2+
from database.data_helpers import get_product_embeddings
43
import uvicorn
54

5+
from api.endpoints import handle_new_chat_message_from_user, get_products_by_description
66
if __name__ == "__main__":
7+
#get_product_embeddings()
78
uvicorn.run(app, host="0.0.0.0", port=8000)

0 commit comments

Comments
 (0)