Skip to content

useKnowledgeGraph

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

Hook to get the knowledge graph (entities + relationships)

ParameterType
kbIdstring | null

UseQueryResult<KnowledgeGraphData | null, Error>