---
schema_version: "1"
id: bd8b82feee647919cf08397e29c43e64971e84448f63b478daf5c4483000e0de
title: Einstein AI Connector 1.1 のチャット操作の設定
collection: mulesoft
version: current
locale: ja-jp
portal_url: https://docs.salesforce.com/mulesoft/current/ja-jp/einstein-ai-connector/1.1/configuring-chat-operations.md
canonical_url: https://docs.mulesoft.com/jp/einstein-ai-connector/1.1/configuring-chat-operations
source_site: docs.mulesoft.com
content_type: documentation
content_hash: 7e6f6386cebb8daf5f022c9264a4eb41a9efaec8c27029f157074c3556d297f6
description: MuleSoft Documentation Site
release: "1.1"
latest: false
---
# Einstein AI Connector 1.1 のチャット操作の設定

## [](#chat-answer-prompt-操作の設定)Chat Answer Prompt 操作の設定

**Chat answer prompt**​ 操作では、設定済み LLM に要求を送信します。この操作ではプレーンテキストプロンプトを入力として使用し、その応答にはプレーンテキストの回答が含まれます。

1. Anypoint Code Builder または Studio キャンバスで操作を選択します。
2. 操作の ​**\[General (一般)\]**​ プロパティタブで、​**\[Prompt (プロンプト)\]**​ にプレーンテキストを入力します。 Unresolved include directive in modules/ROOT/pages/configuring-chat-operations.adoc - include::connectors::partial$einstein-ai-chat-config-properties-partial.adoc\[\]

この操作の XML 設定を次に示します。

```xml
<ms-einstein-ai:chat-answer-prompt
  doc:name="Chat answer prompt"
  doc:id="66426c0e-5626-4dfa-88ef-b09f77577261"
  config-ref="Einstein_AI"
  prompt="#[payload.prompt]"
/>
```

## [](#chat-generate-from-messages-操作の設定)Chat Generate from Messages 操作の設定

**Chat generate from messages**​ 操作は、指定されたメッセージを使用する、設定済み LLM へのプロンプト要求操作です。この操作では、複数のメッセージを受け入れて、プレーンテキストプロンプトを入力として使用します。操作の応答にはプレーンテキストの回答が含まれます。

1. Anypoint Code Builder または Studio キャンバスで操作を選択します。
2. 操作の ​**\[General (一般)\]**​ プロパティタブで、​**\[Messages (メッセージ)\]**​ にプレーンテキストを入力します。 Unresolved include directive in modules/ROOT/pages/configuring-chat-operations.adoc - include::connectors::partial$einstein-ai-chat-config-properties-partial.adoc\[\]

この操作の設定 XML を次に示します。

```xml
<ms-einstein-ai:chat-generate-from-messages
  doc:name="Chat generate from messages"
  doc:id="94fa27f3-18ce-436c-8a5f-10b8dbfa4ea3"
  config-ref="Einstein_AI"
  messages="#[payload.messages]"
/>
```

## [](#関連情報)関連情報

- [Using Anypoint Code Builder to Configure a Connector](https://docs.mulesoft.com/connectors/introduction/intro-config-use-acb)
- [Einstein AI Connector の概要](https://docs.mulesoft.com/jp/einstein-ai-connector/1.1/)
- [Einstein AI Connector リファレンス](https://docs.mulesoft.com/jp/einstein-ai-connector/1.1/einstein-ai-connector-reference)
- [MuleSoft ヘルプセンター](https://help.mulesoft.com)