multilspy 6bdf19b0fd0fa5a809e1989b334bbfe9d8a7051a

commit 6bdf19b0fd0fa5a809e1989b334bbfe9d8a7051a
  Author: Dominik Jain <dominik.jain@outlook.com>
  Date:   Tue Jun 3 13:32:46 2025 +0200

      Delete README in source package

  src/interprompt/README.md
This commit is contained in:
Dominik Jain
2025-06-03 13:32:55 +02:00
parent 298475af47
commit 6d9d3adac8
3 changed files with 1 additions and 20 deletions
+1 -1
View File
@@ -1 +1 @@
19306a2b937d72f022e103efed6344ce67322e80
6bdf19b0fd0fa5a809e1989b334bbfe9d8a7051a
-1
View File
@@ -1 +0,0 @@
5ae12bcaa21ba41c78621db06aa78062258c89cd
-18
View File
@@ -1,18 +0,0 @@
# The interprompt Package
This package is independent of Serena. It contains code by Oraios AI that we developed for
convenient handling of prompt templating in various situations, in particular in multi-language scenarios
(hence the name as portmanteau from internationalization prompting)
It is not yet released as separate package and will be developed together with Serena.
While Serena itself does not need the multi-language aspect (for now), `interprompt` helps
with loading and rendering of the templates through the autogenerated `prompt_factory` module.
The main (and usually only) entry point one needs is the function `interprompt.autogenerate_prompt_factory_module`
that will generate a module with a `PromptFactory` class that contains one method per prompt template and prompt list.
For a single-language case, the main added value from that class are the method names and the parameter names that are read off
from the jinja templates, allowing clean and safe templating within python without having to write any code.
For multi-language use cases, the `PromptFactory` adds even more value by offering simple and unified interfaces for
internationalization in prompting.