def load_knowledge() -> UrlKnowledge:
        """Load and initialize the knowledge base with vector database"""
        kb = UrlKnowledge(
            urls=["https://docs.agno.com/introduction/agents.md"],  # Default URL
            vector_db=LanceDb(
                uri="tmp/lancedb",
                table_name="agno_docs",
                search_type=SearchType.vector,  # Use vector search
                embedder=OpenAIEmbedder(
                    api_key=openai_key
                ),
            ),
        )
        kb.load(recreate=True)  # Load documents into vector DB
        return kb
Load and initialize the knowledge base with vector database
rag_tutorials/agentic_rag_with_reasoning/rag_reasoning_agent.py