-
Notifications
You must be signed in to change notification settings - Fork 2
Add Function to open a website #1
Comments
I would love to contribute to this issue. Can you elaborate on the issue a little more, please? |
I would like to contribute to this, but I need to know what website needs to be opened, like more details |
Any website that user wants like: |
I am a bit busy today. Please wait. I will send a PR by today night if I complete it :) |
When I run your program:- |
If I go ahead and edit the map.py to have
|
See the readme file: add at top: import requests (Optional) Make changes in ..venv\Lib\site-packages\bardapi\models\tools\map.py if gives any error like Tuple not found. from typing import Optional, Tuple, List |
do this: from typing import Optional, Tuple, List |
ok thanks. I got a school assignment today, so I couldn't keep my words. I will try to complete it by tmmro noon. Please don't reassign it to anyone :) |
@imkrishnasarathi Not problem. I am also a school student I can understand. I will not unassign you. As we are friends.👏 |
Now this :-
|
If I import requests in the core.py file, then I get this:-
|
Add .env file. Check readme.md and contributing.md for that @imkrishnasarathi . |
Ok thanks |
Done. Submitted a PR |
🚨 I don't think the issue is resolved yet... this issue is not just any if-else type of problem as context & sentiment must also be considered. For example; if someone types "I cannot open youtube.com due to XYZ error. What should I do?" In this case, @imkrishnasarathi 's code will open the website but that was not what the user asked for. |
Oh I just did the simple solution for just opening it
…On Thu, 5 Oct, 2023, 9:50 PM YUVRAJ SINGH SUKHMANI, < ***@***.***> wrote:
🚨 I don't think the issue is resolved yet... this issue is not just any
if-else type of problem as context & sentiment must also be considered. For
example; if someone types "I cannot open youtube.com due to XYZ error.
What should I do?" In this case, @imkrishnasarathi
<https://github.com/imkrishnasarathi> 's code will open the website but
that was not what the user asked for.
The solution to this issue is relatively comprehensive where you need to
identify if the user wants to open a website or wants an answer. This can
be solved by either training your own model using custom data (query -
answer) which is for this particular task only or using any other
pre-trained summarize etc.... & based on its output we can decide if to
open a webpage or provide an answer @p7uverma
<https://github.com/p7uverma>
—
Reply to this email directly, view it on GitHub
<#1 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AUO4KGGXZTKEDUXH5OOQLYDX53M3XAVCNFSM6AAAAAA5PGTVGOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTONBZGI2TGOBVGQ>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
@sukhmani1303 Got you! If you're able to do that try and fix this. I have assigned you this task. |
It's a very comprehensive issue actually... will take a lot of time but i will try 👍 |
Write an "if" statement to open a website when a user says any keyword in a query.
The text was updated successfully, but these errors were encountered: