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 comment

davidmezzettiea9b9a2e9e37
diff --git a/src/python/txtai/vectors/base.py b/src/python/txtai/vectors/base.py
index 0caf8c12..6d105a50 100644
--- a/src/python/txtai/vectors/base.py
+++ b/src/python/txtai/vectors/base.py
@@ -16,6 +16,14 @@ class Vectors:
"""
def __init__(self, config, scoring):
+ """
+ Creates a new vectors instance.
+
+ Args:
+ config: vector configuration
+ scoring: optional scoring instance for term weighting
+ """
+
# Store parameters
self.config = config
self.scoring = scoring