Documentation
¶
Index ¶
Constants ¶
View Source
const ( ContextPostKey = "post" ContextChannelKey = "channel" ContextBotKey = "bot" )
View Source
const ( TitleThreadSummary = "Thread Summary" TitleSummarizeUnreads = "Summarize Unreads" TitleSummarizeChannel = "Summarize Channel" TitleFindActionItems = "Find Action Items" TitleFindOpenQuestions = "Find Open Questions" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AIBotInfo ¶
type AIBotInfo struct {
ID string `json:"id"`
DisplayName string `json:"displayName"`
Username string `json:"username"`
LastIconUpdate int64 `json:"lastIconUpdate"`
DMChannelID string `json:"dmChannelID"`
ChannelAccessLevel llm.ChannelAccessLevel `json:"channelAccessLevel"`
ChannelIDs []string `json:"channelIDs"`
UserAccessLevel llm.UserAccessLevel `json:"userAccessLevel"`
UserIDs []string `json:"userIDs"`
}
type AIBotsResponse ¶
type API ¶
type API struct {
// contains filtered or unexported fields
}
API represents the HTTP API functionality for the plugin
func New ¶
func New( bots *bots.MMBots, conversationsService *conversations.Conversations, meetingsService *meetings.Service, indexerService *indexer.Indexer, searchService *search.Search, pluginAPI *pluginapi.Client, metricsService metrics.Metrics, llmContextBuilder *llmcontext.Builder, config Config, prompts *llm.Prompts, mmClient mmapi.Client, dbClient *mmapi.DBClient, licenseChecker *enterprise.LicenseChecker, streamingService streaming.Service, i18nBundle *i18n.Bundle, ) *API
New creates a new API instance
func (*API) MattermostAuthorizationRequired ¶
func (*API) ServeMetrics ¶
ServeMetrics serves the metrics endpoint
Click to show internal directories.
Click to hide internal directories.