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

[DERCBOT-1385] Do not retrieve “Inboxed” phrases with FAQ questions. #1835

Merged

Conversation

assouktim
Copy link
Contributor

@assouktim assouktim commented Jan 28, 2025

This PR ensure that the FAQ question tab only gets the sentences that were train for this FAQ and not all the sentences classified automatically for this FAQ.

@assouktim assouktim self-assigned this Jan 29, 2025
@assouktim assouktim added the bug label Jan 29, 2025
Copy link
Member

@Benvii Benvii left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok b

),
ne from listOf(
ClassifiedSentence::status,
ClassifiedSentenceStatus.inbox
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why not explicitly getting validated and model ? I think it would be easier for someone who reads the code.

And it will be more stable if we introduce new status in the futur (archived ...)

Copy link
Member

@Benvii Benvii left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok for me 👍️

@scezen scezen self-requested a review February 14, 2025 14:32
@Benvii Benvii merged commit 9e5c0f2 into theopenconversationkit:master Feb 14, 2025
@Benvii Benvii deleted the fix/dercbot-1385 branch February 14, 2025 14:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Development

Successfully merging this pull request may close these issues.

3 participants