From baa02e4f01b6ff0f2b9b70c48f0624c0a364f5b4 Mon Sep 17 00:00:00 2001 From: Cyber MacGeddon Date: Tue, 5 Nov 2024 21:12:13 +0000 Subject: [PATCH] prompt-generic is no longer supported --- .../trustgraph/model/prompt/generic/service.py | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/trustgraph-flow/trustgraph/model/prompt/generic/service.py b/trustgraph-flow/trustgraph/model/prompt/generic/service.py index 16986980..96c9be57 100755 --- a/trustgraph-flow/trustgraph/model/prompt/generic/service.py +++ b/trustgraph-flow/trustgraph/model/prompt/generic/service.py @@ -2,6 +2,15 @@ Language service abstracts prompt engineering from LLM. """ +# +# FIXME: This module is broken, it doesn't conform to the prompt API change +# made in 0.14, nor the prompt template support. +# +# It could be made to conform by using prompt-template as a starting +# point, and hard-coding all the information. +# + + import json import re @@ -469,5 +478,7 @@ class Processor(ConsumerProducer): def run(): + raise RuntimeError("NOT IMPLEMENTED") + Processor.start(module, __doc__)