Gemini and Java: Quick and Easy

Поділитися
Вставка
  • Опубліковано 11 лис 2024

КОМЕНТАРІ • 16

  • @subpaulz
    @subpaulz 10 місяців тому

    Thank you! This is fresh! You, sir, are fresh!

    • @talesfromthejarside
      @talesfromthejarside  10 місяців тому

      I'll have to ask my son, but I strongly suspect he'll just laugh 😂

  • @aladeli
    @aladeli 10 місяців тому

    Thank you. It's cool that you used java 21

    • @talesfromthejarside
      @talesfromthejarside  10 місяців тому +1

      I wondered whether that was a good idea or not. Glad somebody liked it :⁠-⁠)

  • @sphesihlemanuel2933
    @sphesihlemanuel2933 7 місяців тому

    You sir, a life saver thank you .

  • @DevDojo-xv1ov
    @DevDojo-xv1ov 7 місяців тому

    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?

    • @talesfromthejarside
      @talesfromthejarside  7 місяців тому +1

      I don't know why not. Spring has several http clients to choose from

  • @lilit_hovh
    @lilit_hovh 7 місяців тому

    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?

    • @talesfromthejarside
      @talesfromthejarside  7 місяців тому +1

      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.

    • @lilit_hovh
      @lilit_hovh 7 місяців тому

      @@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 {} ?

    • @talesfromthejarside
      @talesfromthejarside  7 місяців тому +1

      @@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!

    • @lilit_hovh
      @lilit_hovh 7 місяців тому

      @@talesfromthejarside Oh thank you very much and one more question: in GeminiInterface can I change @HttpExchange to @RequestMapping will it be okay?

  • @freebusdoctor
    @freebusdoctor 10 місяців тому

    Thanks sir