As an automated service, I want to be able to detect questions in social media posts so that I can provide answers to questions that have not been answered yet.
Acceptance Criteria
[ ] System can identify posts on Twitter that end with a question mark '?'.
[ ] System can verify if the identified question has not been answered.
[ ] System can filter out rhetorical and non-information-seeking questions.
[ ] System can prioritize questions based on the likelihood of providing a valuable answer.
[ ] System can extract the content of the question to process it.
[ ] System can interact with the LLM to generate an accurate and relevant answer.
[ ] System can post the answer as a reply to the original question post on Twitter.
[ ] System ensures that the rate of answering questions is compliant with Twitter's rate limits to prevent spam.
sequenceDiagram
participant T as Twitter API
participant QD as QuestionDetector
participant QA as QuestionAnswerer
participant LLM as LanguageModel
T->>+QD: Receive post
QD->>+QA: Identifies question post
QA->>+LLM: Sends question for answering
LLM-->>-QA: Returns answer
QA-->>-QD: Answer generated
QD-->>-T: Post answer
Question Detection Algorithm Specifications
As an automated service, I want to be able to detect questions in social media posts so that I can provide answers to questions that have not been answered yet.
Acceptance Criteria