Update TextGen/router.py
Browse files- TextGen/router.py +5 -0
TextGen/router.py
CHANGED
@@ -93,6 +93,10 @@ class Rooms(BaseModel):
|
|
93 |
index_exit:int
|
94 |
possible_entities:List
|
95 |
|
|
|
|
|
|
|
|
|
96 |
class Invoke(BaseModel):
|
97 |
system_prompt:str
|
98 |
message:str
|
@@ -172,6 +176,7 @@ def story(prompt: Invoke):
|
|
172 |
def placement(input: Rooms):
|
173 |
print(input)
|
174 |
markdown_map=generate_map_markdown(input)
|
|
|
175 |
answer={
|
176 |
"key":"value"
|
177 |
}
|
|
|
93 |
index_exit:int
|
94 |
possible_entities:List
|
95 |
|
96 |
+
class Room_placements(BaseModel):
|
97 |
+
placements:dict
|
98 |
+
|
99 |
+
|
100 |
class Invoke(BaseModel):
|
101 |
system_prompt:str
|
102 |
message:str
|
|
|
176 |
def placement(input: Rooms):
|
177 |
print(input)
|
178 |
markdown_map=generate_map_markdown(input)
|
179 |
+
print(markdown_map)
|
180 |
answer={
|
181 |
"key":"value"
|
182 |
}
|