Skip to content

Draft: Refactor the public interface of completion module

Hongtao Yang requested to merge add-huggingface into main

What does this merge request do and why?

Follow up on https://gitlab.com/gitlab-org/modelops/applied-ml/code-suggestions/prompt-library/-/merge_requests/70#note_1566379801

This MR clean up the public interfaces of the completion module.

How to set up and validate locally

Numbered steps to set up and validate the change are strongly suggested.

Merge request checklist

  • I've ran the eval_codebase.py pipeline to validate that nothing is broken.
  • Tests added for new functionality. If not, please raise an issue to follow up.
  • Documentation added/updated, if needed.

Merge request reports