Update app.py
Browse files
app.py
CHANGED
@@ -37,7 +37,7 @@ Context: {' - '.join(['&&& '+d.meta['document_name']+' ref. '+str(d.meta['ref_id
|
|
37 |
model_options = ['chatGPT','Llama2']
|
38 |
|
39 |
# Create a list of options for the dropdown
|
40 |
-
country_options = ['Angola','Botswana','Lesotho','Kenya','Malawi','Mozambique','Namibia','South Africa','Zambia','Zimbabwe']
|
41 |
|
42 |
# List of examples
|
43 |
examples = [
|
@@ -146,7 +146,7 @@ retriever = EmbeddingRetriever(
|
|
146 |
|
147 |
# Guiding text
|
148 |
st.title('Climate Policy Documents: Vulnerabilities Analysis Q&A')
|
149 |
-
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 Llama2. The document store is limited to 10 Southern African countries (Angola, Botswana, Eswatini, Lesotho, Malawi, Mozambique, Namibia, South Africa, Zambia, Zimbabwe) and
|
150 |
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.*')
|
151 |
|
152 |
# Dropdown selectbox: model
|
|
|
37 |
model_options = ['chatGPT','Llama2']
|
38 |
|
39 |
# Create a list of options for the dropdown
|
40 |
+
country_options = ['Angola','Botswana','Lesotho','Kenya','Malawi','Mozambique','Namibia','Rwanda','South Africa','Zambia','Zimbabwe']
|
41 |
|
42 |
# List of examples
|
43 |
examples = [
|
|
|
146 |
|
147 |
# Guiding text
|
148 |
st.title('Climate Policy Documents: Vulnerabilities Analysis Q&A')
|
149 |
+
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 Llama2. The document store is limited to 10 Southern African countries (Angola, Botswana, Eswatini, Lesotho, Malawi, Mozambique, Namibia, South Africa, Zambia, Zimbabwe), as well as Kenya and Rwanda. 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.')
|
150 |
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.*')
|
151 |
|
152 |
# Dropdown selectbox: model
|