Spaces:
Paused
Paused
Carlos Rosas
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -55,7 +55,7 @@ class CassandreChatBot:
|
|
55 |
fiches, fiches_html = hybrid_search(user_message)
|
56 |
sampling_params = SamplingParams(temperature=temperature, top_p=top_p, max_tokens=max_new_tokens, presence_penalty=repetition_penalty, stop=["#END#"])
|
57 |
|
58 |
-
detailed_prompt = f"""### Query ###\n{user_message}\n\n### Source ###\n{fiches}\n\n###
|
59 |
|
60 |
prompts = [detailed_prompt]
|
61 |
outputs = llm.generate(prompts, sampling_params, use_tqdm=False)
|
|
|
55 |
fiches, fiches_html = hybrid_search(user_message)
|
56 |
sampling_params = SamplingParams(temperature=temperature, top_p=top_p, max_tokens=max_new_tokens, presence_penalty=repetition_penalty, stop=["#END#"])
|
57 |
|
58 |
+
detailed_prompt = f"""### Query ###\n{user_message}\n\n### Source ###\n{fiches}\n\n### Analysis ###\n"""
|
59 |
|
60 |
prompts = [detailed_prompt]
|
61 |
outputs = llm.generate(prompts, sampling_params, use_tqdm=False)
|