We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c2f135f commit 30d492aCopy full SHA for 30d492a
src/memos/graph_dbs/nebular.py
@@ -1008,7 +1008,7 @@ def search_by_embedding(
1008
dim = len(vector)
1009
vector_str = ",".join(f"{float(x)}" for x in vector)
1010
gql_vector = f"VECTOR<{dim}, FLOAT>([{vector_str}])"
1011
- where_clauses = ["n.embedding_1024 IS NOT NULL"]
+ where_clauses = [f"n.{self.dim_field} IS NOT NULL"]
1012
if scope:
1013
where_clauses.append(f'n.memory_type = "{scope}"')
1014
if status:
0 commit comments