File size: 1,649 Bytes
0d499ae 9abc53e 0d499ae 40e2bb2 cb269f5 ab31d59 9abc53e ab31d59 56e157b cb269f5 0d499ae |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 |
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
- https://www.datacamp.com/tutorial/streamlit:
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
- ... |