Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -81,7 +81,8 @@ def get_conversational_chain():
|
|
| 81 |
"""
|
| 82 |
# Assuming we use the Groq API for the model as well
|
| 83 |
# Replace with your Groq model call or other LLM API
|
| 84 |
-
|
|
|
|
| 85 |
prompt = PromptTemplate(template=prompt_template, input_variables=["context", "question"])
|
| 86 |
chain = load_qa_chain(model, chain_type="stuff", prompt=prompt)
|
| 87 |
return chain
|
|
|
|
| 81 |
"""
|
| 82 |
# Assuming we use the Groq API for the model as well
|
| 83 |
# Replace with your Groq model call or other LLM API
|
| 84 |
+
|
| 85 |
+
model = 'llama3-8b-8192' # Placeholder for the actual model call
|
| 86 |
prompt = PromptTemplate(template=prompt_template, input_variables=["context", "question"])
|
| 87 |
chain = load_qa_chain(model, chain_type="stuff", prompt=prompt)
|
| 88 |
return chain
|