amasood commited on
Commit
3da84c2
·
verified ·
1 Parent(s): 28b3643

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -63,7 +63,7 @@ def retrieve_context(query, model, index, questions, data, top_k=1):
63
  # Call Groq LLM
64
  def query_groq(context, query):
65
  prompt = f"Context:\n{context}\n\nQuestion: {query}\n\nAnswer:"
66
- client = Groq(api_key=st.secrets["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"])
67
  response = client.chat.completions.create(
68
  messages=[{"role": "user", "content": prompt}],
69
  model="llama-3-70b-8192"
 
63
  # Call Groq LLM
64
  def query_groq(context, query):
65
  prompt = f"Context:\n{context}\n\nQuestion: {query}\n\nAnswer:"
66
+ client = Groq(api_key=st.secrets["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"])
67
  response = client.chat.completions.create(
68
  messages=[{"role": "user", "content": prompt}],
69
  model="llama-3-70b-8192"