| [Prompt] | |
| Generate a webapp for playing a metaphor battle with an LLM (Gemini 1.5 Flash) through poetry review. | |
| A human user writes a critical summary of a poem and the model also comments on it. | |
| Finally, the model assesses which analysis is more attractive. | |
| Below are specific guidelines for the page on the webapp: | |
| (1) The tile of the page: “Enhance Your Metaphoric Imagination through | |
| Poetry Review Battle” | |
| (2) Craft four input text boxes: Be careful with the order of the workflow: | |
| “Input a Poem”--> (Submit) | |
| “Human Review” -->(Submit) | |
| “AI Review“-->(The model auto-generates) | |
| ”AI Judgment.“ (The model auto-generates) | |
| (3) Add each ”Submit“ button directly below the ”Input a Poem“ and ”Human | |
| Review“ buttons. | |
| (4) Make two additional buttons at the center bottom of the page: Right | |
| below the last text box “AI Judgment,” create the “New Start” button on | |
| the left and the “Reset Scores” button on the right. (Clicking the “Reset | |
| Scores” button results in all inputs being cleared.) | |
| (5) Generate scoring records: “Human Wins,” “AI Wins,” and “Ties” | |
| (6) Guidelines for AI’s review: | |
| (a) The model’s criticism is composed of four sentences where two out of | |
| them should be non-metaphorical, prosaic explanations and the rest | |
| should include metaphorical expressions. | |
| (b) Metaphorical words should be written in uppercase. | |
| (c) The maximum number of words for each sentence is 20. | |
| (d) While writing a poetry analysis, the model should not know about the human competitor’s writing | |
| to preserve impartiality. | |
| (7) Writing Principles for the model’s judgment: | |
| (a) The model ought to evaluate which comment is more persuasive based | |
| on how well it conveys appropriate analysis and creative metaphor. | |
| (b) The model’s assessment should be written in three concise sentences | |
| to explain why it makes such a decision. | |
| (8) Temperature Setting: Set temperature to 0.7 for the model’s review and | |
| to 0.3 for its judgment. | |
| (9) Color Specifications: | |
| Background of the page: Light Green | |
| Title: Blue | |
| Four input text boxes: | |
| “Human Review”-> Light Yellow; “AI Review”->Light Gray; “AI Judgment-> | |
| Light Pink->“New Start”->Purple | |
| “New Round”: Red | |
| Scoring: “Human Wins”->Violet, “AI Wins”->Mustard, “Ties”->Ivory | |
| ---Notes | |
| How to obtain an API key for Gemini 1.5 Flash | |
| Visit the Google AI Studio. |