karthikvarunn commited on
Commit
88244a8
·
verified ·
1 Parent(s): e43fa5c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -1
app.py CHANGED
@@ -103,7 +103,6 @@ def generate_search_summary(search_results, document_titles, query):
103
  - Relevance Scores (0-1): {relevance_scores}
104
  Provide a clear, user-friendly summary with an action suggestion.
105
  If scores are low but the documents are from the same title no need to comment on the scores.
106
- If only one result that means there's is only one relevant document and in that case do not mention about pages/page number.
107
  """
108
 
109
  llm = ChatOpenAI(model="gpt-4", openai_api_key=openai.api_key, temperature=0.5)
 
103
  - Relevance Scores (0-1): {relevance_scores}
104
  Provide a clear, user-friendly summary with an action suggestion.
105
  If scores are low but the documents are from the same title no need to comment on the scores.
 
106
  """
107
 
108
  llm = ChatOpenAI(model="gpt-4", openai_api_key=openai.api_key, temperature=0.5)