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

[Data] Adapt {span} prompts to custom input functionality #36

Closed
3 tasks done
nfelnlp opened this issue May 11, 2023 · 0 comments
Closed
3 tasks done

[Data] Adapt {span} prompts to custom input functionality #36

nfelnlp opened this issue May 11, 2023 · 0 comments
Assignees
Labels
invalid This doesn't seem right

Comments

@nfelnlp
Copy link
Member

nfelnlp commented May 11, 2023

There are a few prompts that are based on the notion of the string filter being part of the user question. However, we changed that recently to be handled by either the string filter input box next to the dataset viewer or the custom input dropdown option, so these prompts would have to be slightly adapted:

  • global feature importance (not applicable)
  • filter
    includes {span} -> includes
    When a string filter is used, the backend will use the filtered dataset as the temp_dataset.
    The user questions are modified slightly to allow for two kinds of formats:
  1. The span is part of the question, i.e. a {span} placeholder
  2. The span is not mentioned explicitly, but reffered to as "my query", "search term" or "filter", e.g. "Can you display all occurrences where my filter applies?"
@nfelnlp nfelnlp added the invalid This doesn't seem right label May 11, 2023
@nfelnlp nfelnlp added this to the BoolQ Prototype milestone May 11, 2023
@nfelnlp nfelnlp self-assigned this May 11, 2023
@nfelnlp nfelnlp closed this as completed May 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
invalid This doesn't seem right
Projects
None yet
Development

No branches or pull requests

1 participant