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

## [](#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.2/)
- [Einstein AI Connector リファレンス](https://docs.mulesoft.com/jp/einstein-ai-connector/1.2/einstein-ai-connector-reference)
- [MuleSoft ヘルプセンター](https://help.mulesoft.com)