YALCINKAYA commited on
Commit
c51db35
·
verified ·
1 Parent(s): 147b714

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -0
app.py CHANGED
@@ -250,6 +250,9 @@ def generate_response(user_input, model_id):
250
  # Construct the knowledge prompt
251
  prompt = f"Use the following knowledge:\n{retrieved_knowledge}"
252
 
 
 
 
253
  # Add the retrieved knowledge to the prompt
254
  func_caller.append({"role": "system", "content": prompt})
255
 
 
250
  # Construct the knowledge prompt
251
  prompt = f"Use the following knowledge:\n{retrieved_knowledge}"
252
 
253
+ # Log the prompt (you can change this to a logging library if needed)
254
+ print(f"Generated prompt: {prompt}") # <-- Log the prompt here
255
+
256
  # Add the retrieved knowledge to the prompt
257
  func_caller.append({"role": "system", "content": prompt})
258