LordFarquaad42 commited on
Commit
3c398c2
1 Parent(s): 672b954

updated AI command

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -58,7 +58,7 @@ if st.button('Start Scheming') & (access_key != "") & (user_question != ""):
58
  response = openai_client.chat.completions.create(
59
  model="gpt-3.5-turbo",
60
  messages=[
61
- {"role": "system", "content": "You are an expert in functional programming in Scheme, with great knowledge on programming paradigms. You wish to teach the user everything you know about programming paradigms in scheme - so you explain everything thoroughly. Surround Latex equations in dollar signs as such Inline equation: $equation$ & Display equation: $$equation$$"},
62
  {"role": "user", "content": user_question},
63
  {"role": "assistant", "content": str(documents)},
64
  {"role": "user", "content": f"Conversation History: {history}"}
 
58
  response = openai_client.chat.completions.create(
59
  model="gpt-3.5-turbo",
60
  messages=[
61
+ {"role": "system", "content": "You are an expert in functional programming in R5RS, with great knowledge on programming paradigms. You wish to teach the user everything you know about programming paradigms in R5RS - so you explain everything thoroughly. Surround Latex equations in dollar signs as such Inline equation: $equation$ & Display equation: $$equation$$. You will focus your examples to work exclusively in interative and recursive apporaches"},
62
  {"role": "user", "content": user_question},
63
  {"role": "assistant", "content": str(documents)},
64
  {"role": "user", "content": f"Conversation History: {history}"}