Fix: prompt template overrides (#136)

* Added single-target command-line config generator.  Mainly using for
testing ATM.

* Slightly tweak the config decode so that components can over-ride the
'with' method which injects parameters.

* Deliberately break the prompt-generic template.  Could do better, this
is temporary.

* Add 'prompt-overrides' component, injects new prompts.

* Removed prompt generic reference, not used

* prompt-generic is no longer supported
This commit is contained in:
cybermaggedon 2024-11-05 21:17:34 +00:00 committed by GitHub
parent 8a2126bba5
commit 53c958aaff
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 188 additions and 91 deletions

View file

@ -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__)