0 / 0

프롬프트 추가

마지막 업데이트 날짜: 2025년 3월 26일
프롬프트 추가

다양한 프롬프트 모드를 통해 사용자는 자신의 경험 수준에 따라 다양한 방법으로 프롬프트를 추가할 수 있습니다.

다음 편집 모드는 Prompt Lab 에서 사용할 수 있습니다:

  • 자유 형식 : 사용자가 입력한 대로 모델에 일반 텍스트로 프롬프트를 보낼 수 있습니다. 고급 프롬프트 엔지니어링에 익숙한 숙련된 사용자에게 이상적입니다.
  • 구조화 : 사용자는 레이블이 지정된 필드에 텍스트를 추가하여 서식을 지정하고 모델에 프롬프트를 보낼 수 있습니다. 신속한 엔지니어링을 시작하는 초보자에게 이상적입니다.
  • 채팅 : 사용자는 모델과 상호 작용하여 모델이 대화 또는 질문 답변 작업을 처리하는 방식을 확인할 수 있습니다.

다음 샘플은 자유형 및 구조화 모드에서 프롬프트를 추가하는 방법을 보여줍니다. 채팅 모드 사용 방법에 대한 자세한 내용은 Prompt Lab 에서 채팅 모드를 참조하세요.

몇 장짜리 프롬프트가 포함된 샘플입니다: 메시지 분류하기

시나리오: 클라우드 소프트웨어 회사의 고객 지원 챗봇에 제출된 메시지가 주어졌을 때 고객의 메시지를 질문 또는 문제 설명으로 분류합니다. 수업 유형에 따라 채팅이 올바른 지원팀으로 라우팅될 수 있습니다.

분류 작업에 적합한 모델을 선택합니다. 자세한 내용은 모델 선택하기를 참조하세요.

모델 모수

  • 디코딩 : 욕심으로 설정합니다. 모델은 지정된 클래스 이름 중 하나를 반환해야 합니다. 이 모델은 창의력을 발휘하여 새로운 클래스를 구성할 수 없습니다.
  • 중지 기준 : 두 개의 정지 시퀀스를 지정합니다: "질문" 및 "문제". 모델이 입력을 두 카테고리 중 하나로 분류한 후에는 중지해야 합니다. 최대 토큰 매개변수는 출력이 짧기 때문에 5로 설정할 수 있습니다.

자유형 모드

프롬프트 텍스트

이 짧은 프롬프트 텍스트를 Prompt Lab 의 자유형 프롬프트 편집기에 붙여넣고 모델을 선택한 다음 매개변수를 설정한 다음 생성을 클릭하여 결과를 확인합니다.

Message: When I try to log in, I get an error.
Class name: Problem

Message: Where can I find the plan prices?
Class name: Question

Message: What is the difference between trial and paygo?
Class name: Question

Message: The registration page crashed, and now I can't create a new account.
Class name: Problem

Message: What regions are supported?
Class name: Question

Message: I can't remember my password.
Class name: Problem

Message: I'm having trouble registering for a new account.

구조화된 모드

설정 섹션

이러한 헤더와 예제를 설정 섹션의 예제 영역에 붙여넣습니다:

테이블 2. 분류 몇 가지 예시
메시지: 클래스 이름:
When I try to log in, I get an error. Problem
Where can I find the plan prices? Question
What is the difference between trial and paygo? Question
The registration page crashed, and now I can't create a new account. Problem
What regions are supported? Question
I can't remember my password. Problem

체험 섹션

시도 섹션에 이 메시지를 붙여넣습니다:

I'm having trouble registering for a new account.

모델을 선택하고 매개변수를 설정한 다음 생성을 클릭하여 결과를 확인합니다.

몇 컷 프롬프트가 포함된 샘플입니다: 회의 내용을 요약하세요

시나리오: 회의 녹취록이 주어지면 회의에 참석하지 않은 팀원들과 공유할 수 있도록 회의 노트로 요점을 요약하세요.

요약 작업에 적합한 모델을 선택합니다. 자세한 내용은 모델 선택하기를 참조하세요.

모델 모수

  • 디코딩 : Greedy로 설정합니다. 모델은 프롬프트에 있는 내용을 기반으로 가장 예측 가능한 콘텐츠를 반환해야 하며, 너무 창의적이어서는 안 됩니다.
  • 중지 기준 : 요약 후 모델에서 텍스트 생성을 중지하려면 개행 문자 두 개로 구성된 중지 시퀀스를 지정합니다. 이렇게 하려면 시퀀스 중지 텍스트 상자를 클릭하고 Enter 키를 두 번 누른 다음 시퀀스 추가를 클릭합니다. 최대 토큰 매개변수를 60으로 설정합니다.

자유형 모드

프롬프트 텍스트

이 짧은 프롬프트 텍스트를 Prompt Lab 의 자유형 프롬프트 편집기에 붙여넣고 모델을 선택한 다음 매개변수를 설정한 다음 생성을 클릭하여 결과를 확인합니다.

Transcript:
00:00   [sam]   I wanted to share an update on project X today.
00:15   [sam]   Project X will be completed at the end of the week.
00:30   [erin]  That's great!
00:35   [erin]  I heard from customer Y today, and they agreed to buy our product.
00:45   [alex]  Customer Z said they will too.
01:05   [sam]   Great news, all around.
Summary:
Sam shared an update that project X will be complete at the end of the week. 
Erin said customer Y will buy our product. And Alex said customer Z will buy 
our product too.

Transcript:
00:00   [ali]   The goal today is to agree on a design solution.
00:12   [alex]  I think we should consider choice 1.
00:25   [ali]   I agree
00:40   [erin]  Choice 2 has the advantage that it will take less time.
01:03   [alex]  Actually, that's a good point.
01:30   [ali]   So, what should we do?
01:55   [alex]  I'm good with choice 2.
02:20   [erin]  Me too.
02:45   [ali]   Done!
Summary:
Alex suggested considering choice 1. Erin pointed out choice two will take 
less time. The team agreed with choice 2 for the design solution.

Transcript:
00:00   [alex]  Let's plan the team party!
00:10   [ali]   How about we go out for lunch at the restaurant?
00:21   [sam]   Good idea.
00:47   [sam]   Can we go to a movie too?
01:04   [alex]  Maybe golf?
01:15   [sam]   We could give people an option to do one or the other.
01:29   [alex]  I like this plan. Let's have a party!
Summary:

구조화된 모드

설정 섹션

이러한 헤더와 예제를 설정 섹션의 예제 영역에 붙여넣습니다:

표 4. 요약된 몇 가지 예시
Transcript: Summary:
00:00 [sam] I wanted to share an update on project X today.
00:15   [sam]   Project X will be completed at the end of the week.
00:30   [erin]  That's great!
00:35   [erin]  I heard from customer Y today, and they agreed to buy our product.
00:45   [alex]  Customer Z said they will too.
01:05   [sam]  Great news, all around.
- Sam shared an update that project X will be complete at the end of the week
- Erin said customer Y will buy our product
- And Alex said customer Z will buy our product too
00:00   [ali]   The goal today is to agree on a design solution.
00:12   [alex]  I think we should consider choice 1.
00:25   [ali]   I agree
00:40   [erin]  Choice 2 has the advantage that it will take less time.
01:03   [alex]  Actually, that's a good point.
01:30   [ali]   So, what should we do?
01:55   [alex]  I'm good with choice 2.
02:20   [erin]  Me too.
02:45  [ali]   Done!
- Alex suggested considering choice 1
- Erin pointed out choice two will take less time
- The team agreed with choice 2 for the design solution

체험 섹션

시도 섹션에 이 메시지를 붙여넣습니다:

00:00   [alex]  Let's plan the team party!
00:10   [ali]   How about we go out for lunch at the restaurant?
00:21   [sam]   Good idea.
00:47   [sam]   Can we go to a movie too?
01:04   [alex]  Maybe golf?
01:15   [sam]   We could give people an option to do one or the other.
01:29   [alex]  I like this plan. Let's have a party!

모델을 선택하고 매개변수를 설정한 다음 생성을 클릭하여 결과를 확인합니다.

다음에 수행할 작업

Prompt Lab 에서 프롬프트 작성 및 테스트를 완료한 후에는 작업을 프로젝트 자산으로 저장할 수 있습니다. 자세한 내용은 프롬프트 저장하기를 참조하세요.

상위 주제: Prompt Lab