File tree Expand file tree Collapse file tree 1 file changed +16
-0
lines changed Expand file tree Collapse file tree 1 file changed +16
-0
lines changed Original file line number Diff line number Diff line change @@ -45,6 +45,22 @@ def main():
4545 )
4646
4747 with st .sidebar :
48+ with st .expander ("How to use?" ):
49+ st .write ("""
50+ - Enter your openAI api key in the given field.
51+ - Create a free pinecone account to enter the api and environment keys.
52+
53+ **To upload your pdfs in the database:**
54+ - Drag n drop your file in the given section or browse and select your files.
55+ - Once the files are selected press the button `Upload to DB`.
56+
57+ **To chat with your document:**
58+ - Make sure you have entered your keys and there is data ingested in your pinecone database.
59+ - Ask the question and press `Submit` to get the output.
60+ - To clear chat history, press the `Reset` button.
61+
62+ Raise an issue in the [repo](https://github.com/ibizabroker/gpt-pdf-bot) if you have any questions.
63+ """ )
4864 openai_api_key = st .text_input (
4965 label = "OpenAI API Key" ,
5066 type = "password" ,
You can’t perform that action at this time.
0 commit comments