Skip to content

Commit

Permalink
Add launch.json and tasks.json configuration files
Browse files Browse the repository at this point in the history
  • Loading branch information
heblasco committed Mar 6, 2024
1 parent 9de403c commit fd68871
Show file tree
Hide file tree
Showing 4 changed files with 78 additions and 4 deletions.
33 changes: 33 additions & 0 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"name": ".NET Core Launch (web)",
"type": "coreclr",
"request": "launch",
"preLaunchTask": "build",
"program": "${workspaceFolder}/src/AIHub/bin/Debug/net8.0/AIHub.dll",
"args": [],
"cwd": "${workspaceFolder}/src/AIHub",
"stopAtEntry": false,
"serverReadyAction": {
"action": "openExternally",
"pattern": "\\bNow listening on:\\s+(https?://\\S+)"
},
"env": {
"ASPNETCORE_ENVIRONMENT": "Development"
},
"sourceFileMap": {
"/Views": "${workspaceFolder}/Views"
}
},
{
"name": ".NET Core Attach",
"type": "coreclr",
"request": "attach"
}
]
}
41 changes: 41 additions & 0 deletions .vscode/tasks.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
{
"version": "2.0.0",
"tasks": [
{
"label": "build",
"command": "dotnet",
"type": "process",
"args": [
"build",
"${workspaceFolder}/src/AIHub/AIHub.sln",
"/property:GenerateFullPaths=true",
"/consoleloggerparameters:NoSummary;ForceNoAlign"
],
"problemMatcher": "$msCompile"
},
{
"label": "publish",
"command": "dotnet",
"type": "process",
"args": [
"publish",
"${workspaceFolder}/src/AIHub/AIHub.sln",
"/property:GenerateFullPaths=true",
"/consoleloggerparameters:NoSummary;ForceNoAlign"
],
"problemMatcher": "$msCompile"
},
{
"label": "watch",
"command": "dotnet",
"type": "process",
"args": [
"watch",
"run",
"--project",
"${workspaceFolder}/src/AIHub/AIHub.sln"
],
"problemMatcher": "$msCompile"
}
]
}
6 changes: 3 additions & 3 deletions infra/modules/openai/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ resource "azurerm_cognitive_deployment" "this" {

scale {
type = "Standard"
capacity = 120
capacity = 40
}
}

Expand All @@ -36,7 +36,7 @@ resource "azurerm_cognitive_deployment" "embedding" {

scale {
type = "Standard"
capacity = 120
capacity = 40
}
}

Expand All @@ -52,7 +52,7 @@ resource "azurerm_cognitive_deployment" "gpt4" {

scale {
type = "Standard"
capacity = 120
capacity = 40
}
}

Expand Down
2 changes: 1 addition & 1 deletion infra/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ variable "ca_prep_docs_image" {
}

variable "ca_aihub_image" {
default = "ghcr.io/azure/aihub/aihub:1.0.1"
default = "ghcr.io/azure/aihub/aihub:1.0.2-preview.17"
}

variable "use_random_suffix" {
Expand Down

0 comments on commit fd68871

Please sign in to comment.