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

그림으로 배우는 생성형 AI

by 프리양카 베르가디아, 발리아파 락슈마난, 류광
April 2026
Intermediate
348 pages
8h 22m
Korean
Hanbit Media, Inc.
Content preview from 그림으로 배우는 생성형 AI
2314
장 에이전트형 시스템 구축
{'input': '1999년 가장 인기 있는 여아
이름은?',
'output': '1999년 가장 인기 있는 여아
이름은 Emily입니다'}
이것으로 끝입니다
!
이제 정형 데이터에 대한 자연
어 질문에 답할 수 있는
SQL
에이전트가 완성되었습
니다
.
4.6.2 논리적 오류 수정
앞의 예제에서 에이전트가 처음에는 잘못된
SQL
쿼
리문을 생성했지만
,
다행히 데이터베이스의 구문 오
류
syntax
error
메시지 덕분에 쿼리문을 수정할 수 있었습
니다
.
그런데 쿼리문의 오류가 구문 오류가 아니라 논
리적 오류일 수도 있습니다
.
즉
,
문법에는 문제가 없
어서 실행은 되지만 질문에 답을 주지는 못하는
SQL
쿼리문을
SQL
에이전트가 생성할 수도 있는데요
.
[
그
림
4
-
22
]
에 논리적 오류를 고치는 몇 가지 방법이 정
리되어 있습니다
.
그럼 이 방법들을 간단한 예제를 통
해서 살펴보기로 하지요
.
SQL
에이전트에게 다음과 같이 질문한다고 가정합
시다
.
{"input": "1950년대에 가장 인기 있는
남자 이름은?"}
그리고 에이전트가 다음과 같은
SQL
쿼리문을 생성
했다고 합시다
.
SELECT name FROM names WHERE year
BETWEEN 1950 AND 1959 AND gender =
'M' ORDER BY count ...
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

데이비드 포스터
에이전트 시대의 AI 시스템 설계

에이전트 시대의 AI 시스템 설계

발리아파 락슈마난, 하네스 하프케
자바 개발자를 위한 데브옵스 툴

자바 개발자를 위한 데브옵스 툴

스티븐 친, 멜리사 맥케이, 익스헬 루이츠, 바루크 사도구르스키

Publisher Resources

ISBN: 9791175790476