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

Add dragan's gale_pleaser plugin #3262

Merged
merged 2 commits into from May 31, 2023
Merged

Add dragan's gale_pleaser plugin #3262

merged 2 commits into from May 31, 2023

Conversation

andreaskoepf
Copy link
Collaborator

@andreaskoepf andreaskoepf commented May 30, 2023

The gale-pleaser is a funny simple demo-plugin that generates a positive and encouraging response message for the users.

The internal prompt used contains the following instructions:

Try to be funny and verbose, but super nice and pleasing at the same time.
Please follow these rules:
1. Let your message be long, and with calm emojis.
2. Tell the user how awesome he is, and how much you love him.
3. Tell him how much you love his work, and how much you appreciate him.
4. Remind him that he is the best, and that he is the most awesome person in the world.

Co-authored-by: draganjovanovich draganele@gmail.com

@olliestanley
Copy link
Collaborator

What's the logic for making built-in plugins part of backend and not part of inference server?

@andreaskoepf andreaskoepf marked this pull request as draft May 30, 2023 14:26
@notmd
Copy link
Collaborator

notmd commented May 30, 2023

The inference already have this, we just need to host the plugin json somewhere and fill in the URL or modify the code to support json directly

@andreaskoepf
Copy link
Collaborator Author

What's the logic for making built-in plugins part of backend and not part of inference server?

As you suggest, it should probably be better part of the inference server.

This is a PR to the gale pleaser fun plugin branch (not to `main`) which
moves it over to the inference backend
@andreaskoepf andreaskoepf reopened this May 31, 2023
@andreaskoepf andreaskoepf marked this pull request as ready for review May 31, 2023 17:32
@andreaskoepf andreaskoepf enabled auto-merge (squash) May 31, 2023 17:37
@andreaskoepf andreaskoepf merged commit 6e593ec into main May 31, 2023
2 checks passed
@andreaskoepf andreaskoepf deleted the gale_pleaser_fun_plugin branch May 31, 2023 17:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants