Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
arxiv
from phi.knowledge.arxiv import ArxivKnowledgeBase from phi.vectordb.pgvector import PgVector from resources import vector_db knowledge_base = ArxivKnowledgeBase( queries=["Generative AI", "Machine Learning"], # Table name: llm.arxiv_documents vector_db=PgVector( table_name="arxiv_documents", db_url=vector_db.get_db_connection_local(), ), )
queries
List[str]
[]
reader
ArxivReader
ArxivReader()
Documents
ArxivKnowledgeBase
AgentKnowledge
Optional[Reader]
None
vector_db
Optional[VectorDb]
num_documents
int
2
optimize_on
Optional[int]
1000
driver
str
"knowledge"
Was this page helpful?