Update app.py
Browse files
app.py
CHANGED
@@ -22,7 +22,7 @@ client = groq.Client(api_key=api_key)
|
|
22 |
def update(prompt, ort):
|
23 |
try:
|
24 |
completion = client.chat.completions.create(
|
25 |
-
model="
|
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!"}
|
|
|
22 |
def update(prompt, ort):
|
23 |
try:
|
24 |
completion = client.chat.completions.create(
|
25 |
+
model="llama3-70b-8192",
|
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!"}
|