-
Notifications
You must be signed in to change notification settings - Fork 384
Expand file tree
/
Copy pathlaunch.json
More file actions
112 lines (112 loc) · 4.64 KB
/
Copy pathlaunch.json
File metadata and controls
112 lines (112 loc) · 4.64 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
{
// Run/Debug configurations for the course examples.
//
// Authentication is KEYLESS (Microsoft Entra ID): run `az login` once before launching.
// Azure AI Foundry settings (AZURE_OPENAI_ENDPOINT, AZURE_OPENAI_DEPLOYMENT) are loaded from
// the .env that `azd up` writes in 02-SetupDevEnvironment/examples/basic-chat-azure.
// If that file doesn't exist yet, provision first: `cd 02-SetupDevEnvironment && azd up`.
"version": "0.2.0",
"configurations": [
{
"type": "java",
"name": "Ch02: Basic Chat (Spring Boot)",
"request": "launch",
"mainClass": "com.example.BasicChatApplication",
"projectName": "basic-chat-azure",
"cwd": "${workspaceFolder}/02-SetupDevEnvironment/examples/basic-chat-azure",
"envFile": "${workspaceFolder}/02-SetupDevEnvironment/examples/basic-chat-azure/.env",
"console": "integratedTerminal"
},
{
"type": "java",
"name": "Ch03: LLM Completions & Chat",
"request": "launch",
"mainClass": "com.example.genai.techniques.completions.LLMCompletionsApp",
"projectName": "core-genai-techniques",
"cwd": "${workspaceFolder}/03-CoreGenerativeAITechniques/examples",
"envFile": "${workspaceFolder}/02-SetupDevEnvironment/examples/basic-chat-azure/.env",
"console": "integratedTerminal"
},
{
"type": "java",
"name": "Ch03: Function Calling",
"request": "launch",
"mainClass": "com.example.genai.techniques.functions.FunctionsApp",
"projectName": "core-genai-techniques",
"cwd": "${workspaceFolder}/03-CoreGenerativeAITechniques/examples",
"envFile": "${workspaceFolder}/02-SetupDevEnvironment/examples/basic-chat-azure/.env",
"console": "integratedTerminal"
},
{
"type": "java",
"name": "Ch03: RAG (SimpleReaderDemo)",
"request": "launch",
"mainClass": "com.example.genai.techniques.rag.SimpleReaderDemo",
"projectName": "core-genai-techniques",
"cwd": "${workspaceFolder}/03-CoreGenerativeAITechniques/examples",
"envFile": "${workspaceFolder}/02-SetupDevEnvironment/examples/basic-chat-azure/.env",
"console": "integratedTerminal"
},
{
"type": "java",
"name": "Ch03: Responsible AI Demo",
"request": "launch",
"mainClass": "com.example.genai.techniques.responsibleai.ResponsibleAIDemo",
"projectName": "core-genai-techniques",
"cwd": "${workspaceFolder}/03-CoreGenerativeAITechniques/examples",
"envFile": "${workspaceFolder}/02-SetupDevEnvironment/examples/basic-chat-azure/.env",
"console": "integratedTerminal"
},
{
"type": "java",
"name": "Ch04: Pet Story (Spring Boot web)",
"request": "launch",
"mainClass": "com.example.petstory.PetStoryApplication",
"projectName": "pet-story-app",
"cwd": "${workspaceFolder}/04-PracticalSamples/petstory",
"envFile": "${workspaceFolder}/02-SetupDevEnvironment/examples/basic-chat-azure/.env",
"console": "integratedTerminal"
},
{
"type": "java",
"name": "Ch04: Calculator MCP Server (Spring Boot)",
"request": "launch",
"mainClass": "com.microsoft.mcp.sample.server.McpServerApplication",
"projectName": "calculator-server",
"cwd": "${workspaceFolder}/04-PracticalSamples/calculator",
"console": "integratedTerminal"
},
{
// Start "Ch04: Calculator MCP Server" first, then run this client.
"type": "java",
"name": "Ch04: Calculator - LangChain4j Client",
"request": "launch",
"mainClass": "com.microsoft.mcp.sample.client.LangChain4jClient",
"projectName": "calculator-server",
"cwd": "${workspaceFolder}/04-PracticalSamples/calculator",
"envFile": "${workspaceFolder}/02-SetupDevEnvironment/examples/basic-chat-azure/.env",
"console": "integratedTerminal"
},
{
// Start "Ch04: Calculator MCP Server" first, then run this client.
"type": "java",
"name": "Ch04: Calculator - SDK Client",
"request": "launch",
"mainClass": "com.microsoft.mcp.sample.client.SDKClient",
"projectName": "calculator-server",
"cwd": "${workspaceFolder}/04-PracticalSamples/calculator",
"console": "integratedTerminal"
},
{
// Foundry Local runs a model on your machine - no Azure needed.
// Start the Foundry Local service first (see 04-PracticalSamples/foundrylocal/README.md).
"type": "java",
"name": "Ch04: Foundry Local",
"request": "launch",
"mainClass": "com.example.Application",
"projectName": "foundry-local-spring-boot",
"cwd": "${workspaceFolder}/04-PracticalSamples/foundrylocal",
"console": "integratedTerminal"
}
]
}