ChatSync
Source:
src/AWS/QBusiness/ChatSync.ts
Runtime binding for the ChatSync operation (IAM action
qbusiness:ChatSync), scoped to one Application.
Sends a user message to the application and returns the full
AI-generated answer in one response, including source attributions
and any suggested plugin actions.
Provide the implementation with
Effect.provide(AWS.QBusiness.ChatSyncHttp).
const chat = yield* AWS.QBusiness.ChatSync(app);
const reply = yield* chat({ userMessage: "What is our travel policy?" });console.log(reply.systemMessage);