Update app.py
Browse files
app.py
CHANGED
@@ -64,7 +64,8 @@ st.sidebar.button('Clear Chat History', on_click=clear_chat_history)
|
|
64 |
|
65 |
# Function for generating LLaMA2 response
|
66 |
def generate_llama_index_response(prompt_input):
|
67 |
-
|
|
|
68 |
|
69 |
# User-provided prompt
|
70 |
if prompt := st.chat_input():
|
|
|
64 |
|
65 |
# Function for generating LLaMA2 response
|
66 |
def generate_llama_index_response(prompt_input):
|
67 |
+
full_prompt = f"作为医疗知识问答助手,我将根据我的知识库回答你的问题:{prompt_input}"
|
68 |
+
return greet2(full_prompt)
|
69 |
|
70 |
# User-provided prompt
|
71 |
if prompt := st.chat_input():
|