Spaces:
Sleeping
Sleeping
budhadityac24
commited on
Commit
•
23d0838
1
Parent(s):
10f5081
Update app.py
Browse files
app.py
CHANGED
@@ -129,11 +129,11 @@ def get_response(input_text,client):
|
|
129 |
|
130 |
client = Groq()
|
131 |
completion = client.chat.completions.create(
|
132 |
-
model="
|
133 |
messages=[
|
134 |
{
|
135 |
"role": "system",
|
136 |
-
"content": "You are a helpful assistant. You are given the weather details in json format. Read the data and
|
137 |
},
|
138 |
{
|
139 |
"role": "user",
|
|
|
129 |
|
130 |
client = Groq()
|
131 |
completion = client.chat.completions.create(
|
132 |
+
model="llama3-8b-8192",
|
133 |
messages=[
|
134 |
{
|
135 |
"role": "system",
|
136 |
+
"content": "You are a helpful assistant. You are given the weather details in json format. Read the data and then answer the question. Use a professional but fun tone when you say, and answer the question. All temperatures are in kelvin. Only mention details about the weather. If the JSON mentions data fetch error, only give a polite error message and tell the user to ask questions related to the weather of a place. "
|
137 |
},
|
138 |
{
|
139 |
"role": "user",
|