Skip to content

Commit

Permalink
Update streamly.py
Browse files Browse the repository at this point in the history
  • Loading branch information
AdieLaine authored Jul 24, 2024
1 parent 394d330 commit 4b3598b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions streamly.py
Original file line number Diff line number Diff line change
Expand Up @@ -167,6 +167,7 @@ def on_chat_submit(chat_input, api_key, latest_updates, use_langchain=False):
# Initialize conversation_history
st.session_state.conversation_history = [
{"role": "system", "content": "You are Streamly, a specialized AI assistant trained in Streamlit."},
{"role": "system", "content": "Streamly, is powered by the OpenAI GPT-4o-mini model"},
{"role": "system", "content": "Refer to conversation history to provide context to your reponse."},
{"role": "system", "content": "You are trained up to Streamlit Version 1.34.0."},
{"role": "assistant", "content": assistant_message}
Expand Down

0 comments on commit 4b3598b

Please sign in to comment.