Spaces:
Running
on
Zero
Running
on
Zero
kwabs22
commited on
Commit
·
fbacc67
1
Parent(s):
be66298
Adjective Comparison Workflow?
Browse files- app.py +5 -0
- relatively_constant_variables.py +121 -0
app.py
CHANGED
@@ -781,8 +781,13 @@ def LinPEWFformat_prompt(current_prompt, prev_messages):
|
|
781 |
|
782 |
with gr.Blocks() as demo:
|
783 |
with gr.Accordion("Config and Asset Assistance - Click to open", open=False):
|
|
|
784 |
with gr.Accordion("Main problem to solve - Concept combination / integration"):
|
785 |
gr.Textbox(Adjectivebasedcombinationideatexts, lines=10)
|
|
|
|
|
|
|
|
|
786 |
with gr.Accordion("Guidance / Themes to consider before you attempt config (Currently Qwen 0.5B)", open=False):
|
787 |
gr.HTML("Copy paste any old config to llm and ask to remix is the easiest <br>To bake 'Moral of the story' in you have to be very deliberate")
|
788 |
gr.HTML("UI can be media and all items can have media")
|
|
|
781 |
|
782 |
with gr.Blocks() as demo:
|
783 |
with gr.Accordion("Config and Asset Assistance - Click to open", open=False):
|
784 |
+
gr.HTML("Jonas Tyroller - This problem changes your perspective on game dev - minimise the cost of exploration so you can explore more (17:00) | dont make the same game again but worse (:) <br>https://youtu.be/o5K0uqhxgsE")
|
785 |
with gr.Accordion("Main problem to solve - Concept combination / integration"):
|
786 |
gr.Textbox(Adjectivebasedcombinationideatexts, lines=10)
|
787 |
+
gr.Textbox(Adjectivebasedcombinationideatextsv2, lines=10)
|
788 |
+
with gr.Accordion("Mermaid Structures - click to open", open=False):
|
789 |
+
for key, item in examplemermaidconceptblendingstrutures.items():
|
790 |
+
gr.Code(item, label=key)
|
791 |
with gr.Accordion("Guidance / Themes to consider before you attempt config (Currently Qwen 0.5B)", open=False):
|
792 |
gr.HTML("Copy paste any old config to llm and ask to remix is the easiest <br>To bake 'Moral of the story' in you have to be very deliberate")
|
793 |
gr.HTML("UI can be media and all items can have media")
|
relatively_constant_variables.py
CHANGED
@@ -1267,6 +1267,72 @@ mermaidstorystructures = {
|
|
1267 |
""",
|
1268 |
}
|
1269 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1270 |
#-------------------------#-------------------------#-------------------------#-------------------------
|
1271 |
|
1272 |
ExampleGameConfigs = {
|
@@ -1454,6 +1520,61 @@ What specific aspects of each concept are you most interested in comparing? Are
|
|
1454 |
By clarifying your goals and focusing your analysis, you can more effectively leverage these different approaches and find the most relevant resources to guide your exploration."""
|
1455 |
|
1456 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1457 |
#-------------------------#-------------------------#-------------------------#-------------------------
|
1458 |
|
1459 |
|
|
|
1267 |
""",
|
1268 |
}
|
1269 |
|
1270 |
+
examplemermaidconceptblendingstrutures = {
|
1271 |
+
"Star Wars Bakery Example":
|
1272 |
+
"""flowchart TD
|
1273 |
+
|
1274 |
+
A[Bakery]
|
1275 |
+
B[Star Wars]
|
1276 |
+
C[Adjectives]
|
1277 |
+
D[Combinatorics]
|
1278 |
+
E[Seed Ideas]
|
1279 |
+
F[LLM Processing]
|
1280 |
+
|
1281 |
+
A -- has attributes --> C
|
1282 |
+
B -- has attributes --> C
|
1283 |
+
C -- generates --> D
|
1284 |
+
D -- creates --> E
|
1285 |
+
E -- inputs to --> F
|
1286 |
+
|
1287 |
+
subgraph Bakery Attributes
|
1288 |
+
direction TB
|
1289 |
+
A1[Sweet]
|
1290 |
+
A2[Warm]
|
1291 |
+
A3[Comforting]
|
1292 |
+
A4[Artisanal]
|
1293 |
+
A -- includes --> A1
|
1294 |
+
A -- includes --> A2
|
1295 |
+
A -- includes --> A3
|
1296 |
+
A -- includes --> A4
|
1297 |
+
end
|
1298 |
+
|
1299 |
+
subgraph Star Wars Attributes
|
1300 |
+
direction TB
|
1301 |
+
B1[Galactic]
|
1302 |
+
B2[Epic]
|
1303 |
+
B3[Heroic]
|
1304 |
+
B4[Dramatic]
|
1305 |
+
B -- includes --> B1
|
1306 |
+
B -- includes --> B2
|
1307 |
+
B -- includes --> B3
|
1308 |
+
B -- includes --> B4
|
1309 |
+
end
|
1310 |
+
|
1311 |
+
subgraph Combinatorics
|
1312 |
+
direction TB
|
1313 |
+
C1[Sweet Galactic]
|
1314 |
+
C2[Warm Epic]
|
1315 |
+
C3[Comforting Heroic]
|
1316 |
+
C4[Artisanal Dramatic]
|
1317 |
+
D -- generates --> C1
|
1318 |
+
D -- generates --> C2
|
1319 |
+
D -- generates --> C3
|
1320 |
+
D -- generates --> C4
|
1321 |
+
end
|
1322 |
+
|
1323 |
+
subgraph Seed Ideas
|
1324 |
+
direction TB
|
1325 |
+
E1[Galactic Pastries]
|
1326 |
+
E2[Epic Bread Battles]
|
1327 |
+
E3[Heroic Baker's Quest]
|
1328 |
+
E4[Dramatic Cake Decor]
|
1329 |
+
E -- includes --> E1
|
1330 |
+
E -- includes --> E2
|
1331 |
+
E -- includes --> E3
|
1332 |
+
E -- includes --> E4
|
1333 |
+
end"""
|
1334 |
+
}
|
1335 |
+
|
1336 |
#-------------------------#-------------------------#-------------------------#-------------------------
|
1337 |
|
1338 |
ExampleGameConfigs = {
|
|
|
1520 |
By clarifying your goals and focusing your analysis, you can more effectively leverage these different approaches and find the most relevant resources to guide your exploration."""
|
1521 |
|
1522 |
|
1523 |
+
Adjectivebasedcombinationideatextsv2 = """Nemotron 340B Perplexity Labs
|
1524 |
+
|
1525 |
+
Original Prompt
|
1526 |
+
Please help me. If I want to merge the idea of a bakery with the plot of star wars I need to find points where they match and dont match. I decided to use adjectives as a proxy so the combinatorics is initiated by close adjectives to generate seeds for combination ideas that we can send to an llm for each seed. How would this look in mermaid
|
1527 |
+
|
1528 |
+
|
1529 |
+
|
1530 |
+
Mermaid Struxture
|
1531 |
+
|
1532 |
+
|
1533 |
+
The workflow or process you've described can be generally categorized as a "concept blending" or "idea fusion" approach, which involves combining elements from two or more distinct concepts to generate new ideas. In your specific case, you're using adjectives as a proxy to facilitate the blending of a bakery concept with the plot of Star Wars. This process can also be considered a form of "creative problem-solving" or "design thinking," where you're systematically exploring and combining elements to generate innovative solutions or ideas.
|
1534 |
+
More specifically, the steps in your workflow can be broken down into the following stages:
|
1535 |
+
Concept Identification: Identifying the two distinct concepts (bakery and Star Wars) to be blended.
|
1536 |
+
Attribute Extraction: Extracting relevant attributes (adjectives) from each concept.
|
1537 |
+
Combinatorics: Systematically combining the attributes from both concepts to generate new combinations.
|
1538 |
+
Seed Idea Generation: Translating the combined attributes into seed ideas that merge the two concepts.
|
1539 |
+
LLM Processing: Utilizing a Large Language Model (LLM) to further develop and refine the seed ideas into more detailed and cohesive concepts.
|
1540 |
+
This workflow can be applied to various creative problem-solving scenarios, not just limited to the bakery and Star Wars example
|
1541 |
+
|
1542 |
+
|
1543 |
+
|
1544 |
+
Indeed, design can be viewed as a search algorithm, where you explore a vast space of possibilities to find optimal or innovative solutions. Here's how you can apply this idea to five more scenarios:
|
1545 |
+
Merging a Library with a Music Festival
|
1546 |
+
Concept Identification: Library and Music Festival
|
1547 |
+
Attribute Extraction: Quiet, Knowledgeable, Organized (Library) vs. Loud, Energetic, Creative (Music Festival)
|
1548 |
+
Combinatorics: Quiet Creative Spaces, Knowledgeable Music Workshops, Organized Jam Sessions
|
1549 |
+
Seed Idea Generation: Silent Disco Library, Music Theory Workshops, Collaborative Songwriting Sessions
|
1550 |
+
LLM Processing: Develop detailed event plans, marketing materials, and logistical considerations
|
1551 |
+
Blending a Fitness Center with a Video Game Arcade
|
1552 |
+
Concept Identification: Fitness Center and Video Game Arcade
|
1553 |
+
Attribute Extraction: Active, Healthy, Competitive (Fitness Center) vs. Interactive, Fun, Social (Video Game Arcade)
|
1554 |
+
Combinatorics: Active Interactive Games, Healthy Fun Challenges, Competitive Social Workouts
|
1555 |
+
Seed Idea Generation: Exergaming Stations, Virtual Reality Fitness Challenges, Multiplayer Workout Games
|
1556 |
+
LLM Processing: Create game concepts, rules, and scoring systems, as well as marketing and branding strategies
|
1557 |
+
Fusing a Vegan Restaurant with a Science Museum
|
1558 |
+
Concept Identification: Vegan Restaurant and Science Museum
|
1559 |
+
Attribute Extraction: Plant-Based, Sustainable, Healthy (Vegan Restaurant) vs. Educational, Interactive, Innovative (Science Museum)
|
1560 |
+
Combinatorics: Plant-Based Interactive Exhibits, Sustainable Educational Dining, Healthy Innovative Cuisine
|
1561 |
+
Seed Idea Generation: Edible Plant Exhibits, Cooking Classes with a Scientific Twist, Molecular Gastronomy Menu
|
1562 |
+
LLM Processing: Develop exhibit designs, class curricula, and menu items, as well as marketing and branding strategies
|
1563 |
+
Combining a Co-working Space with a Pet Store
|
1564 |
+
Concept Identification: Co-working Space and Pet Store
|
1565 |
+
Attribute Extraction: Collaborative, Productive, Professional (Co-working Space) vs. Friendly, Playful, Nurturing (Pet Store)
|
1566 |
+
Combinatorics: Collaborative Pet-Friendly Spaces, Productive Play Areas, Professional Pet Care Services
|
1567 |
+
Seed Idea Generation: Pet-Friendly Co-working Desks, On-site Pet Daycare, Pet-themed Networking Events
|
1568 |
+
LLM Processing: Create space layouts, pet care service offerings, and event plans, as well as marketing and branding strategies
|
1569 |
+
Integrating a Fashion Boutique with an Art Gallery
|
1570 |
+
Concept Identification: Fashion Boutique and Art Gallery
|
1571 |
+
Attribute Extraction: Stylish, Trendy, Creative (Fashion Boutique) vs. Artistic, Thought-provoking, Inspirational (Art Gallery)
|
1572 |
+
Combinatorics: Stylish Artistic Installations, Trendy Thought-provoking Fashion, Creative Inspirational Clothing
|
1573 |
+
Seed Idea Generation: Art-inspired Fashion Collections, Interactive Fashion Exhibits, Artist-designed Clothing Lines
|
1574 |
+
LLM Processing: Develop fashion collection concepts, exhibit designs, and artist collaborations, as well as marketing and branding strategies
|
1575 |
+
|
1576 |
+
"""
|
1577 |
+
|
1578 |
#-------------------------#-------------------------#-------------------------#-------------------------
|
1579 |
|
1580 |
|