karthikvarunn commited on
Commit
6a0f09b
·
verified ·
1 Parent(s): 09a1990

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
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)