mgokg commited on
Commit
0b89a53
·
verified ·
1 Parent(s): 4e82f2d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -25,7 +25,7 @@ def update(prompt, ort):
25
  model="Mixtral-8x7b-32768",
26
  messages=[
27
  {"role": "system", "content": "You are a helpful assistant."},
28
- {"role": "user", "content": f"gefragt sind die nächsten 3 zugverbindungen von bad kissingen nach {ort} du findest die antwort im kontext. liefer als antwort ein 2 spaltige tabelle. linke spalte: abfahrtszeit, fahrtdauer, ankunftszeit.rechte spalte: abfahrtsort,leer,zielort. formatiere die tabelle in markdown\n kontext: \n {prompt}"}
29
  ],
30
  )
31
  return completion.choices[0].message.content
 
25
  model="Mixtral-8x7b-32768",
26
  messages=[
27
  {"role": "system", "content": "You are a helpful assistant."},
28
+ {"role": "user", "content": f"gefragt sind die nächsten 3 zugverbindungen von bad kissingen nach {ort} du findest die antwort im kontext. liefer als antwort ein 2 spaltige tabelle. linke spalte: abfahrtszeit, fahrtdauer, ankunftszeit.rechte spalte: abfahrtsort,leer,zielort. formatiere die tabelle in markdown\n kontext: \n {prompt} \n antworte immer auf deutsch!"}
29
  ],
30
  )
31
  return completion.choices[0].message.content