KShivendu commited on
Commit
8192ab6
β€’
1 Parent(s): 362a13a

feat: Use Qdrant local mode

Browse files
Files changed (2) hide show
  1. app.py +2 -2
  2. main.py β†’ engine.py +0 -0
app.py CHANGED
@@ -8,11 +8,11 @@ from fastembed import TextEmbedding
8
 
9
  from llama_index.llms.openai import OpenAI
10
  from utils import extract_food_items, synthesize_food_item
11
- from main import RecommendationEngine
12
 
13
  ocr = PaddleOCR(use_angle_cls=True, lang="en", use_gpu=False)
14
  llm = OpenAI(model="gpt-3.5-turbo")
15
- rec_engine = RecommendationEngine("food", QdrantClient(":memory:"), TextEmbedding())
16
 
17
 
18
  def run_ocr(img_path) -> str:
 
8
 
9
  from llama_index.llms.openai import OpenAI
10
  from utils import extract_food_items, synthesize_food_item
11
+ from engine import RecommendationEngine
12
 
13
  ocr = PaddleOCR(use_angle_cls=True, lang="en", use_gpu=False)
14
  llm = OpenAI(model="gpt-3.5-turbo")
15
+ rec_engine = RecommendationEngine("food", QdrantClient("qdrant-rec-sys-data"), TextEmbedding())
16
 
17
 
18
  def run_ocr(img_path) -> str:
main.py β†’ engine.py RENAMED
File without changes