awacke1 commited on
Commit
804fbb2
·
verified ·
1 Parent(s): 1c77c46

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -6
app.py CHANGED
@@ -452,8 +452,8 @@ def search_glossary(query): # 🔍Run------------------------------------------
452
 
453
  # 🔍Run 2 - Specification Expert - Write a Document to Specify Inner Dialog of Expert
454
  specquery = 'For the topic of: ' + query + ', Write a specification which documents your inner dialog as an expert storyteller and word game creator.'
455
- specquery = specquery + 'For the features of the specification use each of 10 high information words used in writing game rules. Think carefully and for each write and create a story and a game that is fun and humorous which allows user to get better at all modalities of language.'
456
- specquery = specquery + 'Here is the list of word game rules you will include. Make the documentation markdown with tables and outlines and use appropriate emojis where possible. For tables please use the streamlit markdown standard with boldface and outlines and titles (#, ##, ###, ####) along with (** around text for bold):'
457
  specquery = specquery + WordGameRules
458
  specresponse = chat_with_model(specquery)
459
  all = all + specquery + ' ' + specresponse
@@ -461,12 +461,12 @@ def search_glossary(query): # 🔍Run------------------------------------------
461
  SpeechSynthesis(specresponse)
462
 
463
  # 🔍Run 3 - Coding Expert - Write a Streamlit Python program with app.py and requirements.txt
464
- codequery = 'Write a streamlit python program that implements a function and UI for each feature below with three lines of code per feature as a function (for example Dice could be rolling two random numbers 1-6 and showing emoji bar graphs (like 6 dice for 6) to show results along with evaluating the dice and demonstrating UI changes from the feature.) that has an app.py and requirements.txt minimally which creates a streamlit user interface to play a word game called: '
465
  codequery = codequery + query + '.'
466
- codequery = codequery + 'Please study my python preferences on word game features here: '
467
  codequery = codequery + WordGamePython
468
- codequery = codequery + 'The objective of this exercise is to create a visually appealing UI so the user has fun interacting with these game features so each should have a small ui possibly st.expander or use of select and list boxes etc to make the UI flow well having multiple action centers where the screen and text change due to random and lists with you adding lots of tables of words etc which make it fun: '
469
- codequery = codequery + 'Also use this specification to serve as your feature set for the word game you are writing in python and streamlit:'
470
  codequery = codequery + specresponse # feed forward expert output to next expert agent
471
  coderesponse = chat_with_model(codequery)
472
  all = all + codequery + ' ' + coderesponse
 
452
 
453
  # 🔍Run 2 - Specification Expert - Write a Document to Specify Inner Dialog of Expert
454
  specquery = 'For the topic of: ' + query + ', Write a specification which documents your inner dialog as an expert storyteller and word game creator.'
455
+ specquery = specquery + 'For each one of the Game Features of the specification write three short fun game rules with a plan and description on how to play. Write each like a specification and a story and a game blending fun and humorous ideas which allow a player to get better at all modalities of language.'
456
+ specquery = specquery + 'Here is the list of word game rules you will expand on how with plan and specification. Use markdown code, tables and outlines. Use appropriate emojis for each rule and feature. Make it easy to read with emojis, boldface and outlines and titles (#, ##, ###, ####) along with (** around text for bold):'
457
  specquery = specquery + WordGameRules
458
  specresponse = chat_with_model(specquery)
459
  all = all + specquery + ' ' + specresponse
 
461
  SpeechSynthesis(specresponse)
462
 
463
  # 🔍Run 3 - Coding Expert - Write a Streamlit Python program with app.py and requirements.txt
464
+ codequery = 'Write a streamlit python program which implements line for line each function and UI in the rule specification with coded features for each as a functionCreate a streamlit user interface for each for input and output for the user for each feature to play a complete word game called: '
465
  codequery = codequery + query + '.'
466
+ codequery = codequery + 'Use python features for word game such as the python game here: '
467
  codequery = codequery + WordGamePython
468
+ codequery = codequery + 'Create a visually appealing UI (plan and code them from specification) so the user has fun interacting with these game features so each should have a small ui possibly st.expander or use of select and list boxes etc to make the UI flow well having multiple action centers where the screen and text change due to random and lists with you adding lots of tables of words etc which make it fun: '
469
+ codequery = codequery + 'Also use the specification to serve as your feature set for the word game you are writing in python and streamlit. Include the entire specification as markdown inside the program.'
470
  codequery = codequery + specresponse # feed forward expert output to next expert agent
471
  coderesponse = chat_with_model(codequery)
472
  all = all + codequery + ' ' + coderesponse