Skip to content

armgit / txtai

Public Imported from GitHub
0

💡 All-in-one AI framework for semantic search, LLM orchestration and language model workflows

Update benchmarks script

davidmezzetti42a55430ac84
diff --git a/examples/benchmarks.py b/examples/benchmarks.py
index a62de3d2..1b76c0db 100644
--- a/examples/benchmarks.py
+++ b/examples/benchmarks.py
@@ -199,7 +199,7 @@ class Embed(Index):
embeddings.load(path)
else:
# Read configuration
- config = self.readconfig("embed", {"batch": 8192, "encodebatch": 128, "faiss": {"quantize": True, "sample": 0.05}})
+ config = self.readconfig("embeddings", {"batch": 8192, "encodebatch": 128, "faiss": {"quantize": True, "sample": 0.05}})
# Build index
embeddings = Embeddings(config)