spring: datasource: url: ${DB_URL:jdbc:postgresql://master:30432/aiteacher} username: ${DB_USERNAME:user} password: ${DB_PASSWORD:password} driver-class-name: org.postgresql.Driver jpa: hibernate: ddl-auto: update show-sql: false properties: hibernate: format_sql: false dialect: org.hibernate.dialect.PostgreSQLDialect open-in-view: false flyway: enabled: true locations: classpath:db/migration ai: vectorstore: pgvector: dimensions: 1536 distance-type: COSINE_DISTANCE index-type: HNSW initialize-schema: false openai: api-key: ${OPENAI_API_KEY} chat: options: model: gpt-4o embedding: options: model: "text-embedding-3-small" servlet: multipart: max-file-size: 100MB max-request-size: 100MB task: execution: pool: core-size: 4 max-size: 8 queue-capacity: 50 logging: level: "[org.apache.pdfbox]": ERROR app: auth: password: ${APP_PASSWORD:changeme} figure-storage: base-path: ${FIGURE_STORAGE_PATH:./uploads} min-image-size-px: 100 embedding: batch-size: 20 batch-delay-ms: 2000