Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -26,7 +26,7 @@ else:
|
|
| 26 |
faiss.write_index(index, index_path)
|
| 27 |
|
| 28 |
# Initialize Groq API
|
| 29 |
-
client = Groq(api_key=os.getenv("
|
| 30 |
|
| 31 |
def rag_pipeline(query):
|
| 32 |
"""Retrieves relevant information from FAISS and queries Llama 3 via Groq API."""
|
|
|
|
| 26 |
faiss.write_index(index, index_path)
|
| 27 |
|
| 28 |
# Initialize Groq API
|
| 29 |
+
client = Groq(api_key=os.getenv("Groq_API_Key"))
|
| 30 |
|
| 31 |
def rag_pipeline(query):
|
| 32 |
"""Retrieves relevant information from FAISS and queries Llama 3 via Groq API."""
|