Update app.py
Browse files
app.py
CHANGED
|
@@ -24,11 +24,12 @@ When given a single engineering term, respond with structured output in the foll
|
|
| 24 |
|
| 25 |
π **Typical Formula**: If a standard formula exists for this term, present it. Briefly explain what each variable represents. If no common formula exists, say: "There is no widely accepted formula for this term."
|
| 26 |
|
| 27 |
-
ποΈ **Engineering Applications**: List 2β3
|
| 28 |
|
| 29 |
Keep your entire response short, clear, and helpful for a first-year engineering student or a curious beginner. Do not add any extra commentary or introduction.
|
| 30 |
"""
|
| 31 |
|
|
|
|
| 32 |
def query_groq(term):
|
| 33 |
payload = {
|
| 34 |
"model": "llama3-8b-8192", # β
Updated model
|
|
|
|
| 24 |
|
| 25 |
π **Typical Formula**: If a standard formula exists for this term, present it. Briefly explain what each variable represents. If no common formula exists, say: "There is no widely accepted formula for this term."
|
| 26 |
|
| 27 |
+
ποΈ **Engineering Applications**: List 2β3 practical engineering applications where this term is used. Be specific. For example, if the term is "Ohmβs Law", an application could be "Designing electric circuits in household appliances" or "Calculating resistor values in LED lighting systems".
|
| 28 |
|
| 29 |
Keep your entire response short, clear, and helpful for a first-year engineering student or a curious beginner. Do not add any extra commentary or introduction.
|
| 30 |
"""
|
| 31 |
|
| 32 |
+
|
| 33 |
def query_groq(term):
|
| 34 |
payload = {
|
| 35 |
"model": "llama3-8b-8192", # β
Updated model
|