Forum in maintenance, we will back soon 🙂
The Art of Repetition
Hi friend, good job, but I think you should print the number also beside "Even Number...."
Great!
Good Job Friend 🙂
Hello Hasan,
I am making progress in the course. I have run into a couple issues today.
I'm using web_search.py. I cannot resolve the import serp issue. I registered at valuserp.com and plugged my api into serp.py. In web_search I installed search_google (I hope this will not create issues), I tried to install api.valueserp.com and I tried to install serp. I am guessing there is something I need to pip install and I cannot figure out what it is. I have attached a picture of the issue. The script and prompt worked but I still show the problem, "import serp could not be resolved".
For some reason I only received two summary results the first several times I ran web_search. After multiple attempts it finally provided the requested output (3).
I altered your instructions regarding burstiness. AI was listing your instructions as bullet points an earlier exercise. The AI still occasionally refers to the instructions even though I have instructed it to not do so. I am finding that one may need to run the prompts more than once to get the proper output.
Â
Thank you,
Steve Morgan
I found something else I cannot figure out. When using sentiment_analysis the response is repeated. There are two words. I altered the prompt to tell the AI to not repeat the response and to also only respond one time. Nothing works. It continues to list the word two time. Can you help?
Â
Thank you.
Â
I resolved the sentiment analysis issue. I have not resolved the serp issue.
Â
Thank you
@morgan-steve Hi Morgan.
when you run the script, is it showing that "serp module not found" ??
can you share a screenshot of the script output
I hope this is what you are asking for. I've been tied up elsewhere the last week. Thanks
Â
Did you run the script?
please try running it from the terminal
Â
I was able to get on today and run the web_search script. No module named serp. I have attached the screen shot. I also attached the result when I attempted to install serp. I also attached the three pages of the serp script. I have entered my own api for valueserp. I noticed that json is not installing on the serp script. I don't know how to install it. Maybe serp will not install because json is not functioning? I don't know. Thank you.
Â
@morgan-steve serp is the name of the module I created, there is nothing to install.Â
can you zip the solution as it is, and send it to me, so I can check my side.
Â
Â