Skip to content

feat(plugin/faq-analyzer): creation of a FAQ analyzer plugin #61

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

Draft
wants to merge 53 commits into
base: master
Choose a base branch
from

Conversation

matthewbotpress
Copy link
Member

@matthewbotpress matthewbotpress commented May 6, 2025

Coming soon...

@matthewbotpress
Copy link
Member Author

matthewbotpress commented May 6, 2025

I realized that im using table searches / updates on the client rather than on the table itself. I need to reference this: https://botpress.com/docs/api-reference/tables-api/openapi/createTableRows for plugin client (basically just botpress client but typed)

I'll update the code when I have a chance.
States are still bugged (problem with plugins themselves not the plugin I created) --> doesn't change being in the emulator or webchat. I added defensive handling to skip em and allow the rest of the bot to function irregardless.

@matthewbotpress
Copy link
Member Author

Replacing the zod with @bpinternal/zui --> https://www.npmjs.com/package/@bpinternal/zui

fixes the e.toTypescript error producing with the zai extract.

However, the plugin is still not functioning as expected.

@matthewbotpress
Copy link
Member Author

[BUG]: Latest update adds every question (last and most recent array) --> creating disparity and latency ig

@matthewbotpress
Copy link
Member Author

[BUG]: context understanding at times

@matthewbotpress
Copy link
Member Author

Fixed issues above.

Remaining issues before Im able to start optimizing + making code quality better:

  1. If a user sends multiple messages in succession BEFORE the bot finished replying, might cause the same question to appear twice in the table.

  2. Minor semantic touchups.

@matthewbotpress matthewbotpress changed the title [WIP] feat(plugin/faq-analyzer): creation of a FAQ analyzer plugin feat(plugin/faq-analyzer): creation of a FAQ analyzer plugin May 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant