use serde::{Deserialize, Serialize};
#[derive(Debug, Clone, PartialEq, Eq, Serialize, Deserialize)]
pub struct Entity {
pub name: String,
#[serde(rename = "entityType")]
pub entity_type: String,
pub observations: Vec<String>,
}
#[derive(Debug, Clone, PartialEq, Eq, Serialize, Deserialize)]
pub struct Relation {
pub from: String,
pub to: String,
#[serde(rename = "relationType")]
pub relation_type: String,
}
#[derive(Debug, Clone, PartialEq, Eq, Serialize, Deserialize)]
pub struct KnowledgeGraphOut {
pub entities: Vec<Entity>,
pub relations: Vec<Relation>,
}