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

Built-in prompt compression #68

Open
vincentgiraud opened this issue Aug 20, 2024 · 2 comments
Open

Built-in prompt compression #68

vincentgiraud opened this issue Aug 20, 2024 · 2 comments
Labels
enhancement New feature or request

Comments

@vincentgiraud
Copy link

vincentgiraud commented Aug 20, 2024

Optimization being part of prompt design, it'd be great to integrate a tool like LLMLingua in the VSC extension.

The prompty file could have a compression section:

compression:
    rate: 0.55
    target_token: 200
    ...
@wayliums
Copy link
Member

I think this is a great idea. @sethjuarez what do you think?

@wayliums wayliums added the enhancement New feature or request label Aug 22, 2024
@sethjuarez
Copy link
Member

In general it should be able to be done in the render/parse step - maybe we could add an invoker for this?

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

3 participants