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

[MODULE] - Interrogative question classifier #354

Open
jhoetter opened this issue Sep 27, 2023 · 0 comments
Open

[MODULE] - Interrogative question classifier #354

jhoetter opened this issue Sep 27, 2023 · 0 comments
Labels
cognition enhancement New feature or request

Comments

@jhoetter
Copy link
Member

Please describe the module you would like to add to bricks
Depending what kind of query/question type you have, you might need different search approaches; so detecting the type of query can be helpful to e.g. prioritize in retrieval. Some examples:

Keyword-query:
"Italian restaurants"
"Winter boots sale"
"SpaceX latest launch"
"Chocolate cake recipe"
"Jazz festivals 2023"

Interrogative-query:
"How do you make a sourdough starter?"
"When was the Declaration of Independence signed?"
"Who wrote the novel 'Pride and Prejudice'?"
"Where can I find the best sushi in Tokyo?"
"Why do leaves change color in the fall?"

Statement-query:
"Tell me about the history of the Eiffel Tower."
"Show me the weather forecast for New York next week."
"I want to know more about quantum physics."
"Give me options for vegetarian dinner recipes."
"I'm looking for books written by Jane Austen."

Do you already have an implementation?
The keyword classifier can be implemented by removing stopwords and seeing if the length of the sentence changed (significantly). Interrogative is rather "Why", "When", "How", "Where" and "Who".

Additional context
This is the classifier for interrogative questions; please use the "Why", "When", ... to detect this. Should be working for multiple languages at some point, beginning with German and English.

@jhoetter jhoetter added enhancement New feature or request cognition labels Sep 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cognition enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant