Spaces:
Running
Running
import streamlit as st | |
# Config | |
st.set_page_config(layout="wide", page_icon="π¬", page_title="Robby | Chat-Bot π€") | |
# Contact | |
with st.sidebar.expander("π¬ Contact"): | |
st.write( | |
"**GitHub:**", | |
"[yvann-hub/Robby-chatbot](https://github.com/yvann-hub/Robby-chatbot)", | |
) | |
st.write("**Medium:** " "[@yvann-hub](https://medium.com/@yvann-hub)") | |
st.write("**Twitter:** [@yvann_hub](https://twitter.com/yvann_hub)") | |
st.write("**Mail** : [email protected]") | |
st.write("**Created by Yvann**") | |
# Title | |
st.markdown( | |
""" | |
<h2 style='text-align: center;'>Robby, your data-aware assistant π€</h1> | |
""", | |
unsafe_allow_html=True, | |
) | |
st.markdown("---") | |
# Description | |
st.markdown( | |
""" | |
<h5 style='text-align:center;'>I'm Robby, an intelligent chatbot created by combining | |
the strengths of Langchain and Streamlit. I use large language models to provide | |
context-sensitive interactions. My goal is to help you better understand your data. | |
I support PDF, TXT, CSV, Youtube transcript π§ </h5> | |
""", | |
unsafe_allow_html=True, | |
) | |
st.markdown("---") | |
# Robby's Pages | |
st.subheader("π Robby's Pages") | |
st.write( | |
""" | |
- **Robby-Chat**: General Chat on data (PDF, TXT,CSV) with a [vectorstore](https://github.com/facebookresearch/faiss) (index useful parts(max 4) for respond to the user) | works with [ConversationalRetrievalChain](https://python.langchain.com/en/latest/modules/chains/index_examples/chat_vector_db.html) | |
- **Robby-Sheet** (beta): Chat on tabular data (CSV) | for precise information | process the whole file | works with [CSV_Agent](https://python.langchain.com/en/latest/modules/agents/toolkits/examples/csv.html) + [PandasAI](https://github.com/gventuri/pandas-ai) for data manipulation and graph creation | |
""" | |
) | |
st.markdown("---") | |
# Contributing | |
st.markdown("### π― Contributing") | |
st.markdown( | |
""" | |
**Robby is under regular development. Feel free to contribute and help me make it even more data-aware!** | |
""", | |
unsafe_allow_html=True, | |
) | |