detachConversation(
args: {conversation: {id:string; };entity:LixEntityCanonical|LixEntity;lix:Pick<Lix,"db">;versionId?:string; }):Promise<void>
Detaches a conversation from an entity (removes mapping).
await detachConversation({
lix,
entity: { entity_id: "para_123", schema_key: "markdown_paragraph", file_id: "README.md" },
conversation: { id: "conv_123" }
});| Parameter | Type |
|---|---|
args | { conversation: { id: string; }; entity: LixEntityCanonical | LixEntity; lix: Pick<Lix, "db">; versionId?: string; } |
args.conversation | { id: string; } |
args.conversation.id | string |
args.entity | LixEntityCanonical | LixEntity |
args.lix | Pick<Lix, "db"> |
args.versionId? | string |
Promise<void>