Skip to content

Commit

Permalink
add fallback for namespace in _embedding_retrieval
Browse files Browse the repository at this point in the history
  • Loading branch information
anakin87 committed Dec 22, 2023
1 parent 2e690e4 commit 9437c02
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ def _embedding_retrieval(
result = self._index.query(
vector=query_embedding,
top_k=top_k,
namespace=namespace,
namespace=namespace or self.namespace,
include_values=True,
include_metadata=True,
)
Expand Down

0 comments on commit 9437c02

Please sign in to comment.