Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -15,7 +15,7 @@ client = Groq(api_key=GROQ_API_KEY)
|
|
| 15 |
def chat_with_groq(prompt):
|
| 16 |
try:
|
| 17 |
chat_completion = client.chat.completions.create(
|
| 18 |
-
messages=[{"role": "user", "content": prompt}],
|
| 19 |
model="llama3-8b-8192",
|
| 20 |
stream=False
|
| 21 |
)
|
|
|
|
| 15 |
def chat_with_groq(prompt):
|
| 16 |
try:
|
| 17 |
chat_completion = client.chat.completions.create(
|
| 18 |
+
messages=[{"role": "system", "content": "[INSTRUCTIONS DO NOT GENERATE CODE BUT DO THE PROCCESING YOURSELF]"},{"role": "user", "content": prompt}],
|
| 19 |
model="llama3-8b-8192",
|
| 20 |
stream=False
|
| 21 |
)
|