Skip to content

SupportAgentConfig

reference
1 min readUpdated

Kind: Database Model

Source: atloria-monorepo/libs/database/prisma/schema.prisma

Fields

FieldTypeRequiredKey
idStringPK
projectIdStringunique
organizationIdString
slugString
descriptionString-
avatarUrlString-
primaryColorString-
sortOrderInt
includeUserDocsBoolean
includeTechnicalDocsBoolean
includeApiDocsBoolean
scopedCategoryIdsJson-
scopedCollectionIdsJson-
agentNameString
welcomeMessageString-
systemPromptString-
isEnabledBoolean
positionString
createdAtDateTime
updatedAtDateTime
chatInteractionsChatInteraction[]
chatSessionsChatSession[]
messagesChatMessage[]
slackIntegrationsSlackIntegration[]

Diagram

mermaid
erDiagram
    SupportAgentConfig {
        id String [PK]
        projectId String [UNIQUE]
        organizationId String
        slug String
        description String?
        avatarUrl String?
        primaryColor String?
        sortOrder Int
        includeUserDocs Boolean
        includeTechnicalDocs Boolean
        includeApiDocs Boolean
        scopedCategoryIds Json?
        scopedCollectionIds Json?
        agentName String
        welcomeMessage String?
        systemPrompt String?
        isEnabled Boolean
        position String
        createdAt DateTime
        updatedAt DateTime
        chatInteractions ChatInteraction[]
        chatSessions ChatSession[]
        messages ChatMessage[]
        slackIntegrations SlackIntegration[]
    }
    SupportAgentConfig ||--|| Project : ""
    SupportAgentConfig ||--|| Organization : ""

Relationships

  • HAS_ONE → Project
  • HAS_ONE → Organization

Referenced By

  • ChatSession (HAS_ONE)
  • ChatInteraction (HAS_ONE)
  • ChatMessage (HAS_ONE)
  • SlackIntegration (HAS_ONE)

Was this page helpful?

Download as PDF