Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -64,7 +64,7 @@ def initialize_chroma(splits):
|
|
| 64 |
rag_chain = (
|
| 65 |
{"context": retriever | format_docs, "question": RunnablePassthrough()}
|
| 66 |
| prompt
|
| 67 |
-
| llm
|
| 68 |
| StrOutputParser()
|
| 69 |
)
|
| 70 |
return rag_chain
|
|
|
|
| 64 |
rag_chain = (
|
| 65 |
{"context": retriever | format_docs, "question": RunnablePassthrough()}
|
| 66 |
| prompt
|
| 67 |
+
| llm = ChatGroq(model="llama3-8b-8192", groq_api_key=groq_api_key)
|
| 68 |
| StrOutputParser()
|
| 69 |
)
|
| 70 |
return rag_chain
|