Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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,
|