mgokg commited on
Commit
2dbc9f1
·
verified ·
1 Parent(s): 06ce88c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -36,6 +36,7 @@ def ask_llm(llm_prompt_input):
36
  # Füge die formatierten Ergebnisse zum Prompt hinzu
37
  enriched_prompt = f"{llm_prompt_input}\n\n### Verwandte Informationen:\n{''.join(formatted_results)}"
38
  print(enriched_prompt)
 
39
  # Führe die Abfrage des LLM durch
40
  result = client.predict(
41
  query=enriched_prompt,
 
36
  # Füge die formatierten Ergebnisse zum Prompt hinzu
37
  enriched_prompt = f"{llm_prompt_input}\n\n### Verwandte Informationen:\n{''.join(formatted_results)}"
38
  print(enriched_prompt)
39
+ return enriched_prompt
40
  # Führe die Abfrage des LLM durch
41
  result = client.predict(
42
  query=enriched_prompt,