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

Rephrasal extension #111

Open
fedenanni opened this issue Nov 19, 2024 · 0 comments
Open

Rephrasal extension #111

fedenanni opened this issue Nov 19, 2024 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@fedenanni
Copy link
Collaborator

Currently for a prompt we generate one rephrased. It would be interesting to scale this up, however the main challenge is automatically parsing the output (and ensuring consistency across LLMs).

If we use a prompt like the following:

Rephrase the sentence "{INPUT_PROMPT}" five times and provide the output strictly as a JSONL object, one sentence per line. Do not include any additional text.

First we can check if the obtained output is a JSONL object (otherwise return a message ot the user), then if the number of element is required number of variations and only then we produce the output.

What do you think? Any other format which is better?

@fedenanni fedenanni added the enhancement New feature or request label Nov 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants