Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -16,7 +16,7 @@ CHROMA_PATH = "chroma"
|
|
| 16 |
os.environ["OPENAI_API_KEY"] = os.getenv("OPENAI_API_KEY")
|
| 17 |
|
| 18 |
PROMPT_TEMPLATE = """
|
| 19 |
-
|
| 20 |
{context}
|
| 21 |
---
|
| 22 |
Answer the question based on the above context: {question}
|
|
|
|
| 16 |
os.environ["OPENAI_API_KEY"] = os.getenv("OPENAI_API_KEY")
|
| 17 |
|
| 18 |
PROMPT_TEMPLATE = """
|
| 19 |
+
Answer the question based only on the following context:
|
| 20 |
{context}
|
| 21 |
---
|
| 22 |
Answer the question based on the above context: {question}
|