An open API service indexing awesome lists of open source software.

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

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
![img.png](img.png)

# 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.