Skip to main content
Configure SMTP, AWS, and AI models for your organization

Configuration Model

The Configuration model stores all operational settings required to run CoffeeRMS for a specific organization.
It acts as a single source of truth for infrastructure and AI behavior.

Configuration Model Structure

FieldTypeDescription
organizationIdObjectIdLinked organization
organizationNameStringCached org name
smtpConfigObjectEmail configuration
awsConfigObjectAWS credentials & services
aiModelsObjectAI provider/model mapping
isActiveBooleanEnables/disables config
createdAtDateCreation timestamp
updatedAtDateLast update timestamp

SMTP Configuration (smtpConfig)

FieldDescription
hostSMTP server hostname
portSMTP port
usernameSMTP username
passwordSMTP password
fromEmailSender email
fromNameSender name
secureSSL/TLS enabled

AWS Configuration (awsConfig)

FieldDescription
accessKeyIdAWS access key
secretAccessKeyAWS secret
regionAWS region
s3BucketNameGeneral file bucket
s3CvBucketCV storage bucket
s3UrsBucketURS storage bucket
sesRegionSES region
cloudWatchLogGroupLog group
cloudWatchLogStreamLog stream
sdkLoadConfigSDK config flag
profileOptional AWS profile

AI Model Configuration (aiModels)

Each AI section uses the same structure:
FieldDescription
provideropenai / anthropic / google / azure / custom
modelNameModel identifier
Configured models:
  • Primary Model
  • URS Generation Model
  • Deep Search Model

Model Summary

The Configuration model ensures organization-specific isolation of infrastructure and AI behavior, allowing CoffeeRMS to scale securely across multiple tenants.