Spaces:
Runtime error
Runtime error
merge hyde/rag initial prompts
Browse files- web_gui/streamlit.py +6 -6
web_gui/streamlit.py
CHANGED
|
@@ -16,14 +16,14 @@ DEFAULT_LLM_MODEL = "meta-llama/Llama-3.1-8B-Instruct"
|
|
| 16 |
EMBEDDING_MODEL_NAME = "sentence-transformers/all-MiniLM-L6-v2"
|
| 17 |
|
| 18 |
# System Instructions
|
| 19 |
-
SYSTEM_PROMPT = (
|
| 20 |
-
"You are a helpful assistant that answers questions about a manga and tv-series. "
|
| 21 |
"Be brief and concise. Provide your answers in 100 words or less."
|
| 22 |
)
|
| 23 |
-
HYDE_SYSTEM_PROMPT = (
|
| 24 |
-
|
| 25 |
-
|
| 26 |
-
)
|
| 27 |
|
| 28 |
st.set_page_config(page_title=PAGE_TITLE, layout="wide")
|
| 29 |
|
|
|
|
| 16 |
EMBEDDING_MODEL_NAME = "sentence-transformers/all-MiniLM-L6-v2"
|
| 17 |
|
| 18 |
# System Instructions
|
| 19 |
+
SYSTEM_PROMPT = HYDE_SYSTEM_PROMPT =(
|
| 20 |
+
"You are a helpful assistant that answers questions about a manga and tv-series called One Piece. "
|
| 21 |
"Be brief and concise. Provide your answers in 100 words or less."
|
| 22 |
)
|
| 23 |
+
# HYDE_SYSTEM_PROMPT = (
|
| 24 |
+
# "You are a helpful assistant that generates a hypothetical answer to the user's question. "
|
| 25 |
+
# "Be brief and concise. Provide your answer in 100 words or less."
|
| 26 |
+
# )
|
| 27 |
|
| 28 |
st.set_page_config(page_title=PAGE_TITLE, layout="wide")
|
| 29 |
|