Skip to content

useKnowledgeBase

useKnowledgeBase(kbId): UseQueryResult<NoInfer<KnowledgeBase | null>, Error>

Hook to get a single knowledge base by ID

Parameter Type
kbId string | null

UseQueryResult<NoInfer<KnowledgeBase | null>, Error>