Update model
Browse files
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.
|