Skip to content

A programming framework for agentic AI

Add all redirect links (#3659)

Jack Gerrits1f1463e9e207
diff --git a/python/packages/autogen-core/docs/redirects/redirect_urls.txt b/python/packages/autogen-core/docs/redirects/redirect_urls.txt
new file mode 100644
index 000000000..dc96479ff
--- /dev/null
+++ b/python/packages/autogen-core/docs/redirects/redirect_urls.txt
@@ -0,0 +1,351 @@
+https://microsoft.github.io/autogen/
+https://microsoft.github.io/autogen/docs/Getting-Started
+https://microsoft.github.io/autogen/docs/installation/
+https://microsoft.github.io/autogen/docs/tutorial/introduction
+https://microsoft.github.io/autogen/docs/topics
+https://microsoft.github.io/autogen/docs/reference/agentchat/conversable_agent
+https://microsoft.github.io/autogen/docs/FAQ
+https://microsoft.github.io/autogen/docs/autogen-studio/getting-started
+https://microsoft.github.io/autogen/docs/ecosystem
+https://microsoft.github.io/autogen/docs/contributor-guide/contributing
+https://microsoft.github.io/autogen/docs/Research
+https://microsoft.github.io/autogen/docs/Examples
+https://microsoft.github.io/autogen/docs/notebooks
+https://microsoft.github.io/autogen/docs/Gallery
+https://microsoft.github.io/autogen/blog
+https://microsoft.github.io/autogen/docs/Use-Cases/agent_chat
+https://microsoft.github.io/autogen/docs/Use-Cases/enhanced_inference
+https://microsoft.github.io/autogen/docs/tutorial
+https://microsoft.github.io/autogen/docs/tutorial/chat-termination
+https://microsoft.github.io/autogen/docs/tutorial/human-in-the-loop
+https://microsoft.github.io/autogen/docs/tutorial/code-executors
+https://microsoft.github.io/autogen/docs/tutorial/tool-use
+https://microsoft.github.io/autogen/docs/tutorial/conversation-patterns
+https://microsoft.github.io/autogen/docs/tutorial/what-next
+https://microsoft.github.io/autogen/docs/topics/code-execution/cli-code-executor
+https://microsoft.github.io/autogen/docs/topics/openai-assistant/gpt_assistant_agent
+https://microsoft.github.io/autogen/docs/topics/groupchat/customized_speaker_selection
+https://microsoft.github.io/autogen/docs/topics/non-openai-models/about-using-nonopenai-models
+https://microsoft.github.io/autogen/docs/topics/handling_long_contexts/compressing_text_w_llmligua
+https://microsoft.github.io/autogen/docs/topics/llm-caching
+https://microsoft.github.io/autogen/docs/topics/llm-observability
+https://microsoft.github.io/autogen/docs/topics/llm_configuration
+https://microsoft.github.io/autogen/docs/topics/prompting-and-reasoning/react
+https://microsoft.github.io/autogen/docs/topics/retrieval_augmentation
+https://microsoft.github.io/autogen/docs/topics/task_decomposition
+https://microsoft.github.io/autogen/docs/autogen-studio
+https://microsoft.github.io/autogen/docs/contributor-guide
+https://microsoft.github.io/autogen/docs/Migration-Guide
+https://microsoft.github.io/autogen/docs/reference/agentchat/conversable_agent/
+https://microsoft.github.io/autogen/docs/installation/Docker
+https://microsoft.github.io/autogen/docs/installation/Optional-Dependencies
+https://microsoft.github.io/autogen/docs/reference/agentchat/contrib/agent_eval/
+https://microsoft.github.io/autogen/docs/reference/agentchat/agent
+https://microsoft.github.io/autogen/docs/reference/agentchat/assistant_agent
+https://microsoft.github.io/autogen/docs/reference/agentchat/chat
+https://microsoft.github.io/autogen/docs/reference/agentchat/groupchat
+https://microsoft.github.io/autogen/docs/reference/agentchat/user_proxy_agent
+https://microsoft.github.io/autogen/docs/reference/agentchat/utils
+https://microsoft.github.io/autogen/docs/reference/browser_utils/abstract_markdown_browser
+https://microsoft.github.io/autogen/docs/reference/cache/abstract_cache_base
+https://microsoft.github.io/autogen/docs/reference/coding/jupyter/base
+https://microsoft.github.io/autogen/docs/reference/io/base
+https://microsoft.github.io/autogen/docs/reference/logger/base_logger
+https://microsoft.github.io/autogen/docs/reference/oai/anthropic
+https://microsoft.github.io/autogen/docs/reference/code_utils
+https://microsoft.github.io/autogen/docs/reference/exception_utils
+https://microsoft.github.io/autogen/docs/reference/function_utils
+https://microsoft.github.io/autogen/docs/reference/graph_utils
+https://microsoft.github.io/autogen/docs/reference/math_utils
+https://microsoft.github.io/autogen/docs/reference/retrieve_utils
+https://microsoft.github.io/autogen/docs/reference/runtime_logging
+https://microsoft.github.io/autogen/docs/reference/token_count_utils
+https://microsoft.github.io/autogen/docs/reference/oai/client
+https://microsoft.github.io/autogen/blog/2023/07/14/Local-LLMs
+https://microsoft.github.io/autogen/blog/2024/01/26/Custom-Models
+https://microsoft.github.io/autogen/docs/autogen-studio/usage
+https://microsoft.github.io/autogen/docs/autogen-studio/faqs
+https://microsoft.github.io/autogen/docs/ecosystem/agentops
+https://microsoft.github.io/autogen/docs/ecosystem/azure_cosmos_db
+https://microsoft.github.io/autogen/docs/ecosystem/composio
+https://microsoft.github.io/autogen/docs/ecosystem/databricks
+https://microsoft.github.io/autogen/docs/ecosystem/llamaindex
+https://microsoft.github.io/autogen/docs/ecosystem/mem0
+https://microsoft.github.io/autogen/docs/ecosystem/memgpt
+https://microsoft.github.io/autogen/docs/ecosystem/microsoft-fabric
+https://microsoft.github.io/autogen/docs/ecosystem/ollama
+https://microsoft.github.io/autogen/docs/ecosystem/pgvector
+https://microsoft.github.io/autogen/docs/ecosystem/portkey
+https://microsoft.github.io/autogen/docs/ecosystem/promptflow
+https://microsoft.github.io/autogen/docs/contributor-guide/docker
+https://microsoft.github.io/autogen/docs/contributor-guide/documentation
+https://microsoft.github.io/autogen/docs/contributor-guide/file-bug-report
+https://microsoft.github.io/autogen/docs/contributor-guide/maintainer
+https://microsoft.github.io/autogen/docs/contributor-guide/pre-commit
+https://microsoft.github.io/autogen/docs/contributor-guide/tests
+https://microsoft.github.io/autogen/docs/notebooks/agentchat_auto_feedback_from_code_execution
+https://microsoft.github.io/autogen/docs/notebooks/agentchat_RetrieveChat
+https://microsoft.github.io/autogen/docs/notebooks/agentchat_RetrieveChat_qdrant
+https://microsoft.github.io/autogen/docs/notebooks/agentchat_groupchat
+https://microsoft.github.io/autogen/docs/notebooks/agentchat_groupchat_vis
+https://microsoft.github.io/autogen/docs/notebooks/agentchat_groupchat_research
+https://microsoft.github.io/autogen/docs/notebooks/agentchat_groupchat_finite_state_machine
+https://microsoft.github.io/autogen/docs/notebooks/agentchat_society_of_mind
+https://microsoft.github.io/autogen/docs/notebooks/agentchat_groupchat_customized
+https://microsoft.github.io/autogen/docs/notebooks/agentchat_multi_task_chats
+https://microsoft.github.io/autogen/docs/notebooks/agentchat_multi_task_async_chats
+https://microsoft.github.io/autogen/docs/notebooks/agentchats_sequential_chats
+https://microsoft.github.io/autogen/docs/notebooks/agentchat_nestedchat
+https://microsoft.github.io/autogen/docs/notebooks/agentchat_nested_sequential_chats
+https://microsoft.github.io/autogen/docs/notebooks/agentchat_nestedchat_optiguide
+https://microsoft.github.io/autogen/docs/notebooks/agentchat_nested_chats_chess
+https://microsoft.github.io/autogen/docs/notebooks/agentchat_function_call_currency_calculator
+https://microsoft.github.io/autogen/docs/notebooks/agentchat_function_call_async
+https://microsoft.github.io/autogen/docs/notebooks/agentchat_groupchat_RAG
+https://microsoft.github.io/autogen/docs/notebooks/agentchat_video_transcript_translate_with_whisper
+https://microsoft.github.io/autogen/docs/notebooks/agentchat_webscraping_with_apify
+https://microsoft.github.io/autogen/docs/notebooks/agentchat_teaching
+https://microsoft.github.io/autogen/docs/notebooks/agentchat_teachability
+https://microsoft.github.io/autogen/docs/notebooks/agentchat_nested_chats_chess_altmodels
+https://microsoft.github.io/autogen/docs/notebooks/agentchat_transform_messages
+https://microsoft.github.io/autogen/docs/Use-Cases/enhanced_inference/
+https://microsoft.github.io/autogen/docs/notebooks/JSON_mode_example
+https://microsoft.github.io/autogen/docs/notebooks/agentchat_RetrieveChat_mongodb
+https://microsoft.github.io/autogen/docs/notebooks/agentchat_RetrieveChat_pgvector
+https://microsoft.github.io/autogen/docs/notebooks/agentchat_agentops
+https://microsoft.github.io/autogen/docs/notebooks/agentchat_agentoptimizer
+https://microsoft.github.io/autogen/docs/notebooks/agentchat_azr_ai_search
+https://microsoft.github.io/autogen/docs/notebooks/agentchat_custom_model
+https://microsoft.github.io/autogen/docs/notebooks/agentchat_databricks_dbrx
+https://microsoft.github.io/autogen/docs/notebooks/agentchat_function_call_code_writing
+https://microsoft.github.io/autogen/docs/notebooks/agentchat_function_call_with_composio
+https://microsoft.github.io/autogen/docs/notebooks/agentchat_group_chat_with_llamaindex_agents
+https://microsoft.github.io/autogen/docs/notebooks/agentchat_groupchat_stateflow
+https://microsoft.github.io/autogen/docs/notebooks/agentchat_image_generation_capability
+https://microsoft.github.io/autogen/docs/notebooks/agentchat_lmm_gpt-4v
+https://microsoft.github.io/autogen/docs/notebooks/agentchat_logging
+https://microsoft.github.io/autogen/docs/notebooks/agentchat_memory_using_mem0
+https://microsoft.github.io/autogen/docs/notebooks/agentchat_oai_assistant_function_call
+https://microsoft.github.io/autogen/docs/notebooks/agentchat_oai_assistant_groupchat
+https://microsoft.github.io/autogen/docs/notebooks/agentchat_oai_code_interpreter
+https://microsoft.github.io/autogen/docs/notebooks/agentchat_websockets
+https://microsoft.github.io/autogen/docs/notebooks/gpt_assistant_agent_function_call
+https://microsoft.github.io/autogen/blog/2024/10/02/new-autogen-architecture-preview
+https://microsoft.github.io/autogen/blog/2024/07/25/AgentOps
+https://microsoft.github.io/autogen/blog/2024/06/24/AltModels-Classes
+https://microsoft.github.io/autogen/blog/2024/06/21/AgentEval
+https://microsoft.github.io/autogen/blog/2024/05/24/Agent
+https://microsoft.github.io/autogen/blog/2024/03/11/AutoDefense/Defending%20LLMs%20Against%20Jailbreak%20Attacks%20with%20AutoDefense
+https://microsoft.github.io/autogen/blog/2024/03/03/AutoGen-Update
+https://microsoft.github.io/autogen/blog/2024/02/29/StateFlow
+https://microsoft.github.io/autogen/blog/2024/02/11/FSM-GroupChat
+https://microsoft.github.io/autogen/blog/2024/02/02/AutoAnny
+https://microsoft.github.io/autogen/blog/2024/01/25/AutoGenBench
+https://microsoft.github.io/autogen/blog/2024/01/23/Code-execution-in-docker
+https://microsoft.github.io/autogen/blog/2023/12/29/AgentDescriptions
+https://microsoft.github.io/autogen/blog/2023/12/23/AgentOptimizer
+https://microsoft.github.io/autogen/blog/2023/12/01/AutoGenStudio
+https://microsoft.github.io/autogen/blog/2023/11/26/Agent-AutoBuild
+https://microsoft.github.io/autogen/blog/2023/11/20/AgentEval
+https://microsoft.github.io/autogen/blog/2023/11/13/OAI-assistants
+https://microsoft.github.io/autogen/blog/2023/11/09/EcoAssistant
+https://microsoft.github.io/autogen/blog/2023/11/06/LMM-Agent
+https://microsoft.github.io/autogen/blog/2023/10/26/TeachableAgent
+https://microsoft.github.io/autogen/blog/2023/10/18/RetrieveChat
+https://microsoft.github.io/autogen/blog/2023/06/28/MathChat
+https://microsoft.github.io/autogen/blog/2023/05/18/GPT-adaptive-humaneval
+https://microsoft.github.io/autogen/blog/2023/04/21/LLM-tuning-math
+https://microsoft.github.io/autogen/blog/tags/auto-gen
+https://microsoft.github.io/autogen/docs/notebooks/agentchat_agentops/
+https://microsoft.github.io/autogen/blog/tags/llm
+https://microsoft.github.io/autogen/blog/tags/agent
+https://microsoft.github.io/autogen/blog/tags/observability
+https://microsoft.github.io/autogen/blog/tags/agent-ops
+https://microsoft.github.io/autogen/docs/topics/non-openai-models/cloud-gemini
+https://microsoft.github.io/autogen/docs/topics/handling_long_contexts/intro_to_transform_messages
+https://microsoft.github.io/autogen/docs/reference/oai/gemini
+https://microsoft.github.io/autogen/blog/tags/mistral-ai
+https://microsoft.github.io/autogen/blog/tags/anthropic
+https://microsoft.github.io/autogen/blog/tags/together-ai
+https://microsoft.github.io/autogen/blog/tags/gemini
+https://microsoft.github.io/autogen/blog/2023/11/20/AgentEval/
+https://microsoft.github.io/autogen/blog/tags/gpt
+https://microsoft.github.io/autogen/blog/tags/evaluation
+https://microsoft.github.io/autogen/blog/tags/task-utility
+https://microsoft.github.io/autogen/docs/topics/prompting-and-reasoning/reflection
+https://microsoft.github.io/autogen/docs/topics/code-execution/user-defined-functions
+https://microsoft.github.io/autogen/blog/2023/12/01/AutoGenStudio/
+https://microsoft.github.io/autogen/blog/tags/thoughts
+https://microsoft.github.io/autogen/blog/tags/interview-notes
+https://microsoft.github.io/autogen/blog/tags/research
+https://microsoft.github.io/autogen/blog/tags/news
+https://microsoft.github.io/autogen/blog/tags/summary
+https://microsoft.github.io/autogen/blog/tags/roadmap
+https://microsoft.github.io/autogen/blog/2024/02/11/FSM-GroupChat/
+https://microsoft.github.io/autogen/docs/notebooks/agentchat_groupchat_finite_state_machine/
+https://microsoft.github.io/autogen/blog/page/2
+https://microsoft.github.io/autogen/docs/reference/coding/local_commandline_code_executor
+https://microsoft.github.io/autogen/docs/reference/coding/docker_commandline_code_executor
+https://microsoft.github.io/autogen/docs/reference/coding/jupyter/jupyter_code_executor
+https://microsoft.github.io/autogen/docs/topics/code-execution/jupyter-code-executor
+https://microsoft.github.io/autogen/docs/topics/code-execution/custom-executor
+https://microsoft.github.io/autogen/docs/topics/groupchat/resuming_groupchat
+https://microsoft.github.io/autogen/docs/topics/groupchat/transform_messages_speaker_selection
+https://microsoft.github.io/autogen/docs/tags/orchestration
+https://microsoft.github.io/autogen/docs/tags/group-chat
+https://microsoft.github.io/autogen/docs/topics/non-openai-models/best-tips-for-nonopenai-models
+https://microsoft.github.io/autogen/docs/topics/non-openai-models/cloud-anthropic
+https://microsoft.github.io/autogen/docs/topics/non-openai-models/cloud-bedrock
+https://microsoft.github.io/autogen/docs/topics/non-openai-models/cloud-cerebras
+https://microsoft.github.io/autogen/docs/topics/non-openai-models/cloud-cohere
+https://microsoft.github.io/autogen/docs/topics/non-openai-models/cloud-gemini_vertexai
+https://microsoft.github.io/autogen/docs/topics/non-openai-models/cloud-groq
+https://microsoft.github.io/autogen/docs/topics/non-openai-models/cloud-mistralai
+https://microsoft.github.io/autogen/docs/topics/non-openai-models/cloud-togetherai
+https://microsoft.github.io/autogen/docs/topics/non-openai-models/local-litellm-ollama
+https://microsoft.github.io/autogen/docs/topics/non-openai-models/local-lm-studio
+https://microsoft.github.io/autogen/docs/topics/non-openai-models/local-ollama
+https://microsoft.github.io/autogen/docs/topics/non-openai-models/local-vllm
+https://microsoft.github.io/autogen/docs/topics/non-openai-models/transforms-for-nonopenai-models
+https://microsoft.github.io/autogen/docs/notebooks/agentchat_custom_model/
+https://microsoft.github.io/autogen/docs/reference/cache/disk_cache
+https://microsoft.github.io/autogen/docs/reference/cache/redis_cache
+https://microsoft.github.io/autogen/docs/reference/oai/openai_utils
+https://microsoft.github.io/autogen/docs/reference/cache/
+https://microsoft.github.io/autogen/docs/reference/agentchat/contrib/retrieve_user_proxy_agent
+https://microsoft.github.io/autogen/docs/reference/agentchat/contrib/agent_eval/criterion
+https://microsoft.github.io/autogen/docs/reference/agentchat/contrib/agent_eval/critic_agent
+https://microsoft.github.io/autogen/docs/reference/agentchat/contrib/agent_eval/quantifier_agent
+https://microsoft.github.io/autogen/docs/reference/agentchat/contrib/agent_eval/subcritic_agent
+https://microsoft.github.io/autogen/docs/reference/agentchat/contrib/agent_eval/task
+https://microsoft.github.io/autogen/docs/reference/agentchat/contrib/capabilities/agent_capability
+https://microsoft.github.io/autogen/docs/reference/agentchat/contrib/graph_rag/document
+https://microsoft.github.io/autogen/docs/reference/agentchat/contrib/vectordb/base
+https://microsoft.github.io/autogen/docs/reference/agentchat/contrib/agent_builder
+https://microsoft.github.io/autogen/docs/reference/agentchat/contrib/agent_optimizer
+https://microsoft.github.io/autogen/docs/reference/agentchat/contrib/gpt_assistant_agent
+https://microsoft.github.io/autogen/docs/reference/agentchat/contrib/img_utils
+https://microsoft.github.io/autogen/docs/reference/agentchat/contrib/llamaindex_conversable_agent
+https://microsoft.github.io/autogen/docs/reference/agentchat/contrib/llava_agent
+https://microsoft.github.io/autogen/docs/reference/agentchat/contrib/math_user_proxy_agent
+https://microsoft.github.io/autogen/docs/reference/agentchat/contrib/multimodal_conversable_agent
+https://microsoft.github.io/autogen/docs/reference/agentchat/contrib/qdrant_retrieve_user_proxy_agent
+https://microsoft.github.io/autogen/docs/reference/agentchat/contrib/retrieve_assistant_agent
+https://microsoft.github.io/autogen/docs/reference/agentchat/contrib/society_of_mind_agent
+https://microsoft.github.io/autogen/docs/reference/agentchat/contrib/text_analyzer_agent
+https://microsoft.github.io/autogen/docs/reference/agentchat/contrib/web_surfer
+https://microsoft.github.io/autogen/docs/reference/browser_utils/markdown_search
+https://microsoft.github.io/autogen/docs/reference/browser_utils/mdconvert
+https://microsoft.github.io/autogen/docs/reference/browser_utils/playwright_markdown_browser
+https://microsoft.github.io/autogen/docs/reference/browser_utils/requests_markdown_browser
+https://microsoft.github.io/autogen/docs/reference/browser_utils/selenium_markdown_browser
+https://microsoft.github.io/autogen/docs/reference/cache/cache_factory
+https://microsoft.github.io/autogen/docs/reference/cache/cosmos_db_cache
+https://microsoft.github.io/autogen/docs/reference/cache/in_memory_cache
+https://microsoft.github.io/autogen/docs/reference/coding/jupyter/docker_jupyter_server
+https://microsoft.github.io/autogen/docs/reference/coding/jupyter/embedded_ipython_code_executor
+https://microsoft.github.io/autogen/docs/reference/coding/jupyter/jupyter_client
+https://microsoft.github.io/autogen/docs/reference/coding/jupyter/local_jupyter_server
+https://microsoft.github.io/autogen/docs/reference/coding/base
+https://microsoft.github.io/autogen/docs/reference/coding/factory
+https://microsoft.github.io/autogen/docs/reference/coding/func_with_reqs
+https://microsoft.github.io/autogen/docs/reference/coding/markdown_code_extractor
+https://microsoft.github.io/autogen/docs/reference/coding/utils
+https://microsoft.github.io/autogen/docs/reference/io/console
+https://microsoft.github.io/autogen/docs/reference/io/websockets
+https://microsoft.github.io/autogen/docs/reference/logger/file_logger
+https://microsoft.github.io/autogen/docs/reference/oai/bedrock
+https://microsoft.github.io/autogen/docs/reference/oai/cerebras
+https://microsoft.github.io/autogen/docs/reference/oai/client_utils
+https://microsoft.github.io/autogen/docs/reference/oai/cohere
+https://microsoft.github.io/autogen/docs/reference/oai/completion
+https://microsoft.github.io/autogen/docs/reference/oai/groq
+https://microsoft.github.io/autogen/docs/reference/oai/mistral
+https://microsoft.github.io/autogen/docs/reference/oai/ollama
+https://microsoft.github.io/autogen/docs/reference/oai/rate_limiters
+https://microsoft.github.io/autogen/docs/reference/oai/together
+https://microsoft.github.io/autogen/docs/Contribute
+https://microsoft.github.io/autogen/docs/tags/code-generation
+https://microsoft.github.io/autogen/docs/tags/debugging
+https://microsoft.github.io/autogen/docs/tags/rag
+https://microsoft.github.io/autogen/docs/tags/nested-chat
+https://microsoft.github.io/autogen/docs/tags/sequential-chats
+https://microsoft.github.io/autogen/docs/tags/hierarchical-chat
+https://microsoft.github.io/autogen/docs/tags/tool-use
+https://microsoft.github.io/autogen/docs/tags/function-call
+https://microsoft.github.io/autogen/docs/tags/async
+https://microsoft.github.io/autogen/docs/tags/whisper
+https://microsoft.github.io/autogen/docs/tags/web-scraping
+https://microsoft.github.io/autogen/docs/tags/apify
+https://microsoft.github.io/autogen/docs/tags/teaching
+https://microsoft.github.io/autogen/docs/tags/teachability
+https://microsoft.github.io/autogen/docs/tags/capability
+https://microsoft.github.io/autogen/docs/tags/long-context-handling
+https://microsoft.github.io/autogen/blog/2023/12/29/AgentDescriptions/
+https://microsoft.github.io/autogen/docs/tags/json
+https://microsoft.github.io/autogen/docs/tags/description
+https://microsoft.github.io/autogen/docs/tags/prompt-hacking
+https://microsoft.github.io/autogen/docs/tags/monitoring
+https://microsoft.github.io/autogen/docs/tags/optimization
+https://microsoft.github.io/autogen/docs/tags/tool-function
+https://microsoft.github.io/autogen/docs/tags/azure-identity
+https://microsoft.github.io/autogen/docs/tags/azure-ai-search
+https://microsoft.github.io/autogen/docs/tags/custom-model
+https://microsoft.github.io/autogen/docs/topics/non-openai-models/cloud-mistralai/
+https://microsoft.github.io/autogen/docs/tutorial/conversation-patterns/
+https://microsoft.github.io/autogen/docs/tags/dbrx
+https://microsoft.github.io/autogen/docs/tags/databricks
+https://microsoft.github.io/autogen/docs/tags/open-source
+https://microsoft.github.io/autogen/docs/tags/lakehouse
+https://microsoft.github.io/autogen/docs/tags/data-intelligence
+https://microsoft.github.io/autogen/docs/tags/software-engineering
+https://microsoft.github.io/autogen/docs/tags/agents
+https://microsoft.github.io/autogen/docs/tags/react
+https://microsoft.github.io/autogen/docs/tags/llama-index
+https://microsoft.github.io/autogen/docs/tags/research
+https://microsoft.github.io/autogen/docs/tags/multimodal
+https://microsoft.github.io/autogen/docs/tags/gpt-4-v
+https://microsoft.github.io/autogen/docs/tags/logging
+https://microsoft.github.io/autogen/docs/tags/memory
+https://microsoft.github.io/autogen/docs/tags/open-ai-assistant
+https://microsoft.github.io/autogen/docs/tags/code-interpreter
+https://microsoft.github.io/autogen/docs/reference/io/base/IOStream
+https://microsoft.github.io/autogen/docs/reference/io/websockets/IOWebsockets
+https://microsoft.github.io/autogen/docs/tags/websockets
+https://microsoft.github.io/autogen/docs/tags/streaming
+https://microsoft.github.io/autogen/docs/tags/gpt-assistant
+https://microsoft.github.io/autogen/docs/Installation
+https://microsoft.github.io/autogen/docs/reference/agentchat/agentchat/
+https://microsoft.github.io/autogen/blog/tags/ui
+https://microsoft.github.io/autogen/blog/tags/web
+https://microsoft.github.io/autogen/blog/tags/ux
+https://microsoft.github.io/autogen/blog/tags/openai-assistant
+https://microsoft.github.io/autogen/blog/tags/rag
+https://microsoft.github.io/autogen/blog/tags/cost-effectiveness
+https://microsoft.github.io/autogen/blog/tags/lmm
+https://microsoft.github.io/autogen/blog/tags/multimodal
+https://microsoft.github.io/autogen/blog/tags/teach
+https://microsoft.github.io/autogen/blog/tags
+https://microsoft.github.io/autogen/blog/tags/llm/page/2
+https://microsoft.github.io/autogen/docs/tags/gemini
+https://microsoft.github.io/autogen/blog/page/3
+https://microsoft.github.io/autogen/docs/tags/resume
+https://microsoft.github.io/autogen/docs/reference/agentchat/contrib/capabilities/transform_messages
+https://microsoft.github.io/autogen/docs/tags
+https://microsoft.github.io/autogen/docs/contributor-guide/contributing/
+https://microsoft.github.io/autogen/docs/tags/vertexai
+https://microsoft.github.io/autogen/docs/installation
+https://microsoft.github.io/autogen/docs/reference/agentchat/contrib/capabilities/generate_images
+https://microsoft.github.io/autogen/docs/reference/agentchat/contrib/capabilities/teachability
+https://microsoft.github.io/autogen/docs/reference/agentchat/contrib/capabilities/text_compressors
+https://microsoft.github.io/autogen/docs/reference/agentchat/contrib/capabilities/transforms
+https://microsoft.github.io/autogen/docs/reference/agentchat/contrib/capabilities/transforms_util
+https://microsoft.github.io/autogen/docs/reference/agentchat/contrib/capabilities/vision_capability
+https://microsoft.github.io/autogen/docs/reference/agentchat/contrib/graph_rag/graph_query_engine
+https://microsoft.github.io/autogen/docs/reference/agentchat/contrib/graph_rag/graph_rag_capability
+https://microsoft.github.io/autogen/docs/reference/agentchat/contrib/vectordb/chromadb
+https://microsoft.github.io/autogen/docs/reference/agentchat/contrib/vectordb/couchbase
+https://microsoft.github.io/autogen/docs/reference/agentchat/contrib/vectordb/mongodb
+https://microsoft.github.io/autogen/docs/reference/agentchat/contrib/vectordb/pgvectordb
+https://microsoft.github.io/autogen/docs/reference/agentchat/contrib/vectordb/qdrant
+https://microsoft.github.io/autogen/docs/reference/agentchat/contrib/vectordb/utils
diff --git a/python/packages/autogen-core/docs/redirects/redirects.py b/python/packages/autogen-core/docs/redirects/redirects.py
index b2de2f7d3..05bbc5e94 100644
--- a/python/packages/autogen-core/docs/redirects/redirects.py
+++ b/python/packages/autogen-core/docs/redirects/redirects.py
@@ -8,6 +8,7 @@ THIS_FILE_DIR = Path(__file__).parent
# Contains single text template $to_url
HTML_PAGE_TEMPLATE_FILE = THIS_FILE_DIR / "redirect_template.html"
HTML_REDIRECT_TEMPLATE = HTML_PAGE_TEMPLATE_FILE.open("r").read()
+REDIRECT_URLS_FILE = THIS_FILE_DIR / "redirect_urls.txt"
def generate_redirect(old_url: str, new_url: str, base_dir: Path):
# Create a new redirect page
@@ -16,6 +17,8 @@ def generate_redirect(old_url: str, new_url: str, base_dir: Path):
# If the url ends with /, add index.html
if old_url.endswith("/"):
old_url += "index.html"
+ else:
+ old_url += "/index.html"
if old_url.startswith("/"):
old_url = old_url[1:]
@@ -24,7 +27,7 @@ def generate_redirect(old_url: str, new_url: str, base_dir: Path):
redirect_page_path = base_dir / old_url
# Create the directory if it doesn't exist
- base_dir.mkdir(parents=True, exist_ok=True)
+ redirect_page_path.parent.mkdir(parents=True, exist_ok=True)
# Write the redirect page
with open(redirect_page_path, "w") as f:
@@ -37,7 +40,16 @@ def main():
sys.exit(1)
base_dir = Path(sys.argv[1])
- generate_redirect("/autogen/", "/autogen/0.2/", base_dir)
+
+ # Read file
+ with open(REDIRECT_URLS_FILE, "r") as f:
+ lines = f.readlines()
+
+ for line in lines:
+ # Replace /autogen/ with /autogen/0.2/ and generate redirect
+ old_url = line.strip()
+ new_url = old_url.replace("/autogen/", "/autogen/0.2/")
+ generate_redirect(old_url, new_url, base_dir)
if __name__ == '__main__':
main()
\ No newline at end of file