Skip to Content
그림으로 배우는 생성형 AI
book

그림으로 배우는 생성형 AI

by 프리양카 베르가디아, 발리아파 락슈마난, 류광
April 2026
Intermediate
348 pages
8h 22m
Korean
Hanbit Media, Inc.
Content preview from 그림으로 배우는 생성형 AI
1352
장 생성형 AI의 활용
)
return result
이 함수를 호출하고 그 결과로 나온 영양 정보를 레시
피와 함께 표시하려면 함수를 호출할 수 있는 도구
tool
를 만들어야 합니다
.
오토젠을 사용하는 경우 이렇게
하면 됩니다
.
nutrition_tool = autogen.coding.\
LocalCommandLineCodeExecutor(
functions=[
calculate_nutritional_value
]
)
그런 다음 이 도구를
recipe_agent
에 전달해야 합
니다
.
recipe_agent = ConversableAgent(
"recipe_agent",
..., # 이전과 동일
code_execution_config={
"executor": nutrition_tool,
10
역자주 구체적인 사항은 공식 문서
https://autogenhub.github.io/autogen/docs/reference/coding/local_commandline_code_executor/
를 참고하세요.
},
)
이제
recipe_agent
의 프롬프트에 이 도구를 사용해
레시피의 영양 정보를 얻으라고 알려주는 지시사항을
추가하면 준비가 끝납니다
.
오토젠의 경우 파이썬 코드뿐만 아니라 임의의 명령
줄
command
line
도구를 직접 실행하는 것도 가능한데요 ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

만들면서 배우는 생성 AI

만들면서 배우는 생성 AI

데이비드 포스터

Publisher Resources

ISBN: 9791175790476