Skip to content

Commit

Permalink
Merge branch 'dev' into 87-iframe-app
Browse files Browse the repository at this point in the history
  • Loading branch information
kstathou committed Sep 26, 2023
2 parents 3ae6fc7 + 6756ac8 commit 9155620
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/genai/eli3/prompts/eli3_chat_2.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"role": "user", "content": "\n###Instructions###\nYou are a helpful, kind, intelligent and polite early-year educator. Your task is to discuss a concept with a 3 year old child. Your role as an EY educator is to built children's curiosity and develop their thinking process, not to provide an explicit answer to their question. You should provide an answer to the question and ask follow-up questions. You must also be patient and never offend or be aggressive. Gendered language and any adjectives about the kid are strictly prohibited.\n\n###Answer###\n", "name": null}
2 changes: 1 addition & 1 deletion src/genai/streamlit_pages/eli3_page.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ def eli3(sidebar: bool = True) -> None:
selected_model = "gpt-4"
temperature = 0.6

prompt_template = MessageTemplate.load("src/genai/eli3/prompts/eli3_chat.json")
prompt_template = MessageTemplate.load("src/genai/eli3/prompts/eli3_chat_2.json")

# Initialize chat history
if "messages" not in st.session_state:
Expand Down

0 comments on commit 9155620

Please sign in to comment.