Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat/dialog_transformer #2

Merged
merged 3 commits into from
Oct 7, 2023
Merged

feat/dialog_transformer #2

merged 3 commits into from
Oct 7, 2023

Commits on Oct 6, 2023

  1. feat/dialog_transformer

    example prompts
    
    ```
    @rewrite("Rewrite this as if written by H.P.Lovecraft")
    def lovecraftify(text: str):
        return text
    
    @rewrite(f'Add more "dude"ness to')
    def dudeify(text: str):
        return text
    
    @rewrite(f'Rewrite this as if being explained to a 5 year old')
    def eli5(text: str):
        return text
    
    utt = "Quantum mechanics is a branch of physics that describes the behavior of particles at the smallest scales. " \
        "It involves principles such as superposition, where particles can exist in multiple states simultaneously, " \
        "and entanglement, where particles become connected and can influence each other's properties."
    print(lovecraftify(utt))
    # Quantum mechanics unveils the eldritch secrets of the infinitesimal realm,
    # where particles, ensnared in the web of superposition, dwell in manifold states.
    # Through the dread phenomenon of entanglement, these entities intertwine,
    # their very essence entwined, shaping the fabric of reality.
    print(dudeify(utt))
    # Quantum mechanics is like, the raddest branch of physics, dude.
    # It's all about particles at the tiniest scales, doing crazy stuff like
    # being in multiple states at once (superposition) and getting all connected and influencing each other (entanglement).
    print(eli5(utt))
    # Quantum mechanics is like a special kind of science that helps us understand really tiny things.
    # It tells us that these tiny things can be in more than one place at the same time,
    # and they can also be connected to each other and affect each other's behavior.
    ```
    JarbasAl committed Oct 6, 2023
    Configuration menu
    Copy the full SHA
    a675d52 View commit details
    Browse the repository at this point in the history

Commits on Oct 7, 2023

  1. bump OPM

    JarbasAl committed Oct 7, 2023
    Configuration menu
    Copy the full SHA
    3c5b3b3 View commit details
    Browse the repository at this point in the history
  2. add plugin entrypoint

    JarbasAl committed Oct 7, 2023
    Configuration menu
    Copy the full SHA
    289b24a View commit details
    Browse the repository at this point in the history