Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -64,8 +64,8 @@ def setup_vectorstore():
|
|
64 |
return qdrant_vector_store
|
65 |
|
66 |
@st.cache_resource
|
67 |
-
def create_rag_pipeline(
|
68 |
-
retriever =
|
69 |
|
70 |
template = """
|
71 |
You are an expert AI assistant with deep knowledge of business, technology, and entrepreneurship. Your task is to provide accurate, insightful answers based solely on the given context. Follow these guidelines:
|
|
|
64 |
return qdrant_vector_store
|
65 |
|
66 |
@st.cache_resource
|
67 |
+
def create_rag_pipeline(_vector_store):
|
68 |
+
retriever = _vector_store.as_retriever()
|
69 |
|
70 |
template = """
|
71 |
You are an expert AI assistant with deep knowledge of business, technology, and entrepreneurship. Your task is to provide accurate, insightful answers based solely on the given context. Follow these guidelines:
|