# LangSmith 추적을 설정합니다. https://smith.langchain.com # !pip install -qU langchain-teddynote from langchain_teddynote import logging # 프로젝트 이름을 입력합니다. logging.langsmith("CH02-Prompt")
from langchain_core.prompts import ChatPromptTemplate, load_prompt # ChatPromptTemplate 생성 prompt = ChatPromptTemplate.from_messages( [ ("system", "You are a helpful assistant"), ("user", "{country}의 수도는 어디인가요?"), ] ) prompt
Subscribe
Enjoy this blog? Get notified of new posts by email: