Update utils.py
Browse files
utils.py
CHANGED
|
@@ -381,8 +381,7 @@ def process_chatverlauf(prompt, model, oai_key):
|
|
| 381 |
|
| 382 |
def process_chatverlauf_hf(history, llm):
|
| 383 |
input = generate_prompt_with_history("Gib folgendem Text eine Überschrift mit maximal 3 Worten", history)
|
| 384 |
-
|
| 385 |
-
result = llm_chain.run({"question": input})
|
| 386 |
return result
|
| 387 |
|
| 388 |
|
|
|
|
| 381 |
|
| 382 |
def process_chatverlauf_hf(history, llm):
|
| 383 |
input = generate_prompt_with_history("Gib folgendem Text eine Überschrift mit maximal 3 Worten", history)
|
| 384 |
+
result = llm_chain(llm, input)
|
|
|
|
| 385 |
return result
|
| 386 |
|
| 387 |
|