mohAhmad commited on
Commit
a41f426
1 Parent(s): 68e0e6d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -16,7 +16,7 @@ client = Groq(api_key=api_key)
16
 
17
  def generate_response_groq(context, query):
18
  """Generate response using Groq API."""
19
- prompt = f"You are a text generating model, given you a context and query, you have to answer the query in detail. Context: {context}\nQuestion: {query}\nAnswer: Your answer must be descriptive, into 2 lines atleast, also if you don't know any questions' snswer just say 'I don't know'
20
  chat_completion = client.chat.completions.create(
21
  messages=[
22
  {
 
16
 
17
  def generate_response_groq(context, query):
18
  """Generate response using Groq API."""
19
+ prompt = f"You are a text generating model, given you a context and query, you have to answer the query in detail. Context: {context}\nQuestion: {query}\nAnswer: Your answer must be descriptive, into 2 lines atleast, also if you don't know any questions answer just say :I don't know"
20
  chat_completion = client.chat.completions.create(
21
  messages=[
22
  {