Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -36,13 +36,13 @@ def run_query(query, chat_history, k, temperature,openai_api_key):
|
|
| 36 |
return llm_response
|
| 37 |
|
| 38 |
def main():
|
| 39 |
-
st.title("EmeraldEnergy™️
|
| 40 |
api_key = st.text_input("Enter your API key:")
|
| 41 |
chat_history = []
|
| 42 |
|
| 43 |
role = 'Pretend I am an HVAC technician installing a Mitsubishi heat pump. I do not have access to the manual. Help me install this using your knowledge of the mitsubishi heatpump. Please consider the section under instruction of troubleshooting. If you can not help me, then provide generalized guidance. Please ask for which model of the product we are using at the end. \n'
|
| 44 |
|
| 45 |
-
query = st.text_area("
|
| 46 |
|
| 47 |
k = st.slider("Number of documents to retrieve (k):", min_value=1, max_value=4, value=4)
|
| 48 |
|
|
|
|
| 36 |
return llm_response
|
| 37 |
|
| 38 |
def main():
|
| 39 |
+
st.title("EmeraldEnergy™️ AI Copilot")
|
| 40 |
api_key = st.text_input("Enter your API key:")
|
| 41 |
chat_history = []
|
| 42 |
|
| 43 |
role = 'Pretend I am an HVAC technician installing a Mitsubishi heat pump. I do not have access to the manual. Help me install this using your knowledge of the mitsubishi heatpump. Please consider the section under instruction of troubleshooting. If you can not help me, then provide generalized guidance. Please ask for which model of the product we are using at the end. \n'
|
| 44 |
|
| 45 |
+
query = st.text_area("How can I help you today?:", height=100)
|
| 46 |
|
| 47 |
k = st.slider("Number of documents to retrieve (k):", min_value=1, max_value=4, value=4)
|
| 48 |
|