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 LLM to extend from Pipeline

davidmezzetti3dab4d865342
diff --git a/src/python/txtai/pipeline/llm/llm.py b/src/python/txtai/pipeline/llm/llm.py
index 232ebde0..c0cb29ed 100644
--- a/src/python/txtai/pipeline/llm/llm.py
+++ b/src/python/txtai/pipeline/llm/llm.py
@@ -4,8 +4,10 @@ LLM module
from .factory import GenerationFactory
+from ..base import Pipeline
-class LLM:
+
+class LLM(Pipeline):
"""
Pipeline for running large language models (LLMs). This class supports the following LLM backends: