Skip to content

armgit / txtai

Public Imported from GitHub
0

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

Fix spelling typos in documentation and docstrings

latent-9f89835bc7713
diff --git a/docs/embeddings/configuration/vectors.md b/docs/embeddings/configuration/vectors.md
index a2629ae0..bdaa3ee9 100644
--- a/docs/embeddings/configuration/vectors.md
+++ b/docs/embeddings/configuration/vectors.md
@@ -109,7 +109,7 @@ quantize: int|boolean
Enables scalar vector quantization at the specified precision. Supports 1-bit through 8-bit quantization. Scalar quantization transforms continuous floating point values to discrete unsigned integers. The `faiss`, `pgvector`, `numpy` and `torch` ANN backends support storing these vectors.
-This parameter supports booleans for backwards compatability. When set to true/false, this flag sets [faiss.quantize](../ann/#faiss).
+This parameter supports booleans for backwards compatibility. When set to true/false, this flag sets [faiss.quantize](../ann/#faiss).
In addition to vector-level quantization, some ANN backends have the ability to quantize vectors at the storage layer. See the [ANN](../ann) configuration options for more.
diff --git a/src/python/txtai/graph/base.py b/src/python/txtai/graph/base.py
index 32184d75..4a3e3e33 100644
--- a/src/python/txtai/graph/base.py
+++ b/src/python/txtai/graph/base.py
@@ -744,7 +744,7 @@ class Graph:
def infertopics(self):
"""
Infers topics for all nodes with an "updated" attribute. This method analyzes the direct node
- neighbors and set the most commonly occuring topic and category for each node.
+ neighbors and set the most commonly occurring topic and category for each node.
"""
# Iterate over nodes missing topic attribute (only occurs for new nodes)
diff --git a/src/python/txtai/serialize/serializer.py b/src/python/txtai/serialize/serializer.py
index 37de81d2..efb8df59 100644
--- a/src/python/txtai/serialize/serializer.py
+++ b/src/python/txtai/serialize/serializer.py
@@ -15,7 +15,7 @@ class Serializer:
def load(path):
"""
Loads data from path. This method first tries to load the default serialization format.
- If that fails, it will fallback to pickle format for backwards-compatability purposes.
+ If that fails, it will fallback to pickle format for backwards-compatibility purposes.
Note that loading pickle files requires the env variable `ALLOW_PICKLE=True`.