Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use remotebuild for azd ACA deployment #12

Merged
merged 2 commits into from
Sep 16, 2024
Merged
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
3 changes: 0 additions & 3 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,6 @@
"image": "mcr.microsoft.com/devcontainers/python:3.11-bullseye",
"forwardPorts": [50505],
"features": {
"ghcr.io/devcontainers/features/docker-in-docker:latest": {
"dockerDashComposeVersion": "v2.29.1"
},
"ghcr.io/azure/azure-dev/azd:latest": {}
},
"customizations": {
Expand Down
4 changes: 4 additions & 0 deletions azure.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,15 @@
name: openai-chat-vision-quickstart
metadata:
template: openai-chat-vision-quickstart@0.1.0-beta
requiredVersions:
azd: ">= 1.10.0"
services:
aca:
project: ./src
language: py
host: containerapp
docker:
remoteBuild: true
hooks:
predown:
windows:
Expand Down
4 changes: 3 additions & 1 deletion notebooks/chat_vision.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,9 @@
" \"content\": [\n",
" {\"text\": \"What zone are we losing the most trees in?\", \"type\": \"text\"},\n",
" {\n",
" \"image_url\": {\"url\": \"https://upload.wikimedia.org/wikipedia/commons/thumb/1/1f/20210331_Global_tree_cover_loss_-_World_Resources_Institute.svg/1280px-20210331_Global_tree_cover_loss_-_World_Resources_Institute.svg.png\"},\n",
" \"image_url\": {\n",
" \"url\": \"https://upload.wikimedia.org/wikipedia/commons/thumb/1/1f/20210331_Global_tree_cover_loss_-_World_Resources_Institute.svg/1280px-20210331_Global_tree_cover_loss_-_World_Resources_Institute.svg.png\"\n",
" },\n",
" \"type\": \"image_url\",\n",
" },\n",
" ],\n",
Expand Down