Building a first-party knowledge base for AI search