-
Notifications
You must be signed in to change notification settings - Fork 802
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
Suggest forum posts for unhandled technical questions #355
Comments
as discussed: it may make sense to look into the algolia api first to see if we can leverage search on the docs before suggesting the forum |
From Ella in today's all hands deck:
|
Also to extend on that (it seemed too much to add to all-hands)
which helps us determine if it was a sara issue or a lack of documentation. |
@rgstephens let me know if you need info/credentials for the algolia API |
Looks like there's a discourse-algolia plugin. It will index discourse (can optionally replace existing discourse search box - can see that feature here). Installation involves:
@erohmensing @akelad Shall we try loading this? |
hmmm but is there not some sort of search API on the forum? I mean how else does the search bar work 🤔 |
@rgstephens you should be able to use their search api directly, e.g. by watching the network requests when typing
and the response included 5 topics:
|
We aren’t using Algolia API for the forum search function. We are using Algolia for Analytics and the only API key we have is for the Analytics API. I’ll try the Discourse search. |
As Greg and I discussed in 1:1 yesterday:
|
Yes, sorry for my confusion on this. With the new API key Alan got us, I have a test function that extracts the top response from the Docs. I'll create a branch on rasa-demo and setup the Docs & Forum search. |
I have a basic implementation going. At this point, I'm adding two buttons in the However, I'm running into an issue returning a button with a URL but there's no href in the button as I would expect and Mr. Bot seems to support it. I'm going to look into the Mr. Bot code to see what's going on there. I also now have a |
Mr. Bot currently allows only a single button with a link. It uses a separate My thinking was to add a link to the top Docs & Forum URL's to the end of the button list provided by I think the next step is to look in more detail at enhancing Mr. Bot. It would seem preferable to me for Mr. Bot buttons to handle markdown style URL links. |
what do you mean here? We shouldn't have to run Mr bot at all for this. you mean just for opening it up in the widget instead of using rasa shell? not sure if that is necessary
@rgstephens that would be nice at some point, but lets not let it block the implementation of this functionality. I you can include markdown-styled links in the message itself, you can do that instead of adding buttons, in a list format, similar to how we give list in response to |
Interesting addition, I think it's a good idea. I think maybe a little OOS of this PR though, let's try to get |
I setup Will improve this formatting if we want a combined docs/forum response: |
yes i think that would be the best flow! sorry if that wasn't clear. |
Basically we ask the user "Did that help?" |
ok I closed out my other duplicate issues and mentioned them here just so we have visibility. |
I thought we were consolidating unmatched utterances into a single NLU related issue which would be resolved by writing more intent utterance examples. This issue is not about writing more NLU examples. |
I need to look at the following issues:
|
@rgstephens could you open a PR for what you already have? And the rest of those we can tackle separately. |
Ok maybe I'm super confused I thought anything related to being eventually answered by doc page routing was going here or being duped to here? |
@rgstephens another idea to add to your list of further enhancements: currently we have inputs like these under
I think we should make a separate intent for these vague "i have a problem" inputs, and then add something to the beginning of the technical question flow in this case, like "I can help you find documentation or other issues for that. Can you describe the problem you're having?" which would hopefully then lead into the technical question flow. |
@erohmensing Good idea, will split these into at least a couple of new issues when this one is closed. |
@rgstephens please go ahead and split them! nice work 👍 closed by #420 (p.s. if you put |
Right now we have an utterance |
based on this idea here: https://forum.rasa.com/t/wanted-new-ideas-for-the-rasa-demo-bot/873/111?u=akelad
Things to consider:
The text was updated successfully, but these errors were encountered: