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

Generalize the AI request trigger #15

Closed
j6k4m8 opened this issue Jun 7, 2023 · 2 comments
Closed

Generalize the AI request trigger #15

j6k4m8 opened this issue Jun 7, 2023 · 2 comments
Labels
enhancement New feature or request

Comments

@j6k4m8
Copy link
Member

j6k4m8 commented Jun 7, 2023

A PaperRemote should have its own totally isolated way of identifying a request. (The @ai tag is definitely not the right way to do this; I tried to keep it relatively easy to pluck out, but may have failed.)

This task is bipartite:

  • Add a way for a paperremote (maybe in get_next_edit_request) to look for triggers
  • Verify that the returned text has no remaining triggers unless they're deliberate (i.e., it's possible that it MIGHT be desired behavior to add a new trigger in the response to chain multiple calls to the AI, but that seems less likely than just accidentally forgetting to strip the comment or whatever)

If someone who is not me wants to tackle this, let's talk about some infra and design — I've started thinking about it a bit.

@j6k4m8 j6k4m8 added the enhancement New feature or request label Jun 7, 2023
@j6k4m8
Copy link
Member Author

j6k4m8 commented Jun 7, 2023

In Google Docs for instance (#13), it might make sense for the AI to respond to comments or assigned tasks (which I think under the hood is just a comment that starts with @username)

@wrongu
Copy link
Contributor

wrongu commented Jun 12, 2023

Closed by #21

@wrongu wrongu closed this as completed Jun 12, 2023
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