Skip to content

Commit

Permalink
feat: Expand LLM support with PromptModel, PromptNode, and PromptTemp…
Browse files Browse the repository at this point in the history
…late (#3667)

Co-authored-by: ZanSara <[email protected]>
  • Loading branch information
2 people authored and bogdankostic committed Dec 21, 2022
1 parent 71de1ca commit a0934f8
Show file tree
Hide file tree
Showing 6 changed files with 1,322 additions and 1 deletion.
1 change: 1 addition & 0 deletions haystack/nodes/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
from haystack.nodes.label_generator import PseudoLabelGenerator
from haystack.nodes.other import Docs2Answers, JoinDocuments, RouteDocuments, JoinAnswers, DocumentMerger
from haystack.nodes.preprocessor import BasePreProcessor, PreProcessor
from haystack.nodes.prompt import PromptNode, PromptTemplate, PromptModel
from haystack.nodes.query_classifier import SklearnQueryClassifier, TransformersQueryClassifier
from haystack.nodes.question_generator import QuestionGenerator
from haystack.nodes.ranker import BaseRanker, SentenceTransformersRanker
Expand Down
1 change: 1 addition & 0 deletions haystack/nodes/prompt/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
from haystack.nodes.prompt.prompt_node import PromptNode, PromptTemplate, PromptModel
Loading

0 comments on commit a0934f8

Please sign in to comment.