JBHF's picture
Update ToDo.md
9abc53e verified
|
raw
history blame
1.65 kB

ToDo

  • Get API keys and passwords from environment !: ...

  • Save the vectorstore in a persistent location !: HF Spaces has an ephermal, non-persistent file storage! If you save a file from within your (streamlit) application, that file is not kept when your session has ended. Solution: save that file in a persistent location such as AWS bucket, GITHUB, or on HF.

See: ...

  • Settings: wide mode as default setting

Zie: https://docs.streamlit.io/library/advanced-features/app-menu

  • File uploader:

https://docs.streamlit.io/library/api-reference/widgets/st.file_uploader

st.title(): This function allows you to add the title of the app.

st.header(): This function is used to set header of a section.

st.markdown(): This function is used to set a markdown of a section.

st.subheader(): This function is used to set sub-header of a section.

st.caption(): This function is used to write caption.

st.code(): This function is used to set a code.

st.latex(): This function is used to display mathematical expressions formatted as LaTeX.

st.title ("this is the app title") st.header("this is the header ") st.markdown("this is the markdown") st.subheader("this is the subheader") st.caption("this is the caption") st.code("x=2021") st.latex(r''' a+a r^1+a r^2+a r^3 ''')

  • Show the complete history of questions and answers: ...

  • Choose llm temperature using a slider: ...

  • Possibility to choose an alternative LLM: .,,

  • Show a set of example questions to the user VOORBEELDVRAGEN.txt

  • Tab pages in streamlit?

  • Word to PDF:

https://www.ilovepdf.com/word_to_pdf

  • ...