Okay.
So this is the level two application number five you're going to learn.
So these are very interesting prototype.
And what this is doing is it is extracting some information from product reviews.
So in this case we have said that it is going to extract three, uh, key information from each product
review the sentiment of the review, how long it took it to deliver and how was its price perceived
by the user.
Remember that a this information can only be extracted if it is in the product review.
So what we have done is we have gone to Amazon.com and we have gone to one particular product.
This is the last book I, I, I read the book never finished by David Goggins.
Very interesting book, probably.
You know, David Goggins is a very interesting guy.
Uh, that a a well, he was in the, in the Navy Seals and he has an amazing trajectory and background.
But in this second book, you know, you you find even more interesting adventures of of this person.
Very interesting.
So I was my main interest was to copy one of the product reviews that some of the customers have entered
for this product.
So I just copy this review and I have paste the review here.
So now I'm going to.
Enter a our OpenAI API key here and press enter to apply.
Once I do this, our application is going to extract the information from this product review.
If the information is available.
So the first key information we want is the sentiment.
So this user has given five stars to this product.
So obviously this is a positive review.
And for the only for for for the other two questions we don't have information because the the user
is not talking about how long it took to deliver the product or how he perceive the price if it was
expensive or cheap or whatever.
Okay, so since this information is not there, the application is is saying this is not here, okay.
No information about this and and no.
So these are very interesting prototype.
You don't have to think that.
These prototypes we are preparing here are just toy prototypes.
Because a all the sophisticated and complex professional applications start with a very simple prototype
like this.
Okay.
So they focus on the main the core functionality, and they simplify that functionality to the maximum
level.
So instead of having a prototype that can handle 1000 product reviews, we initially build just one
prototype for one product review.
Because prototypes need to be simple, easy to develop and fast to develop.
The main purpose of a prototype, as you know, is to get the feedback from the potential user, customer,
your manager, whatever the important a role, the important function, the purpose of a prototype is
to get feedback, to understand better what you must do in the next step of the process, which is to
build a professional application, what we call a level three application.
Okay, so this prototype is a very interesting prototype.
It does a very interesting thing.
And if you take a look at the code you will see that the code is very simple okay.
So you have just three packages here.
And the functionality is very easy.
And you are also familiar with most of it okay.
So this is long chain functionality with some a a spicy Streamlit functionality attached.
Okay.
So nothing new for you here.
Now download this code, execute it in your computer, play with it and then repeat it line by line,
writing it yourself.
And while you are writing, try to experiment.
Make questions, understand what you are doing and if not, just ask ChatGPT for extremely documentation,
etc. etc..
Okay, and once you feel comfortable with this application and only then you go to the next application.