-
Notifications
You must be signed in to change notification settings - Fork 8
Open
Labels
help wantedExtra attention is neededExtra attention is needed💡featureThis issue or pull request is related to a new feature.This issue or pull request is related to a new feature.
Description
Describe the feature
To support users in encapsulating the process of reusing infrastructure configuration through functions.
Use Case
I am creating a Chatbot based on LLMs (Large Language Models), using Pluto to build the application's backend, which supports multiple LLMs. Each LLM has two interfaces: 1) /{model}/info to get the basic information of the current LLM, and 2) /{model}/invoke to call the LLM. To reuse the process of configuring routes, it is necessary to implement a function to configure routes for a single LLM, and call this function multiple times to configure routes for each LLM.
Proposed Solution
No response
Other Information
Details are available at https://github.com/pluto-lang/pluto/blob/main/docs/documentation/design/function-encapsulation.en.mdx
Acknowledgements
- I may be able to implement this feature request
- This feature might incur a breaking change
Metadata
Metadata
Assignees
Labels
help wantedExtra attention is neededExtra attention is needed💡featureThis issue or pull request is related to a new feature.This issue or pull request is related to a new feature.