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

Feature idea: Documentation pass-along. #10

Open
arthurwolf opened this issue May 5, 2024 · 1 comment
Open

Feature idea: Documentation pass-along. #10

arthurwolf opened this issue May 5, 2024 · 1 comment

Comments

@arthurwolf
Copy link

In the series of "things I need / would really love to have / would make my life so much easier".

It'd be great to have the following feature:

  1. I can provide a series of matching keywords (regexps?) and blocks of text. The block of text (in my use case, maybe somebody else will do something else with the same feature) is say, a markdown cheat sheet for vuetify (the syntax of the components etc). And the regexp is /vuetify/i .
  2. Now, every time the prompt-tower extension sees "vuetify" in the generated prompt, it "pulls" the vuetify cheat sheet, and adds it to the prompt.
  3. This way, anytime I write a prompt for a project/code that uses vuetify, I'm certain the LLM will have the exact "real" syntax for the components instead of just "inventing" them on the fly (as they still often do for "less well known" projects).

Not only that, but as I generate my "cheat sheets", I'd definitely share them with the project (so others can improve upon them), so you could even have some cheat sheets / documentation matchers "by default" in your project.
Or it could be a separate extension that "plugs in" this one ?? Something like that.

This would be extremely useful to me, and I don't think it's too much of a massive effort to implement (at least I think...).

Just an idea :)

@arthurwolf
Copy link
Author

arthurwolf commented May 6, 2024

By the way, if (when) you do #7 and #8, I think I'll have everything I need as example code to implement this one (configuration and prompt injection), so if you do want this feature, when #7 and #8 are done i'll have a crack at trying to implement this one and do a PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant