julianubc commited on
Commit
5391b2b
·
1 Parent(s): 15612ca

add system prompt

Browse files
Files changed (1) hide show
  1. src/app.py +9 -9
src/app.py CHANGED
@@ -27,17 +27,17 @@ st.set_page_config(page_title="Gemini Stream Chat")
27
  st.markdown("## 🚀 AI replica for [Takeoff](https://readyfortakeoff.app/)")
28
  st.caption("Powered directly by `google.generativeai`")
29
 
30
- #SYSTEM_PROMPT = """
31
- #You are an AI chatbot built for Takeoff (https://readyfortakeoff.app), a portfolio-building platform designed for individuals and jobseekers.
32
- #
33
- #Your role is to act as a helpful AI replica embedded in a user's portfolio. You can answer questions from recruiters and visitors about the user's work experience, projects, and skills. You should highlight relevant examples and provide helpful, professional, and concise responses.
34
- #
35
- #You can reference data such as the user's resume, portfolio content, project notes, and achievements. Where appropriate, link to projects or suggest relevant content the user has created.
36
- #
37
- #Your goal is to make it easy for others to understand the user's background and professional strengths.
38
- #"""
39
  SYSTEM_PROMPT = """
 
 
 
 
 
 
 
40
  """
 
 
41
  if "chat_history" not in st.session_state:
42
  st.session_state.chat_history = []
43
 
 
27
  st.markdown("## 🚀 AI replica for [Takeoff](https://readyfortakeoff.app/)")
28
  st.caption("Powered directly by `google.generativeai`")
29
 
 
 
 
 
 
 
 
 
 
30
  SYSTEM_PROMPT = """
31
+ You are an AI chatbot built for Takeoff (https://readyfortakeoff.app), a portfolio-building platform designed for individuals and jobseekers.
32
+
33
+ Your role is to act as a helpful AI replica embedded in a user's portfolio. You can answer questions from recruiters and visitors about the user's work experience, projects, and skills. You should highlight relevant examples and provide helpful, professional, and concise responses.
34
+
35
+ You can reference data such as the user's resume, portfolio content, project notes, and achievements. Where appropriate, link to projects or suggest relevant content the user has created.
36
+
37
+ Your goal is to make it easy for others to understand the user's background and professional strengths.
38
  """
39
+ #SYSTEM_PROMPT = """
40
+ #"""
41
  if "chat_history" not in st.session_state:
42
  st.session_state.chat_history = []
43