NiborKowon commited on
Commit
334c00a
·
verified ·
1 Parent(s): dfdba51

update info text

Browse files
Files changed (1) hide show
  1. app.py +29 -11
app.py CHANGED
@@ -18,18 +18,36 @@ rag = load_rag_pipeline()
18
 
19
  with st.chat_message(name="ai", avatar=":material/smart_toy:"):
20
  st.html(
21
- """Hi, I am an assistant who can answer questions about our organization's gender strategy.
22
- Please ask me a question.
23
- <br>
24
- <b> Note that I cannot memorize our course of our conversation.
25
- So please always include all the necessary information in your questions and
26
- be as specific as possible.</b>
27
- <br>
28
- <ul>Here are a few examples of possible questions:
29
- <li> What are the main targets of the gender strategy? </li>
30
- <li> How does GIZ define “gender” and what understanding is the strategy based on? </li>
31
- <li> How is the success of the strategy measured and reviewed? </li>
 
 
 
 
 
 
 
 
 
32
  </ul>
 
 
 
 
 
 
 
 
 
33
  """
34
  )
35
 
 
18
 
19
  with st.chat_message(name="ai", avatar=":material/smart_toy:"):
20
  st.html(
21
+ """
22
+ <h3>Welcome to the GIZ Gender Strategy Assistant</h3>
23
+ <p>This assistant provides <b>reliable answers</b> about the <b>GIZ Gender Strategy (2019)</b>, helping you quickly access key insights from the official document.</p>
24
+
25
+ <h4>💡 How does the app work?</h4>
26
+ <p>The assistant uses a <b>Retrieval-Augmented Generation (RAG) approach</b> to ensure responses are grounded in the content of the <b>GIZ Gender Strategy (2019)</b>:</p>
27
+ <ul>
28
+ <li>Your question is <b>converted into an embedding</b> (numerical representation).</li>
29
+ <li>The system <b>retrieves the most relevant text sections</b> from the strategy document.</li>
30
+ <li>A <b>language model (LLM)</b> generates a response based on the retrieved content.</li>
31
+ </ul>
32
+
33
+ <p><b>⚠️ Important:</b> The assistant is <b>limited to the Gender Strategy (2019)</b>. It <b>does not</b> access external sources, additional policies, or updated guidelines beyond the provided document.</p>
34
+
35
+ <h4>🎯 Example questions:</h4>
36
+ <ul>
37
+ <li>What are the key objectives of the Gender Strategy?</li>
38
+ <li>How does GIZ define "gender," and what is the conceptual foundation of the strategy?</li>
39
+ <li>How does the strategy align with the <b>2030 Agenda</b>?</li>
40
+ <li>How is the success of the strategy measured and reviewed?</li>
41
  </ul>
42
+
43
+ <h4>📌 Further resources:</h4>
44
+ <ul>
45
+ <li>📄 <a href="https://www.giz.de/de/downloads/giz-2019-de-genderstrategie.pdf" target="_blank"><b>GIZ Gender Strategy (2019, PDF)</b></a></li>
46
+ <li>🌍 <a href="https://genderstrategy.giz.de/" target="_blank"><b>GIZ Gender Website</b></a></li>
47
+ <li>📊 <a href="https://datalab.giz.de/" target="_blank"><b>GIZ Data Lab Blog</b></a></li>
48
+ </ul>
49
+
50
+ <p>Feel free to explore and gain deeper insights into GIZ’s commitment to gender equality! 🚀</p>
51
  """
52
  )
53