vhr1007 commited on
Commit
9625dc2
1 Parent(s): 5a9ffc6
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -35,7 +35,7 @@ logging.basicConfig(level=logging.INFO)
35
  # Initialize the Qdrant searcher
36
  qdrant_url = os.getenv('QDRANT_URL')
37
  access_token = os.getenv('QDRANT_ACCESS_TOKEN')
38
- encoder = SentenceTransformer('paraphrase-MiniLM-L6-v2', trust_remote_code=True) # Replace with your actual encoder
39
  searcher = QdrantSearcher(encoder, qdrant_url, access_token)
40
 
41
  # Request body models
 
35
  # Initialize the Qdrant searcher
36
  qdrant_url = os.getenv('QDRANT_URL')
37
  access_token = os.getenv('QDRANT_ACCESS_TOKEN')
38
+ encoder = SentenceTransformer('nomic-ai/nomic-embed-text-v1.5', trust_remote_code=True)
39
  searcher = QdrantSearcher(encoder, qdrant_url, access_token)
40
 
41
  # Request body models