Skip to content

Commit

Permalink
Updated the template to get the proper response format for the Answers
Browse files Browse the repository at this point in the history
  • Loading branch information
arkamaldeen committed Sep 27, 2023
1 parent 345e31b commit e635547
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app.py
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@ def main():
)

# input text for openAiKey
openAiKey = st.text_input(label="Input the openai key")
openAiKey = st.text_input(label="Input the openai key", type="password")
if "openAiKey" in st.session_state:
st.session_state["openAiKey"] = openAiKey
else:
Expand Down Expand Up @@ -413,7 +413,7 @@ def main():

# providing the rules for the answers to be generated
additional_rules = """
Enumerate the answers and dont provide any additional tags.
provide only the answers as paragraphs by numbering it accordingly without providing questions and additional tags
"""

question = st.session_state["selected_items"]
Expand Down

0 comments on commit e635547

Please sign in to comment.