safiaa02 commited on
Commit
0dda9ff
Β·
verified Β·
1 Parent(s): 01e50ab

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
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 fields of engineering where this term is commonly used. Just the field names in bullet points (e.g., β€’ Electrical Engineering).
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