In that video, I'm using the API directly, so I didn't need to set up a Vertex AI cloud project. I've done that before, but I prefer not to if I don't have to. I'm pretty sure that without using a cloud project this was all free, but that may be changing very soon. The price per access for the API, however, is very small.
@@talesfromthejarside Understood, thank you. And another question, will it be okay if I do not use sealed interface and instead of this use public interface Part {} ?
@@lilit_hovh Oh, certainly. The sealed interface becomes really helpful when you need to use a switch expression, because they have to be exhaustive, and using a sealed interface is like using an enum -- you know exactly which options are available. You can use a regular interface if you prefer, or just separate classes without an interface in common if that's your preference. Good luck!
Thank you! This is fresh! You, sir, are fresh!
I'll have to ask my son, but I strongly suspect he'll just laugh 😂
Thank you. It's cool that you used java 21
I wondered whether that was a good idea or not. Glad somebody liked it :-)
You sir, a life saver thank you .
Glad I could help 🙂
Very good video. I wanted to ask you a question, I want to make an application to download videos from you tube, can it be done with spring boot?
I don't know why not. Spring has several http clients to choose from
Thank you for video and I have a question: are you using google cloud or not(I mean must google cloud be used or not), and is this all free?
In that video, I'm using the API directly, so I didn't need to set up a Vertex AI cloud project. I've done that before, but I prefer not to if I don't have to. I'm pretty sure that without using a cloud project this was all free, but that may be changing very soon. The price per access for the API, however, is very small.
@@talesfromthejarside Understood, thank you. And another question, will it be okay if I do not use sealed interface and instead of this use public interface Part {} ?
@@lilit_hovh Oh, certainly. The sealed interface becomes really helpful when you need to use a switch expression, because they have to be exhaustive, and using a sealed interface is like using an enum -- you know exactly which options are available. You can use a regular interface if you prefer, or just separate classes without an interface in common if that's your preference. Good luck!
@@talesfromthejarside Oh thank you very much and one more question: in GeminiInterface can I change @HttpExchange to @RequestMapping will it be okay?
Thanks sir
You're welcome. Hope it helps :-)