We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4db9b3e commit fb83cd7Copy full SHA for fb83cd7
test2text/services/visualisation/visualize_vectors.py
@@ -39,7 +39,7 @@ def extract_closest_annotation_vectors(db: DbClient):
39
def extract_requirement_vectors(db: DbClient):
40
vectors = []
41
embeddings = db.get_column_values("embedding", from_table="Requirements")
42
- if embeddings.fetchone() is None:
+ if not embeddings:
43
st.error("Embeddings is empty. Please fill embeddings in requirements.")
44
return None
45
for row in embeddings:
0 commit comments