You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, to work with modules, you need to manually create a module file from scratch and manually pass it to the server every time using the --module parameter. It'd be nice to have some assistance and ergonomics around this.
Solution Proposal
Move parlant.toml to under PARLANT_HOME
Add a CLI groupmodule
Add a command parlant-server module init NAME to initialize a new module. This command should create the file and output its created location at $PARLANT_HOME/NAME.py
Support template parameters. For example, --tool-service should create the module using a tool service template.
In the future, we will have templates life lifecycle hooks, registering custom NLP models, etc..
Add a command parlant-server module enable NAME that adds it to parlant.toml so that it's automatically loaded each time even when not specified in the CLI when starting the server
Add a command parlant-server module disable NAME that removes it from parlant.toml# Discussion
Add any other context or open questions about the feature request here.
The text was updated successfully, but these errors were encountered:
Motivation
Currently, to work with modules, you need to manually create a module file from scratch and manually pass it to the server every time using the
--module
parameter. It'd be nice to have some assistance and ergonomics around this.Solution Proposal
parlant.toml
to underPARLANT_HOME
module
parlant-server module init NAME
to initialize a new module. This command should create the file and output its created location at$PARLANT_HOME/NAME.py
--tool-service
should create the module using a tool service template.parlant-server module enable NAME
that adds it toparlant.toml
so that it's automatically loaded each time even when not specified in the CLI when starting the serverparlant-server module disable NAME
that removes it fromparlant.toml
# DiscussionAdd any other context or open questions about the feature request here.
The text was updated successfully, but these errors were encountered: