How to use WikipediaKnowledgeBase with Vietnamese language

from agno.knowledge.wikipedia import WikipediaKnowledgeBase
from agno.vectordb.pgvector import PgVector

knowledge_base = WikipediaKnowledgeBase(
    topics=["Manchester United", "Real Madrid"],
    # Table name: ai.wikipedia_documents
    vector_db=PgVector(
        table_name="wikipedia_documents",
        db_url="postgresql+psycopg://ai:ai@localhost:5532/ai",
    ),
)
  1. How to crawl Vietnamese wikipedia from WikipediaKnowledgeBase.

Example from topic: Bến Nhà Rồng with url: Bến Nhà Rồng – Wikipedia tiếng Việt

  1. How to get all topics in wikipedia vietnamese?

Thanks all

Hi @phucpx247, thanks for reaching out and supporting Agno. I’ve shared this with the team, we’re working through all requests one by one and will get back to you soon.
If it’s urgent, please let us know. We appreciate your patience!

Hey @phucpx247 , currently we don’t have support for changing the language in Wikipedia. That said, for now you can create your own toolkit: Writing your own Toolkit - Agno, since Wikipedia internally supports it via set_lang(prefix). Here is the list of languages: List of Wikipedias - Meta
thanks :raising_hands: