18 lines
509 B
Rust
18 lines
509 B
Rust
use chrono::{DateTime, Utc};
|
|
use serde::{Deserialize, Serialize};
|
|
use sqlx::FromRow;
|
|
use uuid::Uuid;
|
|
|
|
#[derive(Debug, Clone, PartialEq, Serialize, Deserialize, FromRow)]
|
|
pub struct AiModelCardModel {
|
|
pub model: Uuid,
|
|
pub overview: Option<String>,
|
|
pub strengths: Option<String>,
|
|
pub limitations: Option<String>,
|
|
pub safety_notes: Option<String>,
|
|
pub eval_summary: Option<String>,
|
|
pub metadata: Option<String>,
|
|
pub created_at: DateTime<Utc>,
|
|
pub updated_at: DateTime<Utc>,
|
|
}
|