ManTea commited on
Commit
5b80491
·
1 Parent(s): 131c078

extract keyword 2-4

Browse files
Files changed (1) hide show
  1. app/api/rag_routes.py +1 -1
app/api/rag_routes.py CHANGED
@@ -71,7 +71,7 @@ fix_request = PromptTemplate(
71
  template = """Goal:
72
  Your task is to extract important keywords from the user's current request, optionally using chat history if relevant.
73
  You will receive a conversation history and the user's current message.
74
- Pick 2-3 keywords from "keyword list" that best represent the user's intent.
75
 
76
  Return Format:
77
  Only return keywords (comma-separated, no extra explanation).
 
71
  template = """Goal:
72
  Your task is to extract important keywords from the user's current request, optionally using chat history if relevant.
73
  You will receive a conversation history and the user's current message.
74
+ Pick 2-4 keywords from "keyword list" that best represent the user's intent.
75
 
76
  Return Format:
77
  Only return keywords (comma-separated, no extra explanation).