-
Notifications
You must be signed in to change notification settings - Fork 36
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
Add feature "Ask a question" using semantic search API #1652
Add feature "Ask a question" using semantic search API #1652
Conversation
- Add another search type to ask a question - Uses semantic search API to load the response - Use baniDB API /shabads endpoint to get the missing data
- Also, few code optimizations and error handling based on the PR review
- also switch to newer search result endpoint of baniDB API instead of /shabads
In order for this code to work, we need to merge the BaniDB endpoint and deploy it to production |
I see this issue of the dropdown not appearing correctly on subpages. @Gauravjeetsingh |
I would like the "let us know" to be linked to our contact page (https://support.khalisfoundation.org/support/tickets/new) The link should not be underlined. |
NEW Click here to get your questions answered from the Gurbani. I would like this to read: NEW Get your questions answered by our AI Gurbani bot! Try it now. Try it now should be the link, not underlined. AI is quite a buzzword right now so I think it will attract people. |
@saintsoldierx veerji, couldn't reproduce the dropdown issue, is it happening everytime? Or at a certain screen size? Done with other two changes. |
npm test
& fixed newly introduced lint errors.Used the /shabads endpoint of banidb API and parsed the data to only what's required. We can update it once we have a separate endpoint to load just the verses we need.
Here is it in action:
Deployment link: https://khalis-herok-gurbanibot-6k71ha.herokuapp.com/