Avanisha commited on
Commit
a7b7c2f
·
verified ·
1 Parent(s): 6c2595e

Update model

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -203,7 +203,7 @@ def create_qa_chain(vectordb, groq_api_key, k=4):
203
  try:
204
  with st.spinner('Creating QA chain...'):
205
  retriever = vectordb.as_retriever(search_kwargs={'k': k})
206
- llm = ChatGroq(api_key=groq_api_key, temperature=0)
207
 
208
  prompt_messages = [
209
  ("system", """You are a helpful AI assistant who provides accurate answers based on the given context.
 
203
  try:
204
  with st.spinner('Creating QA chain...'):
205
  retriever = vectordb.as_retriever(search_kwargs={'k': k})
206
+ llm = ChatGroq(model = "llama-3.3-70b-versatile", api_key=groq_api_key, temperature=0)
207
 
208
  prompt_messages = [
209
  ("system", """You are a helpful AI assistant who provides accurate answers based on the given context.