Skip to content

Add chat capability to widget #154

@DavidIsaacBPS

Description

@DavidIsaacBPS

Add an interactive form to allow it to connect to a chat server.

Additional Information
This would be helpful for websites like Grants.gov that already have a chat widget, to avoid having two widgets on the same page.

Alternatives

  • Use wrapper to open either chat or feedback widget
  • Add chat tab to widget

Solution Concept
Implement a new "chat" field type using a custom LIT element that connects to a chat service in Amazon Bedrock via the Bridge using WebSocket protocol to provide a streaming response.

Acceptance Criteria

  • User can enter plain text and receive a response
  • Implementation is less than 100 SLOC.
  • Two users can have different chats at the same time
  • If the installation ID does not match that for BPS, the query is not sent to the chat server and the string "The configured installation is not authorized for chat."

Metadata

Metadata

Assignees

Labels

No labels
No labels
No fields configured for Feature.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions