mtyrrell commited on
Commit
1012553
1 Parent(s): b620d1c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -106,6 +106,7 @@ def run_query(input_text, country):
106
  st.success(output)
107
  references = get_refs(res)
108
  st.write('References')
 
109
  st.markdown(references, unsafe_allow_html=True)
110
 
111
  # Setup retriever, pulling from local faiss datastore
@@ -129,8 +130,8 @@ pipe.add_node(component=pn, name="prompt_node", inputs=["Query"])
129
 
130
  # Guiding text
131
  st.title('Climate Policy Documents: Vulnerabilities Analysis Q&A (test)')
132
- st.markdown('This tool seeks to provide an interface for quering national climate policy documents (NDCs, LTS etc.). The current version is powered by chatGPT (3.5) and limited to 9 Southern African countries (Angola, Botswana, Eswatini, Lesotho, Malawi, Mozambique, Namibia, South Africa, Zambia, Zimbabwe). The intended use case is to allow users to interact with the documents and obtain valuable insights on various vulnerable groups affected by climate change.')
133
- st.markdown('**DISCLAIMER:** This prototype tool based on LLMs (Language Models) is provided "as is" for experimental and exploratory purposes only, and should not be used for critical or production applications. Users are advised that the tool may contain errors, bugs, or limitations and should be used with caution and awareness of potential risks, and the developers make no warranties or guarantees regarding its performance, reliability, or suitability for any specific purpose.')
134
 
135
 
136
  # Dropdown selectbox
 
106
  st.success(output)
107
  references = get_refs(res)
108
  st.write('References')
109
+ st.markdown('*References are based on automatically extracted text from climate policy documents. These extracts may contain non-legible characters or disjointed text as an artifact of the extraction procedure*')
110
  st.markdown(references, unsafe_allow_html=True)
111
 
112
  # Setup retriever, pulling from local faiss datastore
 
130
 
131
  # Guiding text
132
  st.title('Climate Policy Documents: Vulnerabilities Analysis Q&A (test)')
133
+ st.markdown('This tool seeks to provide an interface for quering national climate policy documents (NDCs, LTS etc.). The current version is powered by chatGPT (3.5) and limited to 10 Southern African countries (Angola, Botswana, Eswatini, Lesotho, Malawi, Mozambique, Namibia, South Africa, Zambia, Zimbabwe) and Kenya. The intended use case is to allow users to interact with the documents and obtain valuable insights on various vulnerable groups affected by climate change.')
134
+ st.markdown('**DISCLAIMER:** *This prototype tool based on LLMs (Language Models) is provided "as is" for experimental and exploratory purposes only, and should not be used for critical or production applications. Users are advised that the tool may contain errors, bugs, or limitations and should be used with caution and awareness of potential risks, and the developers make no warranties or guarantees regarding its performance, reliability, or suitability for any specific purpose.*')
135
 
136
 
137
  # Dropdown selectbox