Discover our blogs

Java AI

By Ajithkumar | September 6, 2025

Category: Developer Series

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 

 

 

 

Login to Comment

You might also like…

Explore fresh insights, tips, and stories from our latest blog posts.

Top 10 AI Blogs Every Learner Should Follow
Top 10 AI Blogs Every Learner Should Follow

Top 10 Blogs AI Learners Should ReadIntroductionArtificial Intelligence (AI) is rapidly changing the way we learn, work, and interact with technology. For beginners and professionals …

Understanding MCP (Model Context Protocol) – How AI Handles Context Effectively
Understanding MCP (Model Context Protocol) – How AI Handles Context Effectively

&nbsp; &nbsp; In AI and large language models (LLMs), maintaining context across multiple interactions is crucial. MCP, or Model Context Protocol, is a framework that …

Java AI
Java AI

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 …

AI is set to create new opportunities in the 2025.
AI is set to create new opportunities in the 2025.

IntroductionArtificial Intelligence (AI) is no longer just a futuristic idea – it is already transforming workplaces across the globe. From chatbots to coding assistants, automation …

Too Many LLMs? Here’s a 5-Step Framework to Choose the Right One  By G. Vikram
Too Many LLMs? Here’s a 5-Step Framework to Choose the Right One By G. Vikram

&nbsp;Too Many LLMs? Here’s a 5-Step Framework to Choose the Right One &nbsp;By G. Vikram Digital Consultant | Architect | AI Advisor&nbsp;&nbsp;View Original Post on …

Reinforcement Learning
Reinforcement Learning

Reinforcement Learning (RL) is a part of Machine Learning where an agent learns by interacting with its environment and improving through trial and error — …

Best Online Resources and Books to Learn Artificial Intelligence (AI)
Best Online Resources and Books to Learn Artificial Intelligence (AI)

Why Learn AI?In today's world, Artificial Intelligence (AI) is becoming unavoidable. Whether you're in IT, marketing, finance, healthcare, or education, a basic understanding of AI …

What Is Neural Network in AI? Explained Simply
What Is Neural Network in AI? Explained Simply

Introduction&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;In today’s world, Artificial Intelligence (AI) is everywhere – from your phone's voice assistant to how Netflix recommends your next movie. …