Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -84,6 +84,7 @@ def search_documents(query, user_groups, index_name="briefmeta"):
|
|
84 |
Hybrid search combining semantic and sparse (keyword) retrieval.
|
85 |
"""
|
86 |
try:
|
|
|
87 |
vector_store = PineconeVectorStore(index_name=index_name, embedding=embeddings)
|
88 |
|
89 |
# Dense search (Semantic embeddings)
|
|
|
84 |
Hybrid search combining semantic and sparse (keyword) retrieval.
|
85 |
"""
|
86 |
try:
|
87 |
+
pc = initialize_pinecone_index(index_name)
|
88 |
vector_store = PineconeVectorStore(index_name=index_name, embedding=embeddings)
|
89 |
|
90 |
# Dense search (Semantic embeddings)
|