Columns
| Column | Type | Size | Nulls | Auto | Default | Children | Parents | Comments | |||
|---|---|---|---|---|---|---|---|---|---|---|---|
| id | VARCHAR | 36 | null |
|
|
||||||
| location_business_line_id | VARCHAR | 36 | null |
|
|
||||||
| name | VARCHAR | 255 | null |
|
|
||||||
| description | TEXT | 65535 | √ | null |
|
|
|||||
| system_prompt | TEXT | 65535 | null |
|
|
||||||
| context_template | TEXT | 65535 | √ | null |
|
|
|||||
| model_tier | VARCHAR | 20 | POWERFUL |
|
|
||||||
| temperature | DECIMAL | 3,2 | 0.40 |
|
|
||||||
| max_tokens | INT | 10 | 4096 |
|
|
||||||
| is_active | BIT | 1 | 1 |
|
|
||||||
| created_at | TIMESTAMP | 19 | √ | CURRENT_TIMESTAMP |
|
|
|||||
| updated_at | TIMESTAMP | 19 | √ | CURRENT_TIMESTAMP |
|
|
|||||
| created_by | VARCHAR | 255 | √ | null |
|
|
|||||
| updated_by | VARCHAR | 255 | √ | null |
|
|
|||||
| purpose | VARCHAR | 40 | NOTE_GENERATION |
|
|
Indexes
| Constraint Name | Type | Sort | Column(s) |
|---|---|---|---|
| PRIMARY | Primary key | Asc | id |
| idx_ai_prompt_profile_active | Performance | Asc | is_active |
| idx_ai_prompt_profile_location | Performance | Asc | location_business_line_id |