container-apps-openai
This sample shows how to create two Azure Container Apps that use OpenAI, LangChain, ChromaDB, and Chainlit using Terraform.
파일 탐색기
최종 버전 다운로드 (.zip)- CODE_OF_CONDUCT.md
- ISSUE_TEMPLATE.md
- PULL_REQUEST_TEMPLATE.md
- architecture.png
- chainlit-access-prompt-playground.png
- chainlit-before-upload.png
- chainlit-chain-of-thought.png
- chainlit-dark-mode.png
- chainlit-document-reply.png
- chainlit-markdown-format-result.png
- chainlit-processing-documents.png
- chainlit-prompt-playground-question.png
- chainlit-prompt-playground-reply.png
- chainlit-prompt-playground-variable.png
- chainlit-prompt-playground.png
- chainlit-simple-chat.png
- chainlit-source.png
- chainlit-welcome-screen.png
- containers.png
- federatedidentitycredentials.png
- log-stream.png
- logs.png
- openai.png
- resources.png
- .langchain.db
- config.toml
- launch.json
- .env
- 00-variables.sh
- 01-build-docker-images.sh
- 02-run-docker-container.sh
- 03-push-docker-image.sh
- chainlit.md
- chat.py
- doc.py
- Dockerfile
- requirements.txt
- main.tf
- outputs.tf
- variables.tf
- deploy.sh
- main.tf
- outputs.tf
- terraform.tfvars
- variables.tf
- main.tf
- outputs.tf
- variables.tf
- main.tf
- outputs.tf
- variables.tf
- main.tf
- output.tf
- variables.tf
- main.tf
- output.tf
- variables.tf
- main.tf
- output.tf
- variables.tf
- main.tf
- outputs.tf
- variables.tf
- main.tf
- outputs.tf
- variables.tf
- main.tf
- outputs.tf
- variables.tf
- deploy.sh
- main.tf
- outputs.tf
- terraform.tfvars
- variables.tf
- architecture.vsdx
- CHANGELOG.md
- CONTRIBUTING.md
- LICENSE.md
- README.md
# 설치 가이드
1. 코드 내려받기
git clone https://github.com/Azure-Samples/container-apps-openai
깃허브에서 프로젝트 코드 전체를 내 컴퓨터로 내려받습니다.
cd container-apps-openai
방금 내려받은 프로젝트 폴더 안으로 이동합니다.
2. Docker
쉬움 추천사전 준비물
- Git GitHub에서 프로젝트 코드를 내려받으려면 필요합니다.
- Docker Desktop 컨테이너를 빌드하고 실행하려면 필요합니다. 설치 후 실행해서 백그라운드에 켜두세요.
You can use the `src/01-build-docker-images.sh` Bash script to build the Docker container image for each container app.
이 명령어를 터미널에 그대로 입력해 실행하세요.
You can use the `src/02-run-docker-container.sh` Bash script to test the containers for the `sender`, `processor`, and `receiver` applications.
이 명령어를 터미널에 그대로 입력해 실행하세요.
You can use the `src/03-push-docker-image.sh` Bash script to push the Docker container images for the `sender`, `processor`, and `receiver` applications to the [Azure Container Registry (ACR)](https://learn.microsoft.com/en-us/azure/container-registry/container-registry-intro).
이 명령어를 터미널에 그대로 입력해 실행하세요.
docker run -it \
빌드된 이미지를 실제 컨테이너로 실행합니다.
터미널에 docker compose ps 를 입력해 컨테이너들이 Up 상태인지 확인하세요. README에 포트 번호가 적혀있다면 브라우저에서 http://localhost:포트번호 로 접속해보세요.
이 레포의 README에 적힌 실제 명령어를 그대로 가져왔습니다.
// repository documentation
Was this content helpful?
(0 ratings)
