Update app.py
Browse files
app.py
CHANGED
|
@@ -262,6 +262,7 @@ def generate_prompt_with_history_langchain(prompt, history):
|
|
| 262 |
def invoke (prompt, history, openai_api_key, rag_option, temperature=0.9, max_new_tokens=512, top_p=0.6, repetition_penalty=1.3,):
|
| 263 |
global splittet
|
| 264 |
print("lllllllllllllllllll")
|
|
|
|
| 265 |
#Prompt an history anhängen und einen Text daraus machen
|
| 266 |
history_text_und_prompt = generate_prompt_with_history(prompt, history)
|
| 267 |
|
|
|
|
| 262 |
def invoke (prompt, history, openai_api_key, rag_option, temperature=0.9, max_new_tokens=512, top_p=0.6, repetition_penalty=1.3,):
|
| 263 |
global splittet
|
| 264 |
print("lllllllllllllllllll")
|
| 265 |
+
print(splittet)
|
| 266 |
#Prompt an history anhängen und einen Text daraus machen
|
| 267 |
history_text_und_prompt = generate_prompt_with_history(prompt, history)
|
| 268 |
|