mikeion commited on
Commit
3ad3b78
·
1 Parent(s): 505c787

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -154,7 +154,7 @@ class Chatbot():
154
  return results.head(n)
155
 
156
  def create_prompt(self, embeddings, df, user_input):
157
- result = self.search_embeddings(df, embeddings, user_input, n=3)
158
  print(result)
159
  prompt = """You are a large language model whose expertise is reading and and providing answers about research papers.
160
  You are given a query and a series of text embeddings from a paper in order of their cosine similarity to the query.
 
154
  return results.head(n)
155
 
156
  def create_prompt(self, embeddings, df, user_input):
157
+ result = self.search_embeddings(embeddings, df, user_input, n=3)
158
  print(result)
159
  prompt = """You are a large language model whose expertise is reading and and providing answers about research papers.
160
  You are given a query and a series of text embeddings from a paper in order of their cosine similarity to the query.