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 variable name

davidmezzetti06e72232f469
diff --git a/src/python/txtai/embeddings/index/indexes.py b/src/python/txtai/embeddings/index/indexes.py
index 6d464741..f9e5f12d 100644
--- a/src/python/txtai/embeddings/index/indexes.py
+++ b/src/python/txtai/embeddings/index/indexes.py
@@ -70,8 +70,8 @@ class Indexes:
try:
return self.indexes[name]
- except Exception as ex:
- raise AttributeError(ex) from ex
+ except Exception as e:
+ raise AttributeError(e) from e
def default(self):
"""