Skip to content

useKnowledgeGraph

useKnowledgeGraph(kbId): UseQueryResult<NoInfer<KnowledgeGraphData | null>, Error>

Hook to get the knowledge graph (entities + relationships)

Parameter Type
kbId string | null

UseQueryResult<NoInfer<KnowledgeGraphData | null>, Error>