대화형 작업이 2023년 6월 13일에 지원 중단되었습니다. 자세한 내용은
대화 작업 지원 중단을 참고하세요.
프로젝트 및 Dialogflow 에이전트 (Dialogflow) 만들기
컬렉션을 사용해 정리하기
내 환경설정을 기준으로 콘텐츠를 저장하고 분류하세요.
Dialogflow로 개발하려면 먼저 작업 프로젝트와 Dialogflow 에이전트를 만들어야 합니다. 프로젝트가 있으면 개발자 콘솔에 액세스하여 작업을 관리하고 배포할 수 있습니다. Dialogflow 에이전트에는 작업을 정의하는 모든 인텐트가 포함되어 있습니다.
작업 프로젝트 및 Dialogflow 에이전트 만들기
- Actions 콘솔로 이동합니다.
- 새 프로젝트를 클릭합니다.
- 프로젝트 이름을 입력하고 프로젝트 만들기를 클릭합니다.
- 옵션 더보기 섹션까지 아래로 스크롤한 다음 대화 카드를 클릭합니다.
- 상단 메뉴에서 개발을 클릭한 다음 왼쪽 메뉴에서 작업을 클릭합니다.
- 첫 번째 액션 추가를 클릭합니다.
- 커스텀 인텐트 카드에서 빌드를 클릭합니다.
- 에이전트에 자동으로 채워진 정보와 함께 Dialogflow 콘솔이 나타납니다. 만들기를 클릭하여 에이전트를 저장합니다.
Dialogflow 콘솔
이제 왼쪽에 Dialogflow 콘솔과 메뉴 패널이 표시됩니다. 화면이 작은 경우 메뉴가 보이지 않을 경우 왼쪽 상단의 menu 아이콘을 클릭합니다.
가운데 창에는 에이전트의 인텐트 목록이 표시됩니다. 기본적으로 Dialogflow 에이전트는 인텐트 2개로 시작합니다. 기본 시작 인텐트는 사용자에게 인사할 때 사용됩니다. 에이전트가 사용자의 말을 이해하지 못하면 기본 대체 인텐트가 일치됩니다.
Dialogflow 시뮬레이터는 페이지 오른쪽에 있습니다. 시뮬레이터를 사용하면 메시지를 말하거나 입력하여 에이전트를 시험할 수 있습니다. Dialogflow 시뮬레이터에서 Try it now(지금 사용해 보기)를 클릭하고 아무거나 입력한 다음 Enter 키를 누릅니다.

그림 1. 에이전트를 보여주는 Dialogflow 콘솔의 스크린샷
첫 번째 인텐트 만들기
Dialogflow는 인텐트를 사용하여 사용자의 의도를 분류합니다. 인텐트에는 사용자가 에이전트에게 할 수 있는 말의 예시인 학습 문구가 있습니다.
예를 들어 에이전트의 이름을 알고 싶어 하는 사용자는 "What is your name?", "이름이 있으신가요?" 또는 간단히 "이름"이라고 말하세요. 이 문구의 최종 목표는 에이전트의 이름을 찾는 것입니다.
이 케이스를 처리하는 에이전트를 만들려면 다음 단계를 따르세요.
- 탐색 메뉴에서 인텐트 옆에 있는 add를 클릭합니다.
- 인텐트 이름 텍스트 필드에
Name
를 입력합니다.
- 학습 문구 섹션에서 학습 문구 추가를 클릭합니다.
- 다음 문구를 입력합니다 (각 구문 다음에 Enter 누르기).
What is your name?
Do you have a name?
name
- 응답 섹션에서 응답 추가를 클릭합니다.
- 텍스트 응답 창에 다음 응답을 입력합니다.
- 저장을 클릭합니다.
사용해 보기

새 이름 인텐트를 테스트하려면 Dialogflow 시뮬레이터에서 'What's your name?'을 입력하고 Enter 키를 누릅니다.
학습 문구와 정확히 같지 않은 질문을 하는 경우에도 에이전트가 질문에 올바르게 응답할 수 있습니다 (예: 'What's your name?' 또는 'What is your name?')
Dialogflow는 학습 문구를 사용하여 머신러닝 모델을 학습시키므로 에이전트가 사용자 발화를 올바른 인텐트와 일치시키는 데 도움이 됩니다.
달리 명시되지 않는 한 이 페이지의 콘텐츠에는 Creative Commons Attribution 4.0 라이선스에 따라 라이선스가 부여되며, 코드 샘플에는 Apache 2.0 라이선스에 따라 라이선스가 부여됩니다. 자세한 내용은 Google Developers 사이트 정책을 참조하세요. 자바는 Oracle 및/또는 Oracle 계열사의 등록 상표입니다.
최종 업데이트: 2025-07-26(UTC)
[null,null,["최종 업데이트: 2025-07-26(UTC)"],[[["\u003cp\u003eTo begin developing with Dialogflow, you need to set up an Actions project and a Dialogflow agent using the Actions console.\u003c/p\u003e\n"],["\u003cp\u003eDialogflow utilizes intents, containing training phrases and responses, to understand and respond to user requests.\u003c/p\u003e\n"],["\u003cp\u003eYou can test your Dialogflow agent using the built-in simulator by typing or speaking messages.\u003c/p\u003e\n"],["\u003cp\u003eDialogflow employs machine learning to match user input to the appropriate intents, even if the phrasing differs slightly from training phrases.\u003c/p\u003e\n"]]],[],null,["# Create a project and Dialogflow agent (Dialogflow)\n\nTo develop with Dialogflow, you first need to create an Actions project and a\nDialogflow agent. Having a project allows you to access the developer console to\nmanage and distribute your Action. The Dialogflow agent contains all the intents\nthat define your Action.\n| **Note:** When creating a new project, Actions on Google enables [Firebase](//firebase.google.com/), Google's developer platform that provides a number of services for app developers. Relative terms of service information can be found in the [Actions on Google Terms Explanation](/assistant/console/policies/terms-explanation).\n\nCreate an Actions project and Dialogflow agent\n----------------------------------------------\n\n1. Go to the [Actions console](//console.actions.google.com/).\n2. Click **New project**.\n3. Enter a name for your project and click **Create Project** .\n4. Scroll down to the **More options** section and click on the **Conversational** card.\n5. Click **Develop** in the top menu, then click **Actions** in the left menu.\n6. Click **Add Your First Action**.\n7. On the **Custom intent** card, click **Build**.\n8. The Dialogflow console appears with the information automatically populated in an agent. Click **Create** to save the agent.\n\nThe Dialogflow console\n----------------------\n\nYou should now see the Dialogflow console and the menu panel on the left. If\nyou're on a small screen and the menu is hidden, click\n*menu* in the upper left corner.\n\nThe center window shows the list of intents for the agent. By default,\nDialogflow agents start with two intents. The *Default Welcome Intent* greets\nyour users. Your agent matches the *Default Fallback Intent* when it doesn't\nunderstand what the users say.\n\nThe Dialogflow simulator is on the right side of the page. The simulator lets\nyou try out your agent by speaking or typing messages. In the Dialogflow\nsimulator, click **Try it now**, type anything, and press enter.\n\n**Figure 1**. A screenshot of the Dialogflow console showing an agent.\n\nCreate your first intent\n------------------------\n\nDialogflow uses intents to categorize a user's intentions. Intents have\n*Training Phrases*, which are examples of what a user might say to your agent.\nFor instance, a user who wants to know your agent's name might ask, \"What is\nyour name?\", \"Do you have a name?\", or simply say \"name\". These phrases have the\nsame end goal: to get the name of your agent.\n\nTo create an agent that handles this case, follow these steps:\n\n1. Click *add* next to **Intents** in the navigation menu.\n2. Enter `Name` in the **Intent name** text field.\n3. In the **Training Phrases** section, click **Add Training Phrases**.\n4. Enter the following phrases (press enter after each phrase):\n - `What is your name?`\n - `Do you have a name?`\n - `name`\n5. In the **Responses** section, click **Add Response**.\n6. Enter the following response in the **Text Response** window:\n - `My name is Dialogflow!`\n7. Click **Save**.\n\nTry it out\n----------\n\nTo test your new *Name* intent, in the Dialogflow simulator, type \"What's\nyour name?\" and press enter.\n\nYour agent can respond to your question correctly even when you ask questions\nthat aren't exactly the same as the training phrases (for example, \"What's your\nname?\" versus \"What is your name?\").\n\nDialogflow uses training phrases to train a machine learning model, which helps\nthe agent match user utterances to the correct intents."]]