Documentation
¶
Index ¶
Constants ¶
View Source
const MaxSearchResults = 20
Variables ¶
This section is empty.
Functions ¶
Types ¶
type SearchOptions ¶
type Summary ¶
type Summary struct {
ID string `json:"id"`
Name string `json:"name"`
Title string `json:"title,omitempty"`
Status string `json:"status,omitempty"`
Avatar string `json:"avatar,omitempty"`
Collection string `json:"collectionId,omitempty"`
}
func Search ¶
func Search(ctx context.Context, app core.App, actorID string, options SearchOptions) ([]Summary, error)
Search returns the non-sensitive contact projection available to an authenticated user. Phone numbers and other profile details are excluded because tool results are forwarded to the selected external model.
Click to show internal directories.
Click to hide internal directories.