Updates : ---------------------------------- 1) Spring AI repositories have been updated and all these OpenAI dependencies are available on the start.spring.io/ . It means you don't need to add the dependencies manually and it can be added directly just by clicking on the "Add Dependencies" on start.spring.io. 2) As you would be using updated version of Spring AI. Please do autowire ChatModel or OpenAIChatModel instead of AIClient.
Yes. By default, they are using gpt-3.5-turbo. You can change the model by updating this parameter in the resource/application.properties file. spring.ai.openai.chat.options.model = gpt-4o You can refer my latest videos in the Spring AI series for the same.
@@TechyTacos Another question is that how many tokens are allowed for an answer, I am trying to generate an itinerary hence would require atleast 300 tokens.
This totally depends on the model which you are leveraging in your application. All models would support the required tokens what you are looking for. Please refer this for the models and its corresponding token details : platform.openai.com/docs/models/gpt-4-turbo-and-gpt-4
I have placement in next year.. And i am thinking of integration of AI my portfolio like ai assistance that summarizes my projects to interviewer.. So my tech stack is springboot + react etc etc.... What should i choose python or speing AI I need only one feature now i have to learn python for that... Please help
Nice content brother but will it be actually usfull in ai industry? because they are mostly using python as it is widly usefull for ai and machine learning
Yes. you are right ! There is no comparison of Python and Java in traditional Machine Learning and AI space. But, for Gen AI, I feel there is a scope as SpringBoot is already a well known and established framework to build industry ready applications. So, if the platform itself gets matured enough (that's why they have introduced Spring AI) to handle Gen AI ecosystem as well then it would be easier to grasp for Java developers rather than learning new language and framework altogether.
Iam also worrying that java developers really required to switch the career to python with AI and machine learning..or shall we continue as java developer with AI?
Updates :
----------------------------------
1) Spring AI repositories have been updated and all these OpenAI dependencies are available on the start.spring.io/ . It means you don't need to add the dependencies manually and it can be added directly just by clicking on the "Add Dependencies" on start.spring.io.
2) As you would be using updated version of Spring AI. Please do autowire ChatModel or OpenAIChatModel instead of AIClient.
I saw few other videos on the same topic but this is the simplest one, thanks for the video
Glad you liked it
Good information, Thank You.
very nice explanation and AI going well to know .
so i can now write more cleaner code thanks bro
Nice, thanks brother
Wow, thank you🎉
Good video.
7:50 You now need to delete this api key because you've shown it to the world :)
Yup, this has been taken care of ! :)
Dear sir i m not able to purchase openai api , show that Your card does not support this type of purchase what to do , even internation option is ON
plz reply
It should work. It may be related to your card. I would suggest to try another card.
Which AI model is being used here, as we are not specifying the model being used like gpt-3.5-turbo,etc?
Yes. By default, they are using gpt-3.5-turbo.
You can change the model by updating this parameter in the resource/application.properties file.
spring.ai.openai.chat.options.model = gpt-4o
You can refer my latest videos in the Spring AI series for the same.
@@TechyTacos I want to look more into the class, but fail to identify any good documentations, can you help out?
@@TechyTacos Another question is that how many tokens are allowed for an answer, I am trying to generate an itinerary hence would require atleast 300 tokens.
This totally depends on the model which you are leveraging in your application. All models would support the required tokens what you are looking for.
Please refer this for the models and its corresponding token details : platform.openai.com/docs/models/gpt-4-turbo-and-gpt-4
Gpt-4o-mini is more economical and useful...
@@TechyTacos
I have placement in next year..
And i am thinking of integration of AI my portfolio like ai assistance that summarizes my projects to interviewer..
So my tech stack is springboot + react etc etc....
What should i choose python or speing AI I need only one feature now i have to learn python for that... Please help
I would suggest to go with Python as the ecosystem is more matured there. Spring AI will be there but it may take a while.
Ok❤
Hello, I am Chinese, I do not have an American phone number, I can not register ChatGPT, but I want to use Spring AI, is there any other way
Yes, you can use it.
How to connect this with frontend html
You can expose just as an traditional API and consume it at Frontend. This integration is not different than our what we have been already developing.
Nice content brother but will it be actually usfull in ai industry? because they are mostly using python as it is widly usefull for ai and machine learning
Yes. you are right ! There is no comparison of Python and Java in traditional Machine Learning and AI space. But, for Gen AI, I feel there is a scope as SpringBoot is already a well known and established framework to build industry ready applications. So, if the platform itself gets matured enough (that's why they have introduced Spring AI) to handle Gen AI ecosystem as well then it would be easier to grasp for Java developers rather than learning new language and framework altogether.
Iam also worrying that java developers really required to switch the career to python with AI and machine learning..or shall we continue as java developer with AI?