Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion challenge-1/agents/fault_diagnosis_agent.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
# Configuration
knowledge_base_name = 'machine-kb'
search_endpoint = os.environ.get("SEARCH_SERVICE_ENDPOINT")
machine_wiki_mcp_endpoint = f"{search_endpoint}knowledgebases/{knowledge_base_name}/mcp?api-version=2025-11-01-preview"
machine_wiki_mcp_endpoint = f"{search_endpoint}/knowledgebases/{knowledge_base_name}/mcp?api-version=2025-11-01-preview"
machine_data_mcp_endpoint = os.environ.get("MACHINE_MCP_SERVER_ENDPOINT")
apim_subscription_key = os.environ.get("APIM_SUBSCRIPTION_KEY")

Expand Down
2 changes: 1 addition & 1 deletion challenge-1/create_knowledge_base.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@
"credential = DefaultAzureCredential()\n",
"project_resource_id = project_resource_id \n",
"project_connection_name = \"machine-wiki-connection\"\n",
"mcp_endpoint = f\"{search_endpoint}knowledgebases/{knowledge_base_name}/mcp?api-version=2025-11-01-preview\" # This endpoint enables the MCP connection between the agent and knowledge base\n",
"mcp_endpoint = f\"{search_endpoint}/knowledgebases/{knowledge_base_name}/mcp?api-version=2025-11-01-preview\" # This endpoint enables the MCP connection between the agent and knowledge base\n",
"\n",
"# Get bearer token for authentication\n",
"bearer_token_provider = get_bearer_token_provider(credential, \"https://management.azure.com/.default\")\n",
Expand Down