"Plan-and-Execute 아키텍쳐 구현하기" 강의 prompt not found error
224
2 câu hỏi đã được viết
"Plan-and-Execute 아키텍쳐 구현하기" 강의
hub.pull("ih/ih-react-agent-executor")실행 시 not found error 발생hub.pull("pollyjaky/ih-react-agent-executor")로 대체
Câu trả lời 1
0
안녕하세요~. 반갑습니다.
먼저 수강에 불편을 드려서 죄송하고 정보 공유 감사합니다~.
강의 촬영시점 이후로 시간이 흘러서 hub repo의 변화로 인해 에러가 발생한 것 같습니다.
말씀해주신대로 hub.pull("pollyjaky/ih-react-agent-executor")로 변경해서 사용하셔도 되고, 아니면 아래와 같이 간단하게 그냥 직접 프롬프트를 설정해주어도 됩니다.
from langchain import hub
from langchain_openai import ChatOpenAI
from langgraph.prebuilt import create_react_agent
# Get the prompt to use - you can modify this!
prompt = "You are a helpful assistant."
# Choose the LLM that will drive the agent
llm = ChatOpenAI(model="gpt-4o")
agent_executor = create_react_agent(llm, tools, state_modifier=prompt)다른 분들도 참고하실 수 있도록 위와 같이 수정된 colab 링크를 아래에 첨부합니다.
https://colab.research.google.com/drive/1EKu16O8r_9PQkg3TaaglQWiQxmI8gHEa?usp=sharing
좋은 하루되세요.
감사합니다.
agent 평가 관련 문의 드립니다.
0
3
0
hermes desktop / hermes model
0
16
3
벡터저장소 코드 실행시 경고메시지가 나타납니다.
0
12
1
세션생성질문
0
12
2
config 밑에 이미 파일 많이 들어가 있는데요.
0
21
3
예제를 좀 다양하게 해주세요. 너무 간단한 예제만 있어서 ... 좀 그렇습니다.
0
7
1
WSL에서 멀티프로필 gateway install 시 실패 문제
0
25
2
슬랙 프로필 변경 질문
0
32
2
올리버 에게 채용을 맡기다..에서 문의
0
27
1
Adaptive RAG 질문드립니다.
0
105
1
LangChain에서 제공하는 Tool과 MCP의 차이점
0
213
2
비동기 방식으로 agent를 구성할 필요성이 궁금합니다.
0
190
2
Structured outputs ppt 강의자료 다운로드 가능 위치 문의
0
126
2
STORM 관련 ipynb 소스에서
0
135
2
AI 에이전트를 위한 웹검색(Web search) Tool 에서 DuckDuckGoSearchRun 실행 관련..
0
477
2
ReWoo 아키텍처에서는 RePlan이 필요없나요?
0
186
1
STORM 아키텍쳐
0
127
2
"Airline Red Teaming Korean" 데이터 클론시 에러가 발생합니다.
0
160
2
storm 아키텍쳐 구현하기
1
226
2
범위를 제한한 검색 방법
0
229
2
Llama + Search Tool 연동
0
203
2
강의 자료 좀 올려 주세요.
0
253
4
Tool Calling 질문
0
405
2
STORM(Synthesis of Topic Outlines through Retrieval and Multi-perspective Question Asking) 아키텍처 구현하기 강의에서 콜랩 url 이 안보입니다.
0
176
2

