Thanks a lot. It works perfect. One query - how to scroll up messages automatically? Right now once the screen filled , new messages are hidden down behind keypad. It need to be scrolled up by mouse.
Yeah it can be achieved use the follow method Add following code in manifest of that particular activity ... After adding this make sure you add nestedscrollview for recyclerview. And then you will have achieved it
@DroidCity I follow this all and I use Java for this project,I convert your kotlin code into Java using ChatGpt but when I try to send the msg it is not send. It not make operation on btn click why? And in log said -reltred toE/RecyclerView: No adapter attached; skipping layout , can you help me to solve this plz
Are talking about parsing buttons? Yeah I do have but I am planning to find an optimize solution for this since the solution I found was just a solution ☺️ and not a perfect one, if you want you can contribute onto my GitHub repo. As I find the solution I will create a video for it
@@dishantgandhi6007 I'm talking about the regualar Rasa buttons with payloads. You could create another variable like you did for the images, then create buttons that have their text set as `buttons[i].title` and onClick they send `buttons[i].payload`. Then the interface displays the title and not the payload as the user message, like in Jitesh Gaikwad's widget instead of Rasa X. It would be awesome if you did a video about that! I personally have no problem with a non-optimized solution, I can do it myself, and I'll contribute to your repo for sure if I feel I found a better solution. My problem is that I've never built a mobile app before, so I just need a video to have a general idea on what to do, and refactor the code later :)
Thanks for videos. I have a question. I want the user's speech bubble to be on the right as in your blog. How can I fix the code? I've tried various things, but I keep failing. please help me
Hello. I watched the video and made it. However, if I continue the conversation, the order of the bot and my message gets mixed up, or the bot sends the wrong message. After training the same model with rasa x, there were no problems with the conversation. What's the problem? I think I followed your code, but I don't know why it doesn't work.
@@DroidCity I don't know what is causing this problem. Of course I'd love to see your videos and blog posts too, but can you tell me what's causing the problem?
Mix up for the conversation is because of recyclerview, you will have to use mvvm for keeping the order. Also, Message class nerds some optimization like just keeping one class for everything. That will do the work. If you are able to achieve or you need help please let me know. You can join discord server too so you can share screenshots or anything that you can't here
@@DroidCity thanks for your answer. but i dont know mvvm. so i will study it and i wait for your video. I will do my best to solve it too, but please video ASAP. again, thank you. I'll go to Discord when I really can't seem to solve it.
In onResponse, you can remove `if (reponse.body())!!.size > 1) {} else {}`, you're duplicating code Just do `for (message in 0 until response.body()!!.size)`
Thanks a lot. It works perfect. One query - how to scroll up messages automatically? Right now once the screen filled , new messages are hidden down behind keypad. It need to be scrolled up by mouse.
Yeah it can be achieved use the follow method
Add following code in manifest of that particular activity
...
After adding this make sure you add nestedscrollview for recyclerview.
And then you will have achieved it
@DroidCity I follow this all and I use Java for this project,I convert your kotlin code into Java using ChatGpt but when I try to send the msg it is not send. It not make operation on btn click why? And in log said -reltred toE/RecyclerView: No adapter attached; skipping layout , can you help me to solve this plz
Thanks a lot for these videos!
Are you planning to do one more video for buttons?
Are talking about parsing buttons? Yeah I do have but I am planning to find an optimize solution for this since the solution I found was just a solution ☺️ and not a perfect one, if you want you can contribute onto my GitHub repo. As I find the solution I will create a video for it
If you want then I will create one with non-optimize solution
@@dishantgandhi6007 I'm talking about the regualar Rasa buttons with payloads.
You could create another variable like you did for the images, then create buttons that have their text set as `buttons[i].title` and onClick they send `buttons[i].payload`.
Then the interface displays the title and not the payload as the user message, like in Jitesh Gaikwad's widget instead of Rasa X.
It would be awesome if you did a video about that! I personally have no problem with a non-optimized solution, I can do it myself, and I'll contribute to your repo for sure if I feel I found a better solution.
My problem is that I've never built a mobile app before, so I just need a video to have a general idea on what to do, and refactor the code later :)
@@ChrisLuigiTails yeah sure will create one soon.
@@DroidCity Amazing, thanks
Thanks for videos. I have a question. I want the user's speech bubble to be on the right as in your blog. How can I fix the code? I've tried various things, but I keep failing. please help me
Did you add wrap_parent for parent layout in user speech, there will be just a simple logical error, try comparing mine and yours XML code
Hello. I watched the video and made it. However, if I continue the conversation, the order of the bot and my message gets mixed up, or the bot sends the wrong message. After training the same model with rasa x, there were no problems with the conversation.
What's the problem? I think I followed your code, but I don't know why it doesn't work.
Yes, I have seen that. To solve this I have cave up with something new and good. I will be soon announcing it. Stay tuned!!
@@DroidCity I don't know what is causing this problem. Of course I'd love to see your videos and blog posts too, but can you tell me what's causing the problem?
Mix up for the conversation is because of recyclerview, you will have to use mvvm for keeping the order. Also, Message class nerds some optimization like just keeping one class for everything. That will do the work. If you are able to achieve or you need help please let me know. You can join discord server too so you can share screenshots or anything that you can't here
@@DroidCity thanks for your answer. but i dont know mvvm. so i will study it and i wait for your video. I will do my best to solve it too, but please video ASAP. again, thank you. I'll go to Discord when I really can't seem to solve it.
Sure, will upload soon!
Can you help me out for developing a food ordering bot app
Yes I can help you out
In onResponse, you can remove `if (reponse.body())!!.size > 1) {} else {}`, you're duplicating code
Just do `for (message in 0 until response.body()!!.size)`
I will check code and get back to you within 48hrs.
So, this can be done by the way, if you want then you can contribute to the code. And add this onto GitHub repo by creating a new pull request.
Hello I need help with my project so I need your assistance is there any possible way to contact?
hai can you help me out a hostel renting chatbot?
Sure, mail me your requirements droidcity0@gmail.com