Skip to content

Commit d6e5a39

Browse files
committed
instructions to use
1 parent 4cb5760 commit d6e5a39

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

bot.py

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff 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",

0 commit comments

Comments
 (0)