Documentation
¶
Index ¶
Constants ¶
View Source
const ( MinSearchTermLength = 3 MaxSearchTermLength = 300 )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GetGithubIssueArgs ¶
type GetGithubIssueArgs struct {
RepoOwner string `jsonschema_description:"The owner of the repository to get issues from. Example: 'mattermost'"`
RepoName string `jsonschema_description:"The name of the repository to get issues from. Example: 'mattermost-plugin-ai'"`
Number int `jsonschema_description:"The issue number to get. Example: '1'"`
}
type GetJiraIssueArgs ¶
type LookupMattermostUserArgs ¶
type LookupMattermostUserArgs struct {
Username string `jsonschema_description:"The username of the user to lookup without a leading '@'. Example: 'firstname.lastname'"`
}
type MMToolProvider ¶
type MMToolProvider struct {
// contains filtered or unexported fields
}
MMToolProvider implements ToolProvider with all built-in Mattermost tools
func NewMMToolProvider ¶
func NewMMToolProvider(pluginAPI mmapi.Client, search *search.Search, httpClient *http.Client) *MMToolProvider
NewMMToolProvider creates a new tool provider
type SearchServerArgs ¶
type SearchServerArgs struct {
Term string `jsonschema_description:"The terms to search for in the server. Must be more than 3 and less than 300 characters."`
}
Click to show internal directories.
Click to hide internal directories.