VietCat commited on
Commit
e2d0ed8
·
1 Parent(s): 611315e

fix embedding

Browse files
Files changed (2) hide show
  1. app/facebook.py +0 -1
  2. app/supabase_db.py +1 -1
app/facebook.py CHANGED
@@ -78,7 +78,6 @@ class FacebookClient:
78
  """
79
  try:
80
  entry = body["entry"][0]
81
- logger.info(f"[DEBUG] entry: {entry}")
82
  messaging = entry["messaging"][0]
83
 
84
  sender_id = messaging["sender"]["id"]
 
78
  """
79
  try:
80
  entry = body["entry"][0]
 
81
  messaging = entry["messaging"][0]
82
 
83
  sender_id = messaging["sender"]["id"]
app/supabase_db.py CHANGED
@@ -40,7 +40,7 @@ class SupabaseClient:
40
  try:
41
  payload = {
42
  'query_embedding': embedding,
43
- 'match_threshold': 0.7,
44
  'match_count': match_count
45
  }
46
  if vehicle_keywords:
 
40
  try:
41
  payload = {
42
  'query_embedding': embedding,
43
+ 'match_threshold': 0.3,
44
  'match_count': match_count
45
  }
46
  if vehicle_keywords: