From 0814d35519e916aeeca9f00037d41d8313ff62e2 Mon Sep 17 00:00:00 2001 From: Willem Carel de Jongh Date: Fri, 24 Jan 2025 12:54:55 +0200 Subject: [PATCH] Fix public asset urls --- README.md | 2 +- cookbook/agent_concepts/hybrid_search/lancedb/agent.py | 2 +- cookbook/agent_concepts/hybrid_search/pgvector/agent.py | 2 +- cookbook/agent_concepts/hybrid_search/pinecone/agent.py | 2 +- cookbook/agent_concepts/knowledge/chunking/agentic_chunking.py | 2 +- cookbook/agent_concepts/knowledge/chunking/default.py | 2 +- cookbook/agent_concepts/knowledge/chunking/document_chunking.py | 2 +- .../agent_concepts/knowledge/chunking/fixed_size_chunking.py | 2 +- .../agent_concepts/knowledge/chunking/recursive_chunking.py | 2 +- cookbook/agent_concepts/knowledge/chunking/semantic_chunking.py | 2 +- cookbook/agent_concepts/knowledge/combined_kb.py | 2 +- cookbook/agent_concepts/knowledge/csv_url_kb.py | 2 +- cookbook/agent_concepts/knowledge/pdf_url_kb.py | 2 +- cookbook/agent_concepts/knowledge/s3_pdf_kb.py | 2 +- cookbook/agent_concepts/knowledge/s3_text_kb.py | 2 +- cookbook/agent_concepts/memory/04_persistent_memory_postgres.py | 2 +- cookbook/agent_concepts/rag/agentic_rag_agent_ui.py | 2 +- cookbook/agent_concepts/rag/agentic_rag_lancedb.py | 2 +- cookbook/agent_concepts/rag/agentic_rag_pgvector.py | 2 +- cookbook/agent_concepts/rag/agentic_rag_with_reranking.py | 2 +- cookbook/agent_concepts/rag/rag_with_lance_db_and_sqlite.py | 2 +- cookbook/agent_concepts/rag/traditional_rag_lancedb.py | 2 +- cookbook/agent_concepts/rag/traditional_rag_pgvector.py | 2 +- cookbook/agent_concepts/tools/duckdb_tools.py | 2 +- cookbook/agent_concepts/vector_dbs/cassandra_db.py | 2 +- cookbook/agent_concepts/vector_dbs/chroma_db.py | 2 +- cookbook/agent_concepts/vector_dbs/clickhouse.py | 2 +- cookbook/agent_concepts/vector_dbs/lance_db.py | 2 +- cookbook/agent_concepts/vector_dbs/milvus.py | 2 +- cookbook/agent_concepts/vector_dbs/mongodb.py | 2 +- cookbook/agent_concepts/vector_dbs/pg_vector.py | 2 +- cookbook/agent_concepts/vector_dbs/pinecone_db.py | 2 +- cookbook/agent_concepts/vector_dbs/qdrant_db.py | 2 +- cookbook/agent_concepts/vector_dbs/singlestore.py | 2 +- cookbook/getting_started/03_agent_with_knowledge.py | 2 +- cookbook/getting_started/04_agent_with_storage.py | 2 +- cookbook/getting_started/readme_examples.py | 2 +- cookbook/models/anthropic/knowledge.py | 2 +- cookbook/models/aws/bedrock_claude/knowledge.py | 2 +- cookbook/models/azure/openai/knowledge.py | 2 +- cookbook/models/cohere/knowledge.py | 2 +- cookbook/models/google/gemini/knowledge.py | 2 +- cookbook/models/groq/knowledge.py | 2 +- cookbook/models/ollama/knowledge.py | 2 +- cookbook/models/ollama_tools/knowledge.py | 2 +- cookbook/models/openai/knowledge.py | 2 +- cookbook/models/vertexai/knowledge.py | 2 +- 47 files changed, 47 insertions(+), 47 deletions(-) diff --git a/README.md b/README.md index 79922bc46d..7ec1b210f8 100644 --- a/README.md +++ b/README.md @@ -138,7 +138,7 @@ agent = Agent( "Prefer the information in your knowledge base over the web results." ], knowledge=PDFUrlKnowledgeBase( - urls=["https://phi-public.s3.amazonaws.com/recipes/ThaiRecipes.pdf"], + urls=["https://agno-public.s3.amazonaws.com/recipes/ThaiRecipes.pdf"], vector_db=LanceDb( uri="tmp/lancedb", table_name="recipes", diff --git a/cookbook/agent_concepts/hybrid_search/lancedb/agent.py b/cookbook/agent_concepts/hybrid_search/lancedb/agent.py index e340ef503b..563b185a16 100644 --- a/cookbook/agent_concepts/hybrid_search/lancedb/agent.py +++ b/cookbook/agent_concepts/hybrid_search/lancedb/agent.py @@ -16,7 +16,7 @@ # Knowledge Base knowledge_base = PDFUrlKnowledgeBase( - urls=["https://phi-public.s3.amazonaws.com/recipes/ThaiRecipes.pdf"], + urls=["https://agno-public.s3.amazonaws.com/recipes/ThaiRecipes.pdf"], vector_db=vector_db, ) diff --git a/cookbook/agent_concepts/hybrid_search/pgvector/agent.py b/cookbook/agent_concepts/hybrid_search/pgvector/agent.py index 1b2614402a..ece1dab42b 100644 --- a/cookbook/agent_concepts/hybrid_search/pgvector/agent.py +++ b/cookbook/agent_concepts/hybrid_search/pgvector/agent.py @@ -5,7 +5,7 @@ db_url = "postgresql+psycopg://ai:ai@localhost:5532/ai" knowledge_base = PDFUrlKnowledgeBase( - urls=["https://phi-public.s3.amazonaws.com/recipes/ThaiRecipes.pdf"], + urls=["https://agno-public.s3.amazonaws.com/recipes/ThaiRecipes.pdf"], vector_db=PgVector( table_name="recipes", db_url=db_url, search_type=SearchType.hybrid ), diff --git a/cookbook/agent_concepts/hybrid_search/pinecone/agent.py b/cookbook/agent_concepts/hybrid_search/pinecone/agent.py index 056e159bf7..ea13ec336b 100644 --- a/cookbook/agent_concepts/hybrid_search/pinecone/agent.py +++ b/cookbook/agent_concepts/hybrid_search/pinecone/agent.py @@ -25,7 +25,7 @@ ) knowledge_base = PDFUrlKnowledgeBase( - urls=["https://phi-public.s3.amazonaws.com/recipes/ThaiRecipes.pdf"], + urls=["https://agno-public.s3.amazonaws.com/recipes/ThaiRecipes.pdf"], vector_db=vector_db, ) diff --git a/cookbook/agent_concepts/knowledge/chunking/agentic_chunking.py b/cookbook/agent_concepts/knowledge/chunking/agentic_chunking.py index 19a1239f38..1caccffeec 100644 --- a/cookbook/agent_concepts/knowledge/chunking/agentic_chunking.py +++ b/cookbook/agent_concepts/knowledge/chunking/agentic_chunking.py @@ -6,7 +6,7 @@ db_url = "postgresql+psycopg://ai:ai@localhost:5532/ai" knowledge_base = PDFUrlKnowledgeBase( - urls=["https://phi-public.s3.amazonaws.com/recipes/ThaiRecipes.pdf"], + urls=["https://agno-public.s3.amazonaws.com/recipes/ThaiRecipes.pdf"], vector_db=PgVector(table_name="recipes_agentic_chunking", db_url=db_url), chunking_strategy=AgenticChunking(), ) diff --git a/cookbook/agent_concepts/knowledge/chunking/default.py b/cookbook/agent_concepts/knowledge/chunking/default.py index dfce3814e0..461ee9cd23 100644 --- a/cookbook/agent_concepts/knowledge/chunking/default.py +++ b/cookbook/agent_concepts/knowledge/chunking/default.py @@ -5,7 +5,7 @@ db_url = "postgresql+psycopg://ai:ai@localhost:5532/ai" knowledge_base = PDFUrlKnowledgeBase( - urls=["https://phi-public.s3.amazonaws.com/recipes/ThaiRecipes.pdf"], + urls=["https://agno-public.s3.amazonaws.com/recipes/ThaiRecipes.pdf"], vector_db=PgVector(table_name="recipes", db_url=db_url), ) knowledge_base.load(recreate=False) # Comment out after first run diff --git a/cookbook/agent_concepts/knowledge/chunking/document_chunking.py b/cookbook/agent_concepts/knowledge/chunking/document_chunking.py index ba1421974c..c0a3164d72 100644 --- a/cookbook/agent_concepts/knowledge/chunking/document_chunking.py +++ b/cookbook/agent_concepts/knowledge/chunking/document_chunking.py @@ -6,7 +6,7 @@ db_url = "postgresql+psycopg://ai:ai@localhost:5532/ai" knowledge_base = PDFUrlKnowledgeBase( - urls=["https://phi-public.s3.amazonaws.com/recipes/ThaiRecipes.pdf"], + urls=["https://agno-public.s3.amazonaws.com/recipes/ThaiRecipes.pdf"], vector_db=PgVector(table_name="recipes_document_chunking", db_url=db_url), chunking_strategy=DocumentChunking(), ) diff --git a/cookbook/agent_concepts/knowledge/chunking/fixed_size_chunking.py b/cookbook/agent_concepts/knowledge/chunking/fixed_size_chunking.py index 712ff8c5e9..2239e22bfb 100644 --- a/cookbook/agent_concepts/knowledge/chunking/fixed_size_chunking.py +++ b/cookbook/agent_concepts/knowledge/chunking/fixed_size_chunking.py @@ -6,7 +6,7 @@ db_url = "postgresql+psycopg://ai:ai@localhost:5532/ai" knowledge_base = PDFUrlKnowledgeBase( - urls=["https://phi-public.s3.amazonaws.com/recipes/ThaiRecipes.pdf"], + urls=["https://agno-public.s3.amazonaws.com/recipes/ThaiRecipes.pdf"], vector_db=PgVector(table_name="recipes_fixed_size_chunking", db_url=db_url), chunking_strategy=FixedSizeChunking(), ) diff --git a/cookbook/agent_concepts/knowledge/chunking/recursive_chunking.py b/cookbook/agent_concepts/knowledge/chunking/recursive_chunking.py index 237a4746f7..8248de8719 100644 --- a/cookbook/agent_concepts/knowledge/chunking/recursive_chunking.py +++ b/cookbook/agent_concepts/knowledge/chunking/recursive_chunking.py @@ -6,7 +6,7 @@ db_url = "postgresql+psycopg://ai:ai@localhost:5532/ai" knowledge_base = PDFUrlKnowledgeBase( - urls=["https://phi-public.s3.amazonaws.com/recipes/ThaiRecipes.pdf"], + urls=["https://agno-public.s3.amazonaws.com/recipes/ThaiRecipes.pdf"], vector_db=PgVector(table_name="recipes_recursive_chunking", db_url=db_url), chunking_strategy=RecursiveChunking(), ) diff --git a/cookbook/agent_concepts/knowledge/chunking/semantic_chunking.py b/cookbook/agent_concepts/knowledge/chunking/semantic_chunking.py index 8dc9219d76..03239d4612 100644 --- a/cookbook/agent_concepts/knowledge/chunking/semantic_chunking.py +++ b/cookbook/agent_concepts/knowledge/chunking/semantic_chunking.py @@ -6,7 +6,7 @@ db_url = "postgresql+psycopg://ai:ai@localhost:5532/ai" knowledge_base = PDFUrlKnowledgeBase( - urls=["https://phi-public.s3.amazonaws.com/recipes/ThaiRecipes.pdf"], + urls=["https://agno-public.s3.amazonaws.com/recipes/ThaiRecipes.pdf"], vector_db=PgVector(table_name="recipes_semantic_chunking", db_url=db_url), chunking_strategy=SemanticChunking(similarity_threshold=0.5), ) diff --git a/cookbook/agent_concepts/knowledge/combined_kb.py b/cookbook/agent_concepts/knowledge/combined_kb.py index 8ad9544c39..1cfabd318c 100644 --- a/cookbook/agent_concepts/knowledge/combined_kb.py +++ b/cookbook/agent_concepts/knowledge/combined_kb.py @@ -21,7 +21,7 @@ # Create PDF URL knowledge base pdf_url_kb = PDFUrlKnowledgeBase( - urls=["https://phi-public.s3.amazonaws.com/recipes/ThaiRecipes.pdf"], + urls=["https://agno-public.s3.amazonaws.com/recipes/ThaiRecipes.pdf"], vector_db=PgVector( table_name="pdf_documents", db_url=db_url, diff --git a/cookbook/agent_concepts/knowledge/csv_url_kb.py b/cookbook/agent_concepts/knowledge/csv_url_kb.py index 2f23731a88..1c9e5e731d 100644 --- a/cookbook/agent_concepts/knowledge/csv_url_kb.py +++ b/cookbook/agent_concepts/knowledge/csv_url_kb.py @@ -5,7 +5,7 @@ db_url = "postgresql+psycopg://ai:ai@localhost:5532/ai" knowledge_base = CSVUrlKnowledgeBase( - urls=["https://phi-public.s3.amazonaws.com/csvs/employees.csv"], + urls=["https://agno-public.s3.amazonaws.com/csvs/employees.csv"], vector_db=PgVector(table_name="csv_documents", db_url=db_url), ) knowledge_base.load(recreate=False) # Comment out after first run diff --git a/cookbook/agent_concepts/knowledge/pdf_url_kb.py b/cookbook/agent_concepts/knowledge/pdf_url_kb.py index dfce3814e0..461ee9cd23 100644 --- a/cookbook/agent_concepts/knowledge/pdf_url_kb.py +++ b/cookbook/agent_concepts/knowledge/pdf_url_kb.py @@ -5,7 +5,7 @@ db_url = "postgresql+psycopg://ai:ai@localhost:5532/ai" knowledge_base = PDFUrlKnowledgeBase( - urls=["https://phi-public.s3.amazonaws.com/recipes/ThaiRecipes.pdf"], + urls=["https://agno-public.s3.amazonaws.com/recipes/ThaiRecipes.pdf"], vector_db=PgVector(table_name="recipes", db_url=db_url), ) knowledge_base.load(recreate=False) # Comment out after first run diff --git a/cookbook/agent_concepts/knowledge/s3_pdf_kb.py b/cookbook/agent_concepts/knowledge/s3_pdf_kb.py index 5b8d691060..3101f7c917 100644 --- a/cookbook/agent_concepts/knowledge/s3_pdf_kb.py +++ b/cookbook/agent_concepts/knowledge/s3_pdf_kb.py @@ -5,7 +5,7 @@ db_url = "postgresql+psycopg://ai:ai@localhost:5532/ai" knowledge_base = S3PDFKnowledgeBase( - bucket_name="phi-public", + bucket_name="agno-public", key="recipes/ThaiRecipes.pdf", vector_db=PgVector(table_name="recipes", db_url=db_url), ) diff --git a/cookbook/agent_concepts/knowledge/s3_text_kb.py b/cookbook/agent_concepts/knowledge/s3_text_kb.py index 9c8500926b..349f79e15c 100644 --- a/cookbook/agent_concepts/knowledge/s3_text_kb.py +++ b/cookbook/agent_concepts/knowledge/s3_text_kb.py @@ -5,7 +5,7 @@ db_url = "postgresql+psycopg://ai:ai@localhost:5532/ai" knowledge_base = S3TextKnowledgeBase( - bucket_name="phi-public", + bucket_name="agno-public", key="recipes/recipes.docx", vector_db=PgVector(table_name="recipes", db_url=db_url), ) diff --git a/cookbook/agent_concepts/memory/04_persistent_memory_postgres.py b/cookbook/agent_concepts/memory/04_persistent_memory_postgres.py index ec030c1b54..f019a2a8f9 100644 --- a/cookbook/agent_concepts/memory/04_persistent_memory_postgres.py +++ b/cookbook/agent_concepts/memory/04_persistent_memory_postgres.py @@ -8,7 +8,7 @@ db_url = "postgresql+psycopg://ai:ai@localhost:5532/ai" knowledge_base = PDFUrlKnowledgeBase( - urls=["https://phi-public.s3.amazonaws.com/recipes/ThaiRecipes.pdf"], + urls=["https://agno-public.s3.amazonaws.com/recipes/ThaiRecipes.pdf"], vector_db=PgVector( table_name="recipes", db_url=db_url, search_type=SearchType.hybrid ), diff --git a/cookbook/agent_concepts/rag/agentic_rag_agent_ui.py b/cookbook/agent_concepts/rag/agentic_rag_agent_ui.py index af864fa45d..fa5311830e 100644 --- a/cookbook/agent_concepts/rag/agentic_rag_agent_ui.py +++ b/cookbook/agent_concepts/rag/agentic_rag_agent_ui.py @@ -15,7 +15,7 @@ db_url = "postgresql+psycopg://ai:ai@localhost:5532/ai" # Create a knowledge base of PDFs from URLs knowledge_base = PDFUrlKnowledgeBase( - urls=["https://phi-public.s3.amazonaws.com/recipes/ThaiRecipes.pdf"], + urls=["https://agno-public.s3.amazonaws.com/recipes/ThaiRecipes.pdf"], # Use PgVector as the vector database and store embeddings in the `ai.recipes` table vector_db=PgVector( table_name="recipes", diff --git a/cookbook/agent_concepts/rag/agentic_rag_lancedb.py b/cookbook/agent_concepts/rag/agentic_rag_lancedb.py index 3283889ec8..f13f0ec6e9 100644 --- a/cookbook/agent_concepts/rag/agentic_rag_lancedb.py +++ b/cookbook/agent_concepts/rag/agentic_rag_lancedb.py @@ -11,7 +11,7 @@ # Create a knowledge base of PDFs from URLs knowledge_base = PDFUrlKnowledgeBase( - urls=["https://phi-public.s3.amazonaws.com/recipes/ThaiRecipes.pdf"], + urls=["https://agno-public.s3.amazonaws.com/recipes/ThaiRecipes.pdf"], # Use LanceDB as the vector database and store embeddings in the `recipes` table vector_db=LanceDb( table_name="recipes", diff --git a/cookbook/agent_concepts/rag/agentic_rag_pgvector.py b/cookbook/agent_concepts/rag/agentic_rag_pgvector.py index f1ef9041c8..e26e74a868 100644 --- a/cookbook/agent_concepts/rag/agentic_rag_pgvector.py +++ b/cookbook/agent_concepts/rag/agentic_rag_pgvector.py @@ -13,7 +13,7 @@ db_url = "postgresql+psycopg://ai:ai@localhost:5532/ai" # Create a knowledge base of PDFs from URLs knowledge_base = PDFUrlKnowledgeBase( - urls=["https://phi-public.s3.amazonaws.com/recipes/ThaiRecipes.pdf"], + urls=["https://agno-public.s3.amazonaws.com/recipes/ThaiRecipes.pdf"], # Use PgVector as the vector database and store embeddings in the `ai.recipes` table vector_db=PgVector( table_name="recipes", diff --git a/cookbook/agent_concepts/rag/agentic_rag_with_reranking.py b/cookbook/agent_concepts/rag/agentic_rag_with_reranking.py index 229fb78459..a4a083808a 100644 --- a/cookbook/agent_concepts/rag/agentic_rag_with_reranking.py +++ b/cookbook/agent_concepts/rag/agentic_rag_with_reranking.py @@ -12,7 +12,7 @@ # Create a knowledge base of PDFs from URLs knowledge_base = PDFUrlKnowledgeBase( - urls=["https://phi-public.s3.amazonaws.com/recipes/ThaiRecipes.pdf"], + urls=["https://agno-public.s3.amazonaws.com/recipes/ThaiRecipes.pdf"], # Use LanceDB as the vector database and store embeddings in the `recipes` table vector_db=LanceDb( table_name="recipes", diff --git a/cookbook/agent_concepts/rag/rag_with_lance_db_and_sqlite.py b/cookbook/agent_concepts/rag/rag_with_lance_db_and_sqlite.py index 21ae44ee5e..74bb428ab7 100644 --- a/cookbook/agent_concepts/rag/rag_with_lance_db_and_sqlite.py +++ b/cookbook/agent_concepts/rag/rag_with_lance_db_and_sqlite.py @@ -25,7 +25,7 @@ # Create a knowledge base from a PDF URL using LanceDb for vector storage and OllamaEmbedder for embedding knowledge_base = PDFUrlKnowledgeBase( - urls=["https://phi-public.s3.amazonaws.com/recipes/ThaiRecipes.pdf"], + urls=["https://agno-public.s3.amazonaws.com/recipes/ThaiRecipes.pdf"], vector_db=vector_db, ) diff --git a/cookbook/agent_concepts/rag/traditional_rag_lancedb.py b/cookbook/agent_concepts/rag/traditional_rag_lancedb.py index a333966a2b..cc580e3ebc 100644 --- a/cookbook/agent_concepts/rag/traditional_rag_lancedb.py +++ b/cookbook/agent_concepts/rag/traditional_rag_lancedb.py @@ -11,7 +11,7 @@ # Create a knowledge base of PDFs from URLs knowledge_base = PDFUrlKnowledgeBase( - urls=["https://phi-public.s3.amazonaws.com/recipes/ThaiRecipes.pdf"], + urls=["https://agno-public.s3.amazonaws.com/recipes/ThaiRecipes.pdf"], # Use LanceDB as the vector database and store embeddings in the `recipes` table vector_db=LanceDb( table_name="recipes", diff --git a/cookbook/agent_concepts/rag/traditional_rag_pgvector.py b/cookbook/agent_concepts/rag/traditional_rag_pgvector.py index 1e45983f10..d6506d5a0c 100644 --- a/cookbook/agent_concepts/rag/traditional_rag_pgvector.py +++ b/cookbook/agent_concepts/rag/traditional_rag_pgvector.py @@ -13,7 +13,7 @@ db_url = "postgresql+psycopg://ai:ai@localhost:5532/ai" # Create a knowledge base of PDFs from URLs knowledge_base = PDFUrlKnowledgeBase( - urls=["https://phi-public.s3.amazonaws.com/recipes/ThaiRecipes.pdf"], + urls=["https://agno-public.s3.amazonaws.com/recipes/ThaiRecipes.pdf"], # Use PgVector as the vector database and store embeddings in the `ai.recipes` table vector_db=PgVector( table_name="recipes", diff --git a/cookbook/agent_concepts/tools/duckdb_tools.py b/cookbook/agent_concepts/tools/duckdb_tools.py index 205792ba54..391dbf29bd 100644 --- a/cookbook/agent_concepts/tools/duckdb_tools.py +++ b/cookbook/agent_concepts/tools/duckdb_tools.py @@ -4,7 +4,7 @@ agent = Agent( tools=[DuckDbTools()], show_tool_calls=True, - instructions="Use this file for Movies data: https://phidata-public.s3.amazonaws.com/demo_data/IMDB-Movie-Data.csv", + instructions="Use this file for Movies data: https://agno-public.s3.amazonaws.com/demo_data/IMDB-Movie-Data.csv", ) agent.print_response( "What is the average rating of movies?", markdown=True, stream=False diff --git a/cookbook/agent_concepts/vector_dbs/cassandra_db.py b/cookbook/agent_concepts/vector_dbs/cassandra_db.py index 1b0ce718ec..0997536644 100644 --- a/cookbook/agent_concepts/vector_dbs/cassandra_db.py +++ b/cookbook/agent_concepts/vector_dbs/cassandra_db.py @@ -22,7 +22,7 @@ ) knowledge_base = PDFUrlKnowledgeBase( - urls=["https://phi-public.s3.amazonaws.com/recipes/ThaiRecipes.pdf"], + urls=["https://agno-public.s3.amazonaws.com/recipes/ThaiRecipes.pdf"], vector_db=CassandraDb( table_name="recipes", keyspace="testkeyspace", diff --git a/cookbook/agent_concepts/vector_dbs/chroma_db.py b/cookbook/agent_concepts/vector_dbs/chroma_db.py index c1d9caf082..450cada760 100644 --- a/cookbook/agent_concepts/vector_dbs/chroma_db.py +++ b/cookbook/agent_concepts/vector_dbs/chroma_db.py @@ -9,7 +9,7 @@ # Create knowledge base knowledge_base = PDFUrlKnowledgeBase( - urls=["https://phi-public.s3.amazonaws.com/recipes/ThaiRecipes.pdf"], + urls=["https://agno-public.s3.amazonaws.com/recipes/ThaiRecipes.pdf"], vector_db=vector_db, ) diff --git a/cookbook/agent_concepts/vector_dbs/clickhouse.py b/cookbook/agent_concepts/vector_dbs/clickhouse.py index f72ba65be6..33ec71fa5e 100644 --- a/cookbook/agent_concepts/vector_dbs/clickhouse.py +++ b/cookbook/agent_concepts/vector_dbs/clickhouse.py @@ -6,7 +6,7 @@ agent = Agent( storage=SqliteAgentStorage(table_name="recipe_agent"), knowledge=PDFUrlKnowledgeBase( - urls=["https://phi-public.s3.amazonaws.com/recipes/ThaiRecipes.pdf"], + urls=["https://agno-public.s3.amazonaws.com/recipes/ThaiRecipes.pdf"], vector_db=ClickhouseDb( table_name="recipe_documents", host="localhost", diff --git a/cookbook/agent_concepts/vector_dbs/lance_db.py b/cookbook/agent_concepts/vector_dbs/lance_db.py index 85fece4cc5..ae0486db61 100644 --- a/cookbook/agent_concepts/vector_dbs/lance_db.py +++ b/cookbook/agent_concepts/vector_dbs/lance_db.py @@ -13,7 +13,7 @@ # Create knowledge base knowledge_base = PDFUrlKnowledgeBase( - urls=["https://phi-public.s3.amazonaws.com/recipes/ThaiRecipes.pdf"], + urls=["https://agno-public.s3.amazonaws.com/recipes/ThaiRecipes.pdf"], vector_db=vector_db, ) diff --git a/cookbook/agent_concepts/vector_dbs/milvus.py b/cookbook/agent_concepts/vector_dbs/milvus.py index 2e8e93f122..8bb9fba911 100644 --- a/cookbook/agent_concepts/vector_dbs/milvus.py +++ b/cookbook/agent_concepts/vector_dbs/milvus.py @@ -16,7 +16,7 @@ ) # Create knowledge base knowledge_base = PDFUrlKnowledgeBase( - urls=["https://phi-public.s3.amazonaws.com/recipes/ThaiRecipes.pdf"], + urls=["https://agno-public.s3.amazonaws.com/recipes/ThaiRecipes.pdf"], vector_db=vector_db, ) diff --git a/cookbook/agent_concepts/vector_dbs/mongodb.py b/cookbook/agent_concepts/vector_dbs/mongodb.py index 2c0f75b754..47480ca84b 100644 --- a/cookbook/agent_concepts/vector_dbs/mongodb.py +++ b/cookbook/agent_concepts/vector_dbs/mongodb.py @@ -15,7 +15,7 @@ mdb_connection_string = "mongodb://ai:ai@localhost:27017/ai?authSource=admin" knowledge_base = PDFUrlKnowledgeBase( - urls=["https://phi-public.s3.amazonaws.com/recipes/ThaiRecipes.pdf"], + urls=["https://agno-public.s3.amazonaws.com/recipes/ThaiRecipes.pdf"], vector_db=MongoDBVector( collection_name="recipes", db_url=mdb_connection_string, diff --git a/cookbook/agent_concepts/vector_dbs/pg_vector.py b/cookbook/agent_concepts/vector_dbs/pg_vector.py index a3d559ef21..5a1ec03f48 100644 --- a/cookbook/agent_concepts/vector_dbs/pg_vector.py +++ b/cookbook/agent_concepts/vector_dbs/pg_vector.py @@ -7,7 +7,7 @@ vector_db = PgVector(table_name="recipes", db_url=db_url) knowledge_base = PDFUrlKnowledgeBase( - urls=["https://phi-public.s3.amazonaws.com/recipes/ThaiRecipes.pdf"], + urls=["https://agno-public.s3.amazonaws.com/recipes/ThaiRecipes.pdf"], vector_db=vector_db, ) knowledge_base.load(recreate=False) # Comment out after first run diff --git a/cookbook/agent_concepts/vector_dbs/pinecone_db.py b/cookbook/agent_concepts/vector_dbs/pinecone_db.py index 78fd3b6315..e258f07784 100644 --- a/cookbook/agent_concepts/vector_dbs/pinecone_db.py +++ b/cookbook/agent_concepts/vector_dbs/pinecone_db.py @@ -16,7 +16,7 @@ ) knowledge_base = PDFUrlKnowledgeBase( - urls=["https://phi-public.s3.amazonaws.com/recipes/ThaiRecipes.pdf"], + urls=["https://agno-public.s3.amazonaws.com/recipes/ThaiRecipes.pdf"], vector_db=vector_db, ) diff --git a/cookbook/agent_concepts/vector_dbs/qdrant_db.py b/cookbook/agent_concepts/vector_dbs/qdrant_db.py index 064200d3eb..97b1befb2c 100644 --- a/cookbook/agent_concepts/vector_dbs/qdrant_db.py +++ b/cookbook/agent_concepts/vector_dbs/qdrant_db.py @@ -7,7 +7,7 @@ vector_db = Qdrant(collection=COLLECTION_NAME, url="http://localhost:6333") knowledge_base = PDFUrlKnowledgeBase( - urls=["https://phi-public.s3.amazonaws.com/recipes/ThaiRecipes.pdf"], + urls=["https://agno-public.s3.amazonaws.com/recipes/ThaiRecipes.pdf"], vector_db=vector_db, ) diff --git a/cookbook/agent_concepts/vector_dbs/singlestore.py b/cookbook/agent_concepts/vector_dbs/singlestore.py index 44c73cc78c..203249b852 100644 --- a/cookbook/agent_concepts/vector_dbs/singlestore.py +++ b/cookbook/agent_concepts/vector_dbs/singlestore.py @@ -21,7 +21,7 @@ db_engine = create_engine(db_url) knowledge_base = PDFUrlKnowledgeBase( - urls=["https://phi-public.s3.amazonaws.com/recipes/ThaiRecipes.pdf"], + urls=["https://agno-public.s3.amazonaws.com/recipes/ThaiRecipes.pdf"], vector_db=S2VectorDb( collection="recipes", db_engine=db_engine, diff --git a/cookbook/getting_started/03_agent_with_knowledge.py b/cookbook/getting_started/03_agent_with_knowledge.py index 78c172550b..d3ffd7c0a6 100644 --- a/cookbook/getting_started/03_agent_with_knowledge.py +++ b/cookbook/getting_started/03_agent_with_knowledge.py @@ -70,7 +70,7 @@ "- Be encouraging and supportive of home cooks at all skill levels" ), knowledge=PDFUrlKnowledgeBase( - urls=["https://phi-public.s3.amazonaws.com/recipes/ThaiRecipes.pdf"], + urls=["https://agno-public.s3.amazonaws.com/recipes/ThaiRecipes.pdf"], vector_db=LanceDb( uri="tmp/lancedb", table_name="recipe_knowledge", diff --git a/cookbook/getting_started/04_agent_with_storage.py b/cookbook/getting_started/04_agent_with_storage.py index a6a4c47613..40faa9aa39 100644 --- a/cookbook/getting_started/04_agent_with_storage.py +++ b/cookbook/getting_started/04_agent_with_storage.py @@ -27,7 +27,7 @@ from agno.vectordb.lancedb import LanceDb, SearchType agent_knowledge = PDFUrlKnowledgeBase( - urls=["https://phi-public.s3.amazonaws.com/recipes/ThaiRecipes.pdf"], + urls=["https://agno-public.s3.amazonaws.com/recipes/ThaiRecipes.pdf"], vector_db=LanceDb( uri="tmp/lancedb", table_name="recipe_knowledge", diff --git a/cookbook/getting_started/readme_examples.py b/cookbook/getting_started/readme_examples.py index 1f0827106b..29c2daecec 100644 --- a/cookbook/getting_started/readme_examples.py +++ b/cookbook/getting_started/readme_examples.py @@ -41,7 +41,7 @@ "Prefer the information in your knowledge base over the web results.", ], knowledge=PDFUrlKnowledgeBase( - urls=["https://phi-public.s3.amazonaws.com/recipes/ThaiRecipes.pdf"], + urls=["https://agno-public.s3.amazonaws.com/recipes/ThaiRecipes.pdf"], vector_db=LanceDb( uri="tmp/lancedb", table_name="recipes", diff --git a/cookbook/models/anthropic/knowledge.py b/cookbook/models/anthropic/knowledge.py index 216ccc5b0d..6af25456cb 100644 --- a/cookbook/models/anthropic/knowledge.py +++ b/cookbook/models/anthropic/knowledge.py @@ -9,7 +9,7 @@ db_url = "postgresql+psycopg://ai:ai@localhost:5532/ai" knowledge_base = PDFUrlKnowledgeBase( - urls=["https://phi-public.s3.amazonaws.com/recipes/ThaiRecipes.pdf"], + urls=["https://agno-public.s3.amazonaws.com/recipes/ThaiRecipes.pdf"], vector_db=PgVector( table_name="recipes", db_url=db_url, diff --git a/cookbook/models/aws/bedrock_claude/knowledge.py b/cookbook/models/aws/bedrock_claude/knowledge.py index ac9ac88612..00025c3f5a 100644 --- a/cookbook/models/aws/bedrock_claude/knowledge.py +++ b/cookbook/models/aws/bedrock_claude/knowledge.py @@ -8,7 +8,7 @@ db_url = "postgresql+psycopg://ai:ai@localhost:5532/ai" knowledge_base = PDFUrlKnowledgeBase( - urls=["https://phi-public.s3.amazonaws.com/recipes/ThaiRecipes.pdf"], + urls=["https://agno-public.s3.amazonaws.com/recipes/ThaiRecipes.pdf"], vector_db=PgVector(table_name="recipes", db_url=db_url), ) knowledge_base.load(recreate=True) # Comment out after first run diff --git a/cookbook/models/azure/openai/knowledge.py b/cookbook/models/azure/openai/knowledge.py index d52e92e278..c0d960745e 100644 --- a/cookbook/models/azure/openai/knowledge.py +++ b/cookbook/models/azure/openai/knowledge.py @@ -9,7 +9,7 @@ db_url = "postgresql+psycopg://ai:ai@localhost:5532/ai" knowledge_base = PDFUrlKnowledgeBase( - urls=["https://phi-public.s3.amazonaws.com/recipes/ThaiRecipes.pdf"], + urls=["https://agno-public.s3.amazonaws.com/recipes/ThaiRecipes.pdf"], vector_db=PgVector( table_name="recipes", db_url=db_url, diff --git a/cookbook/models/cohere/knowledge.py b/cookbook/models/cohere/knowledge.py index 11e54549ba..4140329741 100644 --- a/cookbook/models/cohere/knowledge.py +++ b/cookbook/models/cohere/knowledge.py @@ -8,7 +8,7 @@ db_url = "postgresql+psycopg://ai:ai@localhost:5532/ai" knowledge_base = PDFUrlKnowledgeBase( - urls=["https://phi-public.s3.amazonaws.com/recipes/ThaiRecipes.pdf"], + urls=["https://agno-public.s3.amazonaws.com/recipes/ThaiRecipes.pdf"], vector_db=PgVector(table_name="recipes", db_url=db_url), ) knowledge_base.load(recreate=False) # Comment out after first run diff --git a/cookbook/models/google/gemini/knowledge.py b/cookbook/models/google/gemini/knowledge.py index d756ee10da..e6bebcfe6e 100644 --- a/cookbook/models/google/gemini/knowledge.py +++ b/cookbook/models/google/gemini/knowledge.py @@ -9,7 +9,7 @@ db_url = "postgresql+psycopg://ai:ai@localhost:5532/ai" knowledge_base = PDFUrlKnowledgeBase( - urls=["https://phi-public.s3.amazonaws.com/recipes/ThaiRecipes.pdf"], + urls=["https://agno-public.s3.amazonaws.com/recipes/ThaiRecipes.pdf"], vector_db=PgVector( table_name="recipes", db_url=db_url, diff --git a/cookbook/models/groq/knowledge.py b/cookbook/models/groq/knowledge.py index 7e8bf40036..f3ddac86b3 100644 --- a/cookbook/models/groq/knowledge.py +++ b/cookbook/models/groq/knowledge.py @@ -8,7 +8,7 @@ db_url = "postgresql+psycopg://ai:ai@localhost:5532/ai" knowledge_base = PDFUrlKnowledgeBase( - urls=["https://phi-public.s3.amazonaws.com/recipes/ThaiRecipes.pdf"], + urls=["https://agno-public.s3.amazonaws.com/recipes/ThaiRecipes.pdf"], vector_db=PgVector(table_name="recipes", db_url=db_url), ) knowledge_base.load(recreate=False) # Comment out after first run diff --git a/cookbook/models/ollama/knowledge.py b/cookbook/models/ollama/knowledge.py index 80d14bd889..62afb11496 100644 --- a/cookbook/models/ollama/knowledge.py +++ b/cookbook/models/ollama/knowledge.py @@ -9,7 +9,7 @@ db_url = "postgresql+psycopg://ai:ai@localhost:5532/ai" knowledge_base = PDFUrlKnowledgeBase( - urls=["https://phi-public.s3.amazonaws.com/recipes/ThaiRecipes.pdf"], + urls=["https://agno-public.s3.amazonaws.com/recipes/ThaiRecipes.pdf"], vector_db=PgVector( table_name="recipes", db_url=db_url, diff --git a/cookbook/models/ollama_tools/knowledge.py b/cookbook/models/ollama_tools/knowledge.py index e14057afb7..b5443283e0 100644 --- a/cookbook/models/ollama_tools/knowledge.py +++ b/cookbook/models/ollama_tools/knowledge.py @@ -21,7 +21,7 @@ db_url = "postgresql+psycopg://ai:ai@localhost:5532/ai" knowledge_base = PDFUrlKnowledgeBase( - urls=["https://phi-public.s3.amazonaws.com/recipes/ThaiRecipes.pdf"], + urls=["https://agno-public.s3.amazonaws.com/recipes/ThaiRecipes.pdf"], vector_db=PgVector( table_name="recipes", db_url=db_url, diff --git a/cookbook/models/openai/knowledge.py b/cookbook/models/openai/knowledge.py index bc91f5a605..0f3476a90e 100644 --- a/cookbook/models/openai/knowledge.py +++ b/cookbook/models/openai/knowledge.py @@ -8,7 +8,7 @@ db_url = "postgresql+psycopg://ai:ai@localhost:5532/ai" knowledge_base = PDFUrlKnowledgeBase( - urls=["https://phi-public.s3.amazonaws.com/recipes/ThaiRecipes.pdf"], + urls=["https://agno-public.s3.amazonaws.com/recipes/ThaiRecipes.pdf"], vector_db=PgVector(table_name="recipes", db_url=db_url), ) knowledge_base.load(recreate=True) # Comment out after first run diff --git a/cookbook/models/vertexai/knowledge.py b/cookbook/models/vertexai/knowledge.py index bed22446e2..24c6ed96a6 100644 --- a/cookbook/models/vertexai/knowledge.py +++ b/cookbook/models/vertexai/knowledge.py @@ -8,7 +8,7 @@ db_url = "postgresql+psycopg://ai:ai@localhost:5532/ai" knowledge_base = PDFUrlKnowledgeBase( - urls=["https://phi-public.s3.amazonaws.com/recipes/ThaiRecipes.pdf"], + urls=["https://agno-public.s3.amazonaws.com/recipes/ThaiRecipes.pdf"], vector_db=PgVector(table_name="recipes", db_url=db_url), ) knowledge_base.load(recreate=True) # Comment out after first run