mgokg commited on
Commit
ea3ec99
·
verified ·
1 Parent(s): bc9917c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -14,6 +14,8 @@ Regeln:
14
  Wenn eine Zugverbindung von {Startort} nach {Zielort} angefragt wird, return json object with Startort and Zielort.
15
  always follow json scheme below.
16
 
 
 
17
  {
18
  "start_loc": "fill in Startort here",
19
  "dest_loc": "fill in Zielort here"
@@ -58,7 +60,7 @@ def generate(input_text):
58
  types.Content(
59
  role="user",
60
  parts=[
61
- types.Part.from_text(text=f"{route} input_text "),
62
  ],
63
  ),
64
  ]
 
14
  Wenn eine Zugverbindung von {Startort} nach {Zielort} angefragt wird, return json object with Startort and Zielort.
15
  always follow json scheme below.
16
 
17
+ Wichtig: Gib absolut keinen Text vor oder nach dem JSON aus (keine Erklärungen, kein "Hier ist das Ergebnis").
18
+
19
  {
20
  "start_loc": "fill in Startort here",
21
  "dest_loc": "fill in Zielort here"
 
60
  types.Content(
61
  role="user",
62
  parts=[
63
+ types.Part.from_text(text=f"{route} {input_text}"),
64
  ],
65
  ),
66
  ]