Skip to content

Hypergraph is more powerful. Transform unstructured text into structured knowledge with LLMs. Graphs, hypergraphs, and spatio-temporal extractions — with one command.

style: apply ruff format to client.py

dex0shubhamcfd4b65b8d8a
diff --git a/hyperextract/utils/client.py b/hyperextract/utils/client.py
index 87b493b..cc41c60 100644
--- a/hyperextract/utils/client.py
+++ b/hyperextract/utils/client.py
@@ -147,9 +147,7 @@ class CompatibleEmbeddings(Embeddings):
counts[orig_idx] = 1
else:
running = sums[orig_idx]
- sums[orig_idx] = [
- a + b for a, b in zip(running, emb, strict=False)
- ]
+ sums[orig_idx] = [a + b for a, b in zip(running, emb, strict=False)]
counts[orig_idx] += 1
for chunk in chunks: