Hi Everyone,
I am thrilled to write my first blog in Teltam. I am writng about the current trend which is AI. Since I am from Java background i am writting a blog to how to connect the LLM models like claude, ChatGPT and deepseek.
We can create an own promting app which will connect with the LLM tools via the springboot App.To enable this feature we can create and REST API endpoints using Springboot App.
First step we have to create a springboot app and add the dependency to enable the way to connect with LLM moels.
First create a sprinboot app in typical way and add the below dependency.
The dependency is
<dependency>
<groupId>org.springframework.ai</groupId>
<artifactId>spring-ai-bom</artifactId>
<version>1.0.0</version> <!-- Replace with the desired version -->
</dependency>
<dependencies>
<dependency>
<groupId>org.springframework.ai</groupId>
<artifactId>spring-ai-openai-spring-boot-starter</artifactId>
</dependency>
Once APP is created we have to geneatre the API key from the openAI for ChatGPT connection.
but for claude you not need to create an API key since it will run in your local.
Other details i will share the next blog
