budhadityac24 commited on
Commit
23d0838
1 Parent(s): 10f5081

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
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="mixtral-8x7b-32768",
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 give a brief description of the weather 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",
 
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",