Update app.py
Browse files
app.py
CHANGED
|
@@ -29,24 +29,13 @@ pdf_file_path = "Private_Book/Glossar_HELP_DESK_combi.pdf" # Replace with your
|
|
| 29 |
|
| 30 |
|
| 31 |
# Sidebar contents
|
|
|
|
| 32 |
with st.sidebar:
|
| 33 |
-
st.title('
|
| 34 |
-
st.markdown(
|
| 35 |
-
|
| 36 |
-
)
|
| 37 |
-
|
| 38 |
-
st.markdown("**BinDocs Chat App**.")
|
| 39 |
-
|
| 40 |
-
|
| 41 |
-
st.markdown("Harnessing the power of a Large Language Model and AI technology,")
|
| 42 |
-
|
| 43 |
-
|
| 44 |
-
|
| 45 |
-
st.markdown("this innovative platform redefines PDF engagement,")
|
| 46 |
-
|
| 47 |
-
st.markdown("enabling dynamic conversations that bridge the gap between")
|
| 48 |
-
st.markdown("human and machine intelligence.")
|
| 49 |
-
|
| 50 |
|
| 51 |
|
| 52 |
add_vertical_space(3) # Add more vertical space between text blocks
|
|
@@ -87,19 +76,16 @@ def load_chatbot():
|
|
| 87 |
return load_qa_chain(llm=OpenAI(), chain_type="stuff")
|
| 88 |
|
| 89 |
def main():
|
| 90 |
-
|
|
|
|
| 91 |
st.markdown(
|
| 92 |
-
"""
|
|
|
|
|
|
|
| 93 |
|
| 94 |
-
Hello! I’m your friendly assistant, designed to help you navigate through our platform with ease. Here's a snapshot of what I can assist you with:
|
| 95 |
-
📘 **Glossary Inquiries:**
|
| 96 |
-
Having trouble understanding specific terms? Ask me! For instance, if you are unsure about what "DiGA" means, just type in “What is DiGA?” and I will provide you with a detailed explanation based on our glossary.
|
| 97 |
-
|
| 98 |
-
🆘 **Help Page Navigation:**
|
| 99 |
-
I can guide you through our help page and answer your queries regarding any problems or inquiries you might have, such as “Forgot your Password?” or other platform-related concerns.
|
| 100 |
-
|
| 101 |
#### How to Interact:
|
| 102 |
-
|
|
|
|
| 103 |
)
|
| 104 |
|
| 105 |
# Directly specifying the path to the PDF file
|
|
|
|
| 29 |
|
| 30 |
|
| 31 |
# Sidebar contents
|
| 32 |
+
# Sidebar content
|
| 33 |
with st.sidebar:
|
| 34 |
+
st.title('BinDoc GmbH')
|
| 35 |
+
st.markdown("Experience revolutionary interaction with BinDocs Chat App, leveraging state-of-the-art AI technology.")
|
| 36 |
+
add_vertical_space(3)
|
| 37 |
+
st.write('Made with ❤️ by BinDoc GmbH')
|
| 38 |
+
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 39 |
|
| 40 |
|
| 41 |
add_vertical_space(3) # Add more vertical space between text blocks
|
|
|
|
| 76 |
return load_qa_chain(llm=OpenAI(), chain_type="stuff")
|
| 77 |
|
| 78 |
def main():
|
| 79 |
+
# Main content
|
| 80 |
+
st.title("Welcome to BinDocs ChatBot! 🤖")
|
| 81 |
st.markdown(
|
| 82 |
+
"""Hello! I’m here to assist you with:
|
| 83 |
+
📘 **Glossary Inquiries:** I can clarify terms like "DiGA" for you.
|
| 84 |
+
🆘 **Help Page Navigation:** Ask me if you forgot your password or have other concerns related to the platform.
|
| 85 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 86 |
#### How to Interact:
|
| 87 |
+
Type your question or concern below and let me assist you!
|
| 88 |
+
Examples are available at the bottom, feel free to try them out."""
|
| 89 |
)
|
| 90 |
|
| 91 |
# Directly specifying the path to the PDF file
|