feat: Implement the initial AI-native CRM backend application with Spring Boot, LangChain4j, and JPA persistence.

This commit is contained in:
2026-03-24 19:41:49 +08:00
commit 2adde55e08
26 changed files with 748 additions and 0 deletions
+28
View File
@@ -0,0 +1,28 @@
spring:
application:
name: ai-native-backend
datasource:
url: jdbc:postgresql://localhost:5432/ai_native_db
username: ai_agent_user
password: Agent@2026
driver-class-name: org.postgresql.Driver
jpa:
hibernate:
ddl-auto: none
show-sql: true
properties:
hibernate:
format_sql: true
dialect: org.hibernate.dialect.PostgreSQLDialect
langchain4j:
open-ai:
chat-model:
api-key: ${ZHIPU_API_KEY:61833436cbd642ed844d0128a99b2e89.PTbpERpysO3qSf8w}
base-url: https://open.bigmodel.cn/api/paas/v4/
model-name: glm-4-plus
log-requests: true
log-responses: true
server:
port: 8080