분류 전체보기(188)
-
Langchain OpenAI Agent 살펴보기
langchain의 create_openai_functions_agent 함수로 생성된 agent를 실행할 때, prompt에서 강제로 지정하는 parameters가 있다.각각의 parameter가 어떤 의미를 가지는지, 어떻게 실행이 되는지 살펴보자. prompt (ChatPromptTemplate) [system message] | "you're helpful assistant." [message placeholder] | {chat_history} [human placeholder] | {input} [message placeholder] | {agent_scratchpad} 우선, 각 parameters를 살펴보기 전에 개념 정리를 하고 가자.T..
2024.09.03 -
[Week 21- Day 3] 회고
# GCP tutorial 빠른 시작 | Cloud Build 문서 | Google Cloud 의견 보내기 빠른 시작 의견 보내기 Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Deve cloud.google.com Google 클라우드 플랫폼 로그인 Google 클라우드 플랫폼으로 이동 accounts.google.com # 서로 다른 터미널에서 명령어 실행하기 (?) docker comp..
2022.06.09 -
[Week 21- Day 2] 회고
# Docker Image 생성하기 1. Ubuntu 환경에서 PID 1 프로세스 찾기 Which Process Has PID 0 ? | Baeldung on Linux Learn how to check running processes in Linux, what the PID 0 is, and the actual process that has PID 0. www.baeldung.com 2. docker start 하기 service docker start ERROR 상황: OpenBSD Restarting하고 진행이 안되면 아래 시도 Failed to start OpenBSD Secure Shell server error when I try to run apt-get or to install Ubuntu..
2022.06.07 -
[Week 20- Day 5] 회고
# GCP- Torch model 배포하기 PyTorch Deep Learning VM 인스턴스 만들기 | 딥 러닝 VM 이미지 | Google Cloud 의견 보내기 PyTorch Deep Learning VM 인스턴스 만들기 이 페이지에서는 PyTorch 및 기타 사전 설치된 도구를 사용하여 PyTorch Deep Learning VM Image 인스턴스를 만드는 방법을 보여줍니다. Google Cloud Console 내 cloud.google.com PyTorch on Google Cloud: How to deploy PyTorch models on Vertex AI | Google Cloud Blog In this blog post, we show how you can deploy PyTorch..
2022.06.04 -
[Week 20- Day 4] 회고
# ERROR Tracking 상황 : FastAPI 를 실행하고, 다른 창에서 Streamlit을 실행하는 명령어에서 오류 발생 OSError: [Errno 28] inotify watch limit reached 해결책 : 맨 마지막 댓글이 도움이 되었다. OSError: [Errno 24] inotify instance limit reached change your steamlit run args --server.fileWatcherType none can solve it. discuss.streamlit.io # ERROR Tracking 상황 : Streamlit 로딩 Timeout 해결책 : 실행 명령어에 포트 옵션 추가 python3 -m streamlit run app/frontend.py..
2022.06.02 -
[Week 20- Day 2] 회고
# 고객리뷰 & 사장답글 간의 유사도 측정 - SBERT - TF-IDF - Glove # docker compose 설치하기 # Docker Engine 설치 apt-get update apt-get install docker-ce docker-ce-cli containerd.io docker-compose-plugin apt-cache madison docker-ce # => 5:20.10.16~3-0~ubuntu-bionic (가장 최신의 stable 버전) apt-get install docker-ce=5:20.10.16~3-0~ubuntu-bionic docker-ce-cli=5:20.10.16~3-0~ubuntu-bionic containerd.io docker-compose-plugin do..
2022.06.01