Skip to main content

extract_relations

Function extract_relations 

Source
pub async fn extract_relations(
    llm: &dyn LlmClient,
    conversation: &str,
    entities: &[Entity],
    custom_prompt: Option<&str>,
) -> Result<Vec<Relation>>
Expand description

Extract relations between entities from a conversation using the LLM.