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!