Prompt factory

This commit is contained in:
Michael Panchenko committed 2025-03-29 16:34:17 +01:00
1 parent 6567b3735a
commit 28b0b93d32
3 files changed
+9 -1

No files matched your search

@@ -1,3 +1,7 @@
# ruff: noqa
# black: skip
# mypy: ignore-errors
from .multilang_prompt import MultiLangContainer, MultiLangPromptTemplateCollection, PromptList
+1 -1
View File
@@ -35,7 +35,7 @@ def main():
code = f.read()
methods_str = "".join(methods)
code = code.replace("# methods", methods_str)
prompt_factory_module = f"{package}/llm/prompt_factory.py"
with open(prompt_factory_module, "w") as f:
f.write(code)
+4
View File
@@ -1,3 +1,7 @@
# ruff: noqa
# black: skip
# mypy: ignore-errors
from .multilang_prompt import MultiLangContainer, MultiLangPromptTemplateCollection, PromptList