Spaces:
Running
on
Zero
Running
on
Zero
kwabs22
commited on
Commit
•
4a5b186
1
Parent(s):
8bbd85e
More rearrangement
Browse files- app.py +41 -13
- relatively_constant_variables.py +24 -189
app.py
CHANGED
@@ -13,6 +13,7 @@ import time
|
|
13 |
import psutil
|
14 |
from sentence_transformers import SentenceTransformer
|
15 |
import textwrap
|
|
|
16 |
|
17 |
#Imported Long Variables - comment for each move to search
|
18 |
from relatively_constant_variables import *
|
@@ -779,13 +780,24 @@ def LinPEWFformat_prompt(current_prompt, prev_messages):
|
|
779 |
|
780 |
#-----------------------------------------------------------------------------------------------------------------------------------
|
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("Leaveraging LLMs"):
|
786 |
-
with gr.Tab("Hugging Chat"):
|
787 |
-
gr.HTML("https://huggingface.co/chat<br>Huggingface chat supports - State Management (Threads), Image Generation and editing, Websearch, Document parsing (PDF?), Assistants and larger models than zero gpu can support in July 2024 (Unquantised 30B and above)")
|
788 |
-
gr.HTML("Existing Assistants to use and planning custom assistants placeholder")
|
789 |
with gr.Tab("ZeroGPU"):
|
790 |
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")
|
791 |
gr.HTML("UI can be media and all items can have media")
|
@@ -845,23 +857,38 @@ with gr.Blocks() as demo:
|
|
845 |
with gr.Tab("Function Call as FAQ"):
|
846 |
gr.HTML("Placeholder for media task query routing as dual purpose in workflow and for user queries as psuedo RAG engine")
|
847 |
gr.HTML("https://llama.meta.com/docs/model-cards-and-prompt-formats/llama3_1/#built-in-tooling - The three built-in tools (brave_search, wolfram_alpha, and code interpreter) can be turned on using the system prompt")
|
|
|
|
|
|
|
848 |
with gr.Tab("Embedded Spaces and gradio client"):
|
849 |
gr.HTML("In Asset Generation Tab under Text")
|
|
|
|
|
850 |
with gr.Tab("Preview APIs"):
|
851 |
gr.HTML("July 2024 - Gemini, Cohere and Groq rate limit free APIs")
|
852 |
-
gr.Markdown("# Current Workflow = Mermaid Diagram to Story to JSON (through LLM and fix JSON by hand) to Media prompts to Asset
|
853 |
-
with gr.Tab("
|
854 |
-
gr.
|
855 |
-
|
856 |
-
|
857 |
-
gr.HTML("A timeline is the most important part of the story - once that is set you can do anything?")
|
858 |
with gr.Row():
|
859 |
gr.Textbox(TimeRelatedMermaidStoryAttempttoRefinefrom[0], lines=30)
|
860 |
gr.Textbox(TimeRelatedMermaidStoryAttempttoRefinefrom[1], lines=30)
|
861 |
gr.Textbox(TimeRelatedMermaidStoryAttempttoRefinefrom[2], lines=30)
|
862 |
gr.Textbox(TimeRelatedMermaidStoryAttempttoRefinefrom[3], lines=30)
|
863 |
gr.Textbox(TimeRelatedMermaidStoryAttempttoRefinefrom[4], lines=30)
|
864 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
865 |
with gr.Tab("Concept Bashing? Ideas"):
|
866 |
with gr.Row():
|
867 |
gr.Textbox(TimeRelatedConceptsForIdeaGeneration, lines=30)
|
@@ -1021,7 +1048,7 @@ Creating more diverse paths through the game""")
|
|
1021 |
</div>
|
1022 |
</div>""")
|
1023 |
with gr.Tab("Themes and Topics"):
|
1024 |
-
gr.HTML("https://en.wikipedia.org/wiki/History#Periods https://en.wikipedia.org/wiki/Philosophy")
|
1025 |
with gr.Tab("Old Ideas to merge"):
|
1026 |
gr.HTML("Random Scenario / Song to 'full game' manual or auto is end goal ")
|
1027 |
gr.HTML("Componets (outside Code Support for Config): Decisions (and context explanation), Nested Sections, Media (Especially to affect decisions), Replayability (GTA and Tekken type mechanics in text form), Theme integration (Modified Varibles that affect UI or config order)")
|
@@ -1236,8 +1263,8 @@ Creating more diverse paths through the game""")
|
|
1236 |
with gr.Accordion("LLM HF Spaces/Sites (Click Here to Open) - Ask for a story and suggestions based on the autoconfig", open=False):
|
1237 |
with gr.Row():
|
1238 |
linktochat = gr.Dropdown(choices=["--Function Calling--", "https://groq-demo-groq-tool-use.hf.space",
|
1239 |
-
"--Multiple Models--", "https://labs.perplexity.ai/", "https://chat.lmsys.org", "https://sdk.vercel.ai/docs", "https://cyzgab-catch-me-if-you-can.hf.space",
|
1240 |
-
"--70B and above--", "https://qwen-qwen-max-0428.hf.space", "https://cohereforai-c4ai-command-r-plus.hf.space", "https://qwen-qwen1-5-110b-chat-demo.hf.space", "https://snowflake-snowflake-arctic-st-demo.hf.space", "https://databricks-dbrx-instruct.hf.space", "https://qwen-qwen1-5-72b-chat.hf.space",
|
1241 |
"--20B and above--", "https://gokaygokay-gemma-2-llamacpp.hf.space", "https://01-ai-yi-34b-chat.hf.space", "https://cohereforai-c4ai-command-r-v01.hf.space", "https://ehristoforu-mixtral-46-7b-chat.hf.space", "https://mosaicml-mpt-30b-chat.hf.space",
|
1242 |
"--7B and above--", "https://vilarin-mistral-nemo.hf.space", "https://vilarin-llama-3-1-8b-instruct.hf.space", "https://ysharma-chat-with-meta-llama3-8b.hf.space", "https://qwen-qwen1-5-moe-a2-7b-chat-demo.hf.space", "https://deepseek-ai-deepseek-coder-7b-instruct.hf.space", "https://osanseviero-mistral-super-fast.hf.space", "https://artificialguybr-qwen-14b-chat-demo.hf.space", "https://huggingface-projects-llama-2-7b-chat.hf.space",
|
1243 |
"--1B and above--", "https://huggingface.co/spaces/eswardivi/Phi-3-mini-128k-instruct", "https://eswardivi-phi-3-mini-4k-instruct.hf.space", "https://stabilityai-stablelm-2-1-6b-zephyr.hf.space",
|
@@ -1374,6 +1401,7 @@ Creating more diverse paths through the game""")
|
|
1374 |
gr.HTML("Placeholder for models small enough to run on cpu here in this space that can assist")
|
1375 |
|
1376 |
with gr.Tab("3rd Party - Asset Generation"):
|
|
|
1377 |
gr.HTML("Audio - https://www.udio.com/home")
|
1378 |
gr.HTML("Video - https://klingai.com/")
|
1379 |
|
|
|
13 |
import psutil
|
14 |
from sentence_transformers import SentenceTransformer
|
15 |
import textwrap
|
16 |
+
from gradio_client import Client
|
17 |
|
18 |
#Imported Long Variables - comment for each move to search
|
19 |
from relatively_constant_variables import *
|
|
|
780 |
|
781 |
#-----------------------------------------------------------------------------------------------------------------------------------
|
782 |
|
783 |
+
def TestGradioClientQwen270b(text):
|
784 |
+
client = Client("Qwen/Qwen2-72B-Instruct")
|
785 |
+
result = client.predict(
|
786 |
+
query=text, #"Hello!!",
|
787 |
+
history=[],
|
788 |
+
system="You are a helpful assistant.",
|
789 |
+
api_name="/model_chat"
|
790 |
+
)
|
791 |
+
#print(result[1][0]) #All messages in the conversation
|
792 |
+
#print(result[2]) # System prompt
|
793 |
+
return result[1][0][1] # If supporting conversations this needs to return the last message instead
|
794 |
+
|
795 |
+
#-----------------------------------------------------------------------------------------------------------------------------------
|
796 |
+
|
797 |
with gr.Blocks() as demo:
|
798 |
with gr.Accordion("Config and Asset Assistance - Click to open", open=False):
|
799 |
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")
|
800 |
with gr.Accordion("Leaveraging LLMs"):
|
|
|
|
|
|
|
801 |
with gr.Tab("ZeroGPU"):
|
802 |
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")
|
803 |
gr.HTML("UI can be media and all items can have media")
|
|
|
857 |
with gr.Tab("Function Call as FAQ"):
|
858 |
gr.HTML("Placeholder for media task query routing as dual purpose in workflow and for user queries as psuedo RAG engine")
|
859 |
gr.HTML("https://llama.meta.com/docs/model-cards-and-prompt-formats/llama3_1/#built-in-tooling - The three built-in tools (brave_search, wolfram_alpha, and code interpreter) can be turned on using the system prompt")
|
860 |
+
with gr.Tab("Hugging Chat"):
|
861 |
+
gr.HTML("https://huggingface.co/chat<br>Huggingface chat supports - State Management (Threads), Image Generation and editing, Websearch, Document parsing (PDF?), Assistants and larger models than zero gpu can support in July 2024 (Unquantised 30B and above)")
|
862 |
+
gr.HTML("Existing Assistants to use and planning custom assistants placeholder")
|
863 |
with gr.Tab("Embedded Spaces and gradio client"):
|
864 |
gr.HTML("In Asset Generation Tab under Text")
|
865 |
+
with gr.Tab("Gradio Client"):
|
866 |
+
gr.Interface(fn=TestGradioClientQwen270b, inputs="text", outputs="markdown", description="Single response test of gradio client - Qwen/Qwen2-72B-Instruct, Use for testing like using a space and duplicate for heavy testing")
|
867 |
with gr.Tab("Preview APIs"):
|
868 |
gr.HTML("July 2024 - Gemini, Cohere and Groq rate limit free APIs")
|
869 |
+
gr.Markdown("# Current Workflow = Mermaid Diagram to (1) Story to (2) JSON (through LLM and fix JSON by hand) to (3) Media prompts to (4) Asset Generation")
|
870 |
+
with gr.Tab("Workflow Stages Examples"):
|
871 |
+
with gr.Tab("Mermaid Diagram to (1) Story"):
|
872 |
+
gr.HTML("Below 70B seem to struggle here")
|
873 |
+
gr.Code(WFStage1prompt , label="Prompt Used")
|
|
|
874 |
with gr.Row():
|
875 |
gr.Textbox(TimeRelatedMermaidStoryAttempttoRefinefrom[0], lines=30)
|
876 |
gr.Textbox(TimeRelatedMermaidStoryAttempttoRefinefrom[1], lines=30)
|
877 |
gr.Textbox(TimeRelatedMermaidStoryAttempttoRefinefrom[2], lines=30)
|
878 |
gr.Textbox(TimeRelatedMermaidStoryAttempttoRefinefrom[3], lines=30)
|
879 |
gr.Textbox(TimeRelatedMermaidStoryAttempttoRefinefrom[4], lines=30)
|
880 |
+
with gr.Tab("Story to (2) JSON (through LLM and fix JSON by hand)"):
|
881 |
+
gr.HTML()
|
882 |
+
gr.Code(WFStage2prompt , label="Prompt Used")
|
883 |
+
with gr.Tab("JSON (through LLM and fix JSON by hand) to (3) Media prompts"):
|
884 |
+
gr.HTML()
|
885 |
+
with gr.Tab("Media prompts to (4) Asset Generation"):
|
886 |
+
gr.HTML()
|
887 |
+
with gr.Tab("Main problem to solve - Concept combination / integration and non-linear progression planning"):
|
888 |
+
gr.HTML("The story and the gameplay dont have to occur at the same time - eg. ")
|
889 |
+
gr.Markdown("## Prompts / Mermaid diagrams to be made from the ideas for workflow")
|
890 |
+
with gr.Tab("Using Time as a proxy for all conepts?"):
|
891 |
+
gr.HTML("A timeline is the most important part of the story - once that is set you can do anything?")
|
892 |
with gr.Tab("Concept Bashing? Ideas"):
|
893 |
with gr.Row():
|
894 |
gr.Textbox(TimeRelatedConceptsForIdeaGeneration, lines=30)
|
|
|
1048 |
</div>
|
1049 |
</div>""")
|
1050 |
with gr.Tab("Themes and Topics"):
|
1051 |
+
gr.HTML("https://en.wikipedia.org/wiki/History#Periods https://en.wikipedia.org/wiki/Philosophy https://en.wikipedia.org/wiki/Moral_injury")
|
1052 |
with gr.Tab("Old Ideas to merge"):
|
1053 |
gr.HTML("Random Scenario / Song to 'full game' manual or auto is end goal ")
|
1054 |
gr.HTML("Componets (outside Code Support for Config): Decisions (and context explanation), Nested Sections, Media (Especially to affect decisions), Replayability (GTA and Tekken type mechanics in text form), Theme integration (Modified Varibles that affect UI or config order)")
|
|
|
1263 |
with gr.Accordion("LLM HF Spaces/Sites (Click Here to Open) - Ask for a story and suggestions based on the autoconfig", open=False):
|
1264 |
with gr.Row():
|
1265 |
linktochat = gr.Dropdown(choices=["--Function Calling--", "https://groq-demo-groq-tool-use.hf.space",
|
1266 |
+
"--Multiple Models--", "https://lmsys-gpt-4o-mini-battles.hf.space", "https://labs.perplexity.ai/", "https://chat.lmsys.org", "https://sdk.vercel.ai/docs", "https://cyzgab-catch-me-if-you-can.hf.space",
|
1267 |
+
"--70B and above--", "https://llamameta-llama3-1-405b.static.hf.space", "https://qwen-qwen-max-0428.hf.space", "https://cohereforai-c4ai-command-r-plus.hf.space", "https://qwen-qwen1-5-110b-chat-demo.hf.space", "https://snowflake-snowflake-arctic-st-demo.hf.space", "https://databricks-dbrx-instruct.hf.space", "https://qwen-qwen1-5-72b-chat.hf.space",
|
1268 |
"--20B and above--", "https://gokaygokay-gemma-2-llamacpp.hf.space", "https://01-ai-yi-34b-chat.hf.space", "https://cohereforai-c4ai-command-r-v01.hf.space", "https://ehristoforu-mixtral-46-7b-chat.hf.space", "https://mosaicml-mpt-30b-chat.hf.space",
|
1269 |
"--7B and above--", "https://vilarin-mistral-nemo.hf.space", "https://vilarin-llama-3-1-8b-instruct.hf.space", "https://ysharma-chat-with-meta-llama3-8b.hf.space", "https://qwen-qwen1-5-moe-a2-7b-chat-demo.hf.space", "https://deepseek-ai-deepseek-coder-7b-instruct.hf.space", "https://osanseviero-mistral-super-fast.hf.space", "https://artificialguybr-qwen-14b-chat-demo.hf.space", "https://huggingface-projects-llama-2-7b-chat.hf.space",
|
1270 |
"--1B and above--", "https://huggingface.co/spaces/eswardivi/Phi-3-mini-128k-instruct", "https://eswardivi-phi-3-mini-4k-instruct.hf.space", "https://stabilityai-stablelm-2-1-6b-zephyr.hf.space",
|
|
|
1401 |
gr.HTML("Placeholder for models small enough to run on cpu here in this space that can assist")
|
1402 |
|
1403 |
with gr.Tab("3rd Party - Asset Generation"):
|
1404 |
+
gr.HTML("Image - https://www.midjourney.com/showcase")
|
1405 |
gr.HTML("Audio - https://www.udio.com/home")
|
1406 |
gr.HTML("Video - https://klingai.com/")
|
1407 |
|
relatively_constant_variables.py
CHANGED
@@ -1862,8 +1862,7 @@ Technological limitations: Time travel devices could have cooldown periods, limi
|
|
1862 |
Ethical dilemmas: Present players with morally ambiguous choices that have far-reaching consequences across time.
|
1863 |
"""
|
1864 |
|
1865 |
-
|
1866 |
-
Use this to write a story and explain how it represents the structure -
|
1867 |
|
1868 |
graph TD
|
1869 |
subgraph "Actual Timeline"
|
@@ -1905,10 +1904,10 @@ H3 -.- A4
|
|
1905 |
H4 -.- A1
|
1906 |
H4 -.- A2
|
1907 |
H4 -.- A3
|
1908 |
-
H4 -.- A4
|
1909 |
-
|
1910 |
-
|
1911 |
|
|
|
|
|
1912 |
Once upon a time in a land where time flowed like a river with hidden currents, there was a story that unfolded across three intertwined timelines: the Actual Timeline, the Narrative Timeline, and the Hidden Timeline.
|
1913 |
|
1914 |
Actual Timeline
|
@@ -1994,52 +1993,6 @@ Elena’s repeated visits to each location allow her to uncover additional layer
|
|
1994 |
|
1995 |
"""meta-llama-3.1-405b-instruct
|
1996 |
|
1997 |
-
Use this to write a story and explain how it represents the structure -
|
1998 |
-
|
1999 |
-
graph TD
|
2000 |
-
subgraph "Actual Timeline"
|
2001 |
-
A1[Location 1 - First Visit]
|
2002 |
-
A2[Location 2 - First Visit]
|
2003 |
-
A3[Location 3 - First Visit]
|
2004 |
-
A4[Location 4 - First Visit]
|
2005 |
-
A1 --> A2 --> A3 --> A4
|
2006 |
-
end
|
2007 |
-
subgraph "Narrative Timeline"
|
2008 |
-
N1[Location 2 - Story Event 1]
|
2009 |
-
N2[Location 4 - Story Event 2]
|
2010 |
-
N3[Location 1 - Story Event 3]
|
2011 |
-
N4[Location 3 - Story Event 4]
|
2012 |
-
N1 --> N2 --> N3 --> N4
|
2013 |
-
end
|
2014 |
-
subgraph "Hidden Timeline"
|
2015 |
-
H1[Hidden Event 1]
|
2016 |
-
H2[Hidden Event 2]
|
2017 |
-
H3[Hidden Event 3]
|
2018 |
-
H4[Hidden Event 4]
|
2019 |
-
end
|
2020 |
-
A1 -.-> N3
|
2021 |
-
A2 -.-> N1
|
2022 |
-
A3 -.-> N4
|
2023 |
-
A4 -.-> N2
|
2024 |
-
H1 -.- A1
|
2025 |
-
H1 -.- A2
|
2026 |
-
H1 -.- A3
|
2027 |
-
H1 -.- A4
|
2028 |
-
H2 -.- A1
|
2029 |
-
H2 -.- A2
|
2030 |
-
H2 -.- A3
|
2031 |
-
H2 -.- A4
|
2032 |
-
H3 -.- A1
|
2033 |
-
H3 -.- A2
|
2034 |
-
H3 -.- A3
|
2035 |
-
H3 -.- A4
|
2036 |
-
H4 -.- A1
|
2037 |
-
H4 -.- A2
|
2038 |
-
H4 -.- A3
|
2039 |
-
H4 -.- A4
|
2040 |
-
|
2041 |
-
|
2042 |
-
|
2043 |
Here's a story based on the graph structure:
|
2044 |
|
2045 |
Emily had always been fascinated by the mysterious disappearances that had taken place in the four locations she was about to visit. She packed her bags, said goodbye to her family, and set off on her journey.
|
@@ -2121,52 +2074,6 @@ N
|
|
2121 |
|
2122 |
"""mistral-large-2407
|
2123 |
|
2124 |
-
Use this to write a story and explain how it represents the structure -
|
2125 |
-
|
2126 |
-
graph TD
|
2127 |
-
subgraph "Actual Timeline"
|
2128 |
-
A1[Location 1 - First Visit]
|
2129 |
-
A2[Location 2 - First Visit]
|
2130 |
-
A3[Location 3 - First Visit]
|
2131 |
-
A4[Location 4 - First Visit]
|
2132 |
-
A1 --> A2 --> A3 --> A4
|
2133 |
-
end
|
2134 |
-
subgraph "Narrative Timeline"
|
2135 |
-
N1[Location 2 - Story Event 1]
|
2136 |
-
N2[Location 4 - Story Event 2]
|
2137 |
-
N3[Location 1 - Story Event 3]
|
2138 |
-
N4[Location 3 - Story Event 4]
|
2139 |
-
N1 --> N2 --> N3 --> N4
|
2140 |
-
end
|
2141 |
-
subgraph "Hidden Timeline"
|
2142 |
-
H1[Hidden Event 1]
|
2143 |
-
H2[Hidden Event 2]
|
2144 |
-
H3[Hidden Event 3]
|
2145 |
-
H4[Hidden Event 4]
|
2146 |
-
end
|
2147 |
-
A1 -.-> N3
|
2148 |
-
A2 -.-> N1
|
2149 |
-
A3 -.-> N4
|
2150 |
-
A4 -.-> N2
|
2151 |
-
H1 -.- A1
|
2152 |
-
H1 -.- A2
|
2153 |
-
H1 -.- A3
|
2154 |
-
H1 -.- A4
|
2155 |
-
H2 -.- A1
|
2156 |
-
H2 -.- A2
|
2157 |
-
H2 -.- A3
|
2158 |
-
H2 -.- A4
|
2159 |
-
H3 -.- A1
|
2160 |
-
H3 -.- A2
|
2161 |
-
H3 -.- A3
|
2162 |
-
H3 -.- A4
|
2163 |
-
H4 -.- A1
|
2164 |
-
H4 -.- A2
|
2165 |
-
H4 -.- A3
|
2166 |
-
H4 -.- A4
|
2167 |
-
|
2168 |
-
|
2169 |
-
|
2170 |
Story: The Unraveling of Time
|
2171 |
Actual Timeline
|
2172 |
In the quaint town of Harborside, four locations form the backbone of daily life: the Library (Location 1), the Market (Location 2), the Park (Location 3), and the Lighthouse (Location 4). The story unfolds as the protagonist, Emily, visits these locations in sequence.
|
@@ -2245,52 +2152,6 @@ Actual Timeline: This represents the chronological order
|
|
2245 |
|
2246 |
"""gpt-4o-mini-2024-07-18
|
2247 |
|
2248 |
-
Use this to write a story and explain how it represents the structure -
|
2249 |
-
|
2250 |
-
graph TD
|
2251 |
-
subgraph "Actual Timeline"
|
2252 |
-
A1[Location 1 - First Visit]
|
2253 |
-
A2[Location 2 - First Visit]
|
2254 |
-
A3[Location 3 - First Visit]
|
2255 |
-
A4[Location 4 - First Visit]
|
2256 |
-
A1 --> A2 --> A3 --> A4
|
2257 |
-
end
|
2258 |
-
subgraph "Narrative Timeline"
|
2259 |
-
N1[Location 2 - Story Event 1]
|
2260 |
-
N2[Location 4 - Story Event 2]
|
2261 |
-
N3[Location 1 - Story Event 3]
|
2262 |
-
N4[Location 3 - Story Event 4]
|
2263 |
-
N1 --> N2 --> N3 --> N4
|
2264 |
-
end
|
2265 |
-
subgraph "Hidden Timeline"
|
2266 |
-
H1[Hidden Event 1]
|
2267 |
-
H2[Hidden Event 2]
|
2268 |
-
H3[Hidden Event 3]
|
2269 |
-
H4[Hidden Event 4]
|
2270 |
-
end
|
2271 |
-
A1 -.-> N3
|
2272 |
-
A2 -.-> N1
|
2273 |
-
A3 -.-> N4
|
2274 |
-
A4 -.-> N2
|
2275 |
-
H1 -.- A1
|
2276 |
-
H1 -.- A2
|
2277 |
-
H1 -.- A3
|
2278 |
-
H1 -.- A4
|
2279 |
-
H2 -.- A1
|
2280 |
-
H2 -.- A2
|
2281 |
-
H2 -.- A3
|
2282 |
-
H2 -.- A4
|
2283 |
-
H3 -.- A1
|
2284 |
-
H3 -.- A2
|
2285 |
-
H3 -.- A3
|
2286 |
-
H3 -.- A4
|
2287 |
-
H4 -.- A1
|
2288 |
-
H4 -.- A2
|
2289 |
-
H4 -.- A3
|
2290 |
-
H4 -.- A4
|
2291 |
-
|
2292 |
-
|
2293 |
-
|
2294 |
Title: The Hidden Threads of Time
|
2295 |
|
2296 |
Story:
|
@@ -2347,52 +2208,6 @@ Hidden Timeline: This timeline consists of events and truths that remain obscure
|
|
2347 |
|
2348 |
"""athene-70b
|
2349 |
|
2350 |
-
Use this to write a story and explain how it represents the structure -
|
2351 |
-
|
2352 |
-
graph TD
|
2353 |
-
subgraph "Actual Timeline"
|
2354 |
-
A1[Location 1 - First Visit]
|
2355 |
-
A2[Location 2 - First Visit]
|
2356 |
-
A3[Location 3 - First Visit]
|
2357 |
-
A4[Location 4 - First Visit]
|
2358 |
-
A1 --> A2 --> A3 --> A4
|
2359 |
-
end
|
2360 |
-
subgraph "Narrative Timeline"
|
2361 |
-
N1[Location 2 - Story Event 1]
|
2362 |
-
N2[Location 4 - Story Event 2]
|
2363 |
-
N3[Location 1 - Story Event 3]
|
2364 |
-
N4[Location 3 - Story Event 4]
|
2365 |
-
N1 --> N2 --> N3 --> N4
|
2366 |
-
end
|
2367 |
-
subgraph "Hidden Timeline"
|
2368 |
-
H1[Hidden Event 1]
|
2369 |
-
H2[Hidden Event 2]
|
2370 |
-
H3[Hidden Event 3]
|
2371 |
-
H4[Hidden Event 4]
|
2372 |
-
end
|
2373 |
-
A1 -.-> N3
|
2374 |
-
A2 -.-> N1
|
2375 |
-
A3 -.-> N4
|
2376 |
-
A4 -.-> N2
|
2377 |
-
H1 -.- A1
|
2378 |
-
H1 -.- A2
|
2379 |
-
H1 -.- A3
|
2380 |
-
H1 -.- A4
|
2381 |
-
H2 -.- A1
|
2382 |
-
H2 -.- A2
|
2383 |
-
H2 -.- A3
|
2384 |
-
H2 -.- A4
|
2385 |
-
H3 -.- A1
|
2386 |
-
H3 -.- A2
|
2387 |
-
H3 -.- A3
|
2388 |
-
H3 -.- A4
|
2389 |
-
H4 -.- A1
|
2390 |
-
H4 -.- A2
|
2391 |
-
H4 -.- A3
|
2392 |
-
H4 -.- A4
|
2393 |
-
|
2394 |
-
|
2395 |
-
|
2396 |
Story: The Cartographer's Enigma
|
2397 |
|
2398 |
Protagonist Emilia, a skilled cartographer, receives a cryptic atlas from her reclusive mentor, featuring four locations: Ravenshire, Luminaria, Celestia's Peak, and Argentum Falls. The atlas hints at a centuries-old conspiracy, weaving together seemingly unrelated events across these sites.
|
@@ -2422,6 +2237,26 @@ Interconnectedness: The graph visually demonstrates how each location, narrative
|
|
2422 |
|
2423 |
)
|
2424 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2425 |
TimeRelatedMermaidStoryAttempttoRefinefromtoJSON = (
|
2426 |
"""
|
2427 |
{
|
|
|
1862 |
Ethical dilemmas: Present players with morally ambiguous choices that have far-reaching consequences across time.
|
1863 |
"""
|
1864 |
|
1865 |
+
WFStage1prompt = """Use this to write a story and explain how it represents the structure -
|
|
|
1866 |
|
1867 |
graph TD
|
1868 |
subgraph "Actual Timeline"
|
|
|
1904 |
H4 -.- A1
|
1905 |
H4 -.- A2
|
1906 |
H4 -.- A3
|
1907 |
+
H4 -.- A4"""
|
|
|
|
|
1908 |
|
1909 |
+
TimeRelatedMermaidStoryAttempttoRefinefrom = ("""gpt-4o
|
1910 |
+
|
1911 |
Once upon a time in a land where time flowed like a river with hidden currents, there was a story that unfolded across three intertwined timelines: the Actual Timeline, the Narrative Timeline, and the Hidden Timeline.
|
1912 |
|
1913 |
Actual Timeline
|
|
|
1993 |
|
1994 |
"""meta-llama-3.1-405b-instruct
|
1995 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1996 |
Here's a story based on the graph structure:
|
1997 |
|
1998 |
Emily had always been fascinated by the mysterious disappearances that had taken place in the four locations she was about to visit. She packed her bags, said goodbye to her family, and set off on her journey.
|
|
|
2074 |
|
2075 |
"""mistral-large-2407
|
2076 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2077 |
Story: The Unraveling of Time
|
2078 |
Actual Timeline
|
2079 |
In the quaint town of Harborside, four locations form the backbone of daily life: the Library (Location 1), the Market (Location 2), the Park (Location 3), and the Lighthouse (Location 4). The story unfolds as the protagonist, Emily, visits these locations in sequence.
|
|
|
2152 |
|
2153 |
"""gpt-4o-mini-2024-07-18
|
2154 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2155 |
Title: The Hidden Threads of Time
|
2156 |
|
2157 |
Story:
|
|
|
2208 |
|
2209 |
"""athene-70b
|
2210 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2211 |
Story: The Cartographer's Enigma
|
2212 |
|
2213 |
Protagonist Emilia, a skilled cartographer, receives a cryptic atlas from her reclusive mentor, featuring four locations: Ravenshire, Luminaria, Celestia's Peak, and Argentum Falls. The atlas hints at a centuries-old conspiracy, weaving together seemingly unrelated events across these sites.
|
|
|
2237 |
|
2238 |
)
|
2239 |
|
2240 |
+
WFStage2prompt = """Please use the below config as a template to covert the story to config format:
|
2241 |
+
|
2242 |
+
{
|
2243 |
+
"masterlocation1": {
|
2244 |
+
"location1": {
|
2245 |
+
"description": "UI - Experience Bar",
|
2246 |
+
"events": [],
|
2247 |
+
"choices": [
|
2248 |
+
"continue"
|
2249 |
+
],
|
2250 |
+
"transitions": {
|
2251 |
+
"continue": "masterlocation1_location2"
|
2252 |
+
},
|
2253 |
+
"media": [],
|
2254 |
+
"developernotes": []
|
2255 |
+
},
|
2256 |
+
|
2257 |
+
"""
|
2258 |
+
|
2259 |
+
|
2260 |
TimeRelatedMermaidStoryAttempttoRefinefromtoJSON = (
|
2261 |
"""
|
2262 |
{
|