https://github.com/kparth01/ai-chatbot-springboot
An AI chatbot with Springboot & MangoDB
https://github.com/kparth01/ai-chatbot-springboot
ai chatbot chatbot-application chatgpt chatgpt-api java java-maven-container maven mongodb mongodb-atlas spring-boot springboot
Last synced: 3 months ago
JSON representation
An AI chatbot with Springboot & MangoDB
- Host: GitHub
- URL: https://github.com/kparth01/ai-chatbot-springboot
- Owner: kparth01
- Created: 2025-07-21T16:29:55.000Z (11 months ago)
- Default Branch: main
- Last Pushed: 2025-07-21T17:36:54.000Z (11 months ago)
- Last Synced: 2025-07-21T19:32:39.199Z (11 months ago)
- Topics: ai, chatbot, chatbot-application, chatgpt, chatgpt-api, java, java-maven-container, maven, mongodb, mongodb-atlas, spring-boot, springboot
- Language: Java
- Homepage:
- Size: 2.58 MB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# ai-chatbot-springboot:
An AI chatbot with Spring-boot & MangoDB
# Sample of the API response:
- This project integrates with `gpt-4o-mini` of ChatGPT & generate the sample response for questions as below

# How to obtain API Key:
- Create an account in below portal & generate API Key.
- You will be required to add some credits (5 USD) to start testing the API.
`https://platform.openai.com/settings/organization/api-keys`
- Put the API key in `application.yml` files.
# Create Mongo Atlas DB instance using free tier:
- Visit the below link & create a free account.
`https://www.mongodb.com/cloud/atlas/register`
- Checkout below link to setup Mongo Atlas DB for dev env.
`https://www.youtube.com/watch?v=bBA9rUdqmgY`
- Put the url of Mongo Atlas DB in `application.yml` file.
@Credits to `https://www.baeldung.com/java-langchain-mongodb` for inspiration & explanation.