Model Handlers for Code Suggestion endpoint
Overview
Create 2 model handlers for the one endpoint with the intent set to generation for gitlab-code-generation and completion for gitlab-code-completion
Proposal
We need 2 model handlers for calling code-suggestions api, one for the code-creation pipeline, the other for the code-suggestions pipeline.
-
Move code-creation pipeline under code-suggestions. We should have 2 subcommand in our cli -
promptlib code-suggestions generation
, this subcommand contains all the stuff in the currentcode-suggestions
. -
promptlib code-suggestions completion
, this subcommand is the current code-creation pipeline.
-
-
Add a new model handlers for code-suggestions API, which will be used by promptlib code-suggestions generation
Further details
Links / references
Edited by Hongtao Yang