abishek-official commited on
Commit
b26d323
1 Parent(s): c311b89

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -31,7 +31,7 @@ def get_text_chunks(text):
31
 
32
  def get_vectorstore(text_chunks):
33
  #embeddings = OpenAIEmbeddings()
34
- embeddings = HuggingFaceBgeEmbeddings(model_name="BAAI/bge-small-en-v1.5")
35
  vectorstore = FAISS.from_texts(texts=text_chunks, embedding=embeddings)
36
  return vectorstore
37
 
 
31
 
32
  def get_vectorstore(text_chunks):
33
  #embeddings = OpenAIEmbeddings()
34
+ embeddings = HuggingFaceBgeEmbeddings(model_name="hkunlp/instructor-large")
35
  vectorstore = FAISS.from_texts(texts=text_chunks, embedding=embeddings)
36
  return vectorstore
37