ChatParticipant

A chat participant can be invoked by the user in a chat session, using the @ prefix. When it is invoked, it handles the chat request and is solely responsible for providing a response to the user. A ChatParticipant is created using chat.createChatParticipant.

Online Documentation

Properties

Link copied to clipboard

This provider will be called once after each request to retrieve suggested followup questions.

Link copied to clipboard
abstract var iconPath: IconPath?

An icon for the participant shown in UI.

Link copied to clipboard
abstract val id: String

A unique ID for this participant.

Link copied to clipboard

An event that fires whenever feedback for a result is received, e.g. when a user up- or down-votes a result.

Link copied to clipboard

The handler for requests to this participant.

Functions

Link copied to clipboard
abstract override fun dispose()

Dispose this participant and free resources.