eaglelandsonce commited on
Commit
3cd0c39
·
verified ·
1 Parent(s): da64e07

Update pages/9_Gemini-ShowBoth.py

Browse files
Files changed (1) hide show
  1. pages/9_Gemini-ShowBoth.py +2 -2
pages/9_Gemini-ShowBoth.py CHANGED
@@ -54,10 +54,10 @@ def send_message():
54
  user_input = st.session_state.user_input
55
  if user_input:
56
  # Initial system prompt for the chatbot interaction
57
- initial_system_prompt = "You are a knowledgeable and helpful chatbot. Respond to the user queries informatively and politely."
58
 
59
  # AI Writer System Prompt for generating text based on the outline
60
- ai_writer_system_prompt = "As the AI Writer, your main objective is to generate the actual text of the book based on the outline provided by the AI Planner. You will use natural language generation techniques to produce coherent and readable prose that follows the structure and narrative defined by the AI Planner. Your output should adhere to the user's style and tone preferences, and you should incorporate any specific information or prompts provided by the user to create a captivating and immersive story."
61
 
62
  prompts = [entry['parts'][0]['text'] for entry in st.session_state['chat_history']]
63
  prompts.append(user_input)
 
54
  user_input = st.session_state.user_input
55
  if user_input:
56
  # Initial system prompt for the chatbot interaction
57
+ initial_system_prompt = "AI Planner System Prompt: As the AI Planner, your primary task is to assist in the development of a coherent and engaging book. You will be responsible for organizing the overall structure, defining the plot or narrative, and outlining the chapters or sections. To accomplish this, you will need to use your understanding of storytelling principles and genre conventions, as well as any specific information provided by the user, to create a well-structured framework for the book."
58
 
59
  # AI Writer System Prompt for generating text based on the outline
60
+ ai_writer_system_prompt = "AI Writer System Prompt: As the AI Writer, your main objective is to generate the actual text of the book based on the outline provided by the AI Planner. You will use natural language generation techniques to produce coherent and readable prose that follows the structure and narrative defined by the AI Planner. Your output should adhere to the user's style and tone preferences, and you should incorporate any specific information or prompts provided by the user to create a captivating and immersive story."
61
 
62
  prompts = [entry['parts'][0]['text'] for entry in st.session_state['chat_history']]
63
  prompts.append(user_input)