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 method docs

davidmezzetti525578c20d9e
diff --git a/src/python/txtai/scoring.py b/src/python/txtai/scoring.py
index 46d157f7..420f2c59 100644
--- a/src/python/txtai/scoring.py
+++ b/src/python/txtai/scoring.py
@@ -60,10 +60,10 @@ class Scoring(object):
def index(self, documents):
"""
- Indexes a collection of documents using a scoring method. Documents are tuples of (id, text|tokens, tags).
+ Indexes a collection of documents using a scoring method.
Args:
- documents: input documents
+ documents: list of (id, text|tokens, tags)
"""
# Calculate word frequency, total tokens and total documents