Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/SAP-samples/btp-cap-genai-rag
/ functions
Functions
75 in github.com/SAP-samples/btp-cap-genai-rag
⨍
Functions
75
◇
Types & classes
32
↓ 6 callers
Method
applyFilter
()
app/ui/webapp/controller/Main.controller.ts:239
↓ 5 callers
Function
getChatModel
(resourceGroupId: string)
srv/mail-insights-service.ts:709
↓ 4 callers
Method
getActivePath
(componentId: string)
app/ui/webapp/controller/Main.controller.ts:232
↓ 4 callers
Method
getKeywordFilter
(keyword: string, filterPath: string)
app/ui/webapp/controller/Main.controller.ts:315
↓ 4 callers
Method
open
(message: string, onConfirm: () => void, onCancel: () => void)
app/ui/webapp/controller/ConfirmationDialog.ts:21
↓ 4 callers
Method
setActiveEmail
(id: string = null)
app/ui/webapp/controller/Main.controller.ts:122
↓ 3 callers
Method
getFilteredEmailsIds
()
app/ui/webapp/controller/Main.controller.ts:113
↓ 3 callers
Method
hasResponseChanged
()
app/ui/webapp/controller/Main.controller.ts:371
↓ 2 callers
Method
createHeaderElements
(parentBox: HBox, mail: Mail, inTranslatedLanguage: boolean)
app/ui/webapp/controller/EmailDetails.controller.ts:64
↓ 2 callers
Function
delay
(ms: number)
srv/utils/ai-core.ts:181
↓ 2 callers
Method
scrollToActiveEmail
(index: number = null)
app/ui/webapp/controller/Main.controller.ts:101
↓ 1 callers
Method
applySelectedFilter
(propertyName: string, ids: string[])
app/ui/webapp/controller/Main.controller.ts:205
↓ 1 callers
Function
checkOrPrepareDeployments
(resourceGroupId: string)
srv/utils/ai-core.ts:23
↓ 1 callers
Function
createConfigurations
(header: ResourceGroupHeader)
srv/utils/ai-core.ts:98
↓ 1 callers
Function
createDeployments
( configurations: Array<AiConfigurationCreationResponse>, header: ResourceGroupHeader )
srv/utils/ai-core.ts:155
↓ 1 callers
Method
createEmailHeaderContent
(mail: Mail)
app/ui/webapp/controller/EmailDetails.controller.ts:54
↓ 1 callers
Function
createResourceGroup
(resourceGroupId: string)
srv/utils/ai-core.ts:71
↓ 1 callers
Method
createSuggestedActions
(actions: Action[])
app/ui/webapp/controller/EmailDetails.controller.ts:109
↓ 1 callers
Function
getAppName
()
srv/utils/ai-core.ts:54
↓ 1 callers
Method
getContentDensityClass
* This method can be called to determine whether the sapUiSizeCompact or sapUiSizeCozy * design mode class should be set, which influences the size
app/ui/webapp/Component.ts:39
↓ 1 callers
Function
getEmbeddingModel
(resourceGroupId: string)
srv/mail-insights-service.ts:717
↓ 1 callers
Method
getRequestStatesFilter
(id: string, filterPath: string)
app/ui/webapp/controller/Main.controller.ts:310
↓ 1 callers
Function
getResourceGroups
()
srv/utils/ai-core.ts:88
↓ 1 callers
Method
getSentimentFilter
(id: string, filterPath: string)
app/ui/webapp/controller/Main.controller.ts:330
↓ 1 callers
Method
getUrgencyFilter
(id: string, filterPath: string)
app/ui/webapp/controller/Main.controller.ts:324
↓ 1 callers
Method
iPressTheAddMailButton
()
app/ui/webapp/test/integration/pages/MainPage.ts:9
↓ 1 callers
Method
iPressTheCloseButtonInTheDialog
()
app/ui/webapp/test/integration/pages/MainPage.ts:18
↓ 1 callers
Method
iShouldNotSeeTheHelloDialog
()
app/ui/webapp/test/integration/pages/MainPage.ts:44
↓ 1 callers
Method
iShouldSeeTheHelloDialog
()
app/ui/webapp/test/integration/pages/MainPage.ts:33
↓ 1 callers
Method
initAddMailDialog
()
app/ui/webapp/controller/App.controller.ts:33
↓ 1 callers
Method
initMailAnsweredDialog
()
app/ui/webapp/controller/EmailDetails.controller.ts:146
↓ 1 callers
Method
initMailToAddState
()
app/ui/webapp/controller/App.controller.ts:45
↓ 1 callers
Method
isActiveEmailInFilteredEmails
()
app/ui/webapp/controller/Main.controller.ts:96
↓ 1 callers
Method
onSortEmailsList
()
app/ui/webapp/controller/Main.controller.ts:336
↓ 1 callers
Method
onUpdateEmailDetailsBinding
(event: Event)
app/ui/webapp/controller/Main.controller.ts:139
↓ 1 callers
Method
openMailAnsweredDialog
(responseOL: string, responseWL: string)
app/ui/webapp/controller/EmailDetails.controller.ts:128
↓ 1 callers
Method
resetEmailPageState
()
app/ui/webapp/controller/EmailDetails.controller.ts:35
↓ 1 callers
Method
resetSimilarEmailsListState
()
app/ui/webapp/controller/EmailDetails.controller.ts:46
↓ 1 callers
Method
restoreFilter
(listId: string)
app/ui/webapp/controller/Main.controller.ts:212
↓ 1 callers
Method
restoreSearchFilter
()
app/ui/webapp/controller/Main.controller.ts:164
↓ 1 callers
Method
scrollToFirstSection
()
app/ui/webapp/controller/EmailDetails.controller.ts:40
↓ 1 callers
Method
setTopEmail
()
app/ui/webapp/controller/Main.controller.ts:91
Method
constructor
(parentView: View)
app/ui/webapp/controller/ConfirmationDialog.ts:16
Function
getModel
* Convenience method for getting the view model by name in every controller of the application. * @param [sName] The model name * @returns The mod
app/ui/webapp/controller/BaseController.ts:64
Function
getOwnerComponent
* Convenience method for accessing the component of the controller's view. * @returns The component of the controller's view
app/ui/webapp/controller/BaseController.ts:32
Function
getResourceBundle
* Convenience method for getting the i18n resource bundle of the component. * @returns The i18n resource bundle of the component
app/ui/webapp/controller/BaseController.ts:48
Function
getRouter
* Convenience method to get the components' router instance. * @returns The router instance
app/ui/webapp/controller/BaseController.ts:40
Function
getText
(sKey: string, aArgs?: any[], bIgnoreKeyFallback?: boolean)
app/ui/webapp/controller/BaseController.ts:52
Method
init
()
app/ui/webapp/Component.ts:16
Method
init
* Initiate MailInsights instance * @returns {Promise<void>}
srv/mail-insights-service.ts:27
Function
navTo
* Convenience method for triggering the navigation to a specific target. * @public * @param sName Target name * @param [oParameters] Navigation
app/ui/webapp/controller/BaseController.ts:86
Method
onAddMail
()
app/ui/webapp/controller/App.controller.ts:49
Method
onCancelPress
()
app/ui/webapp/controller/ConfirmationDialog.ts:44
Method
onChangeAdditionalInfo
(event: Event)
app/ui/webapp/controller/EmailDetails.controller.ts:162
Method
onChangeResponse
(event: Event)
app/ui/webapp/controller/EmailDetails.controller.ts:208
Method
onConfirmPress
()
app/ui/webapp/controller/ConfirmationDialog.ts:39
Method
onDeleteMail
()
app/ui/webapp/controller/EmailDetails.controller.ts:290
Function
onInit
()
app/ui/webapp/controller/BaseController.ts:24
Method
onInit
()
app/ui/webapp/controller/Main.controller.ts:42
Method
onInit
()
app/ui/webapp/controller/App.controller.ts:19
Function
onNavBack
* Convenience event handler for navigating back. * It there is a history entry we go one step back in the browser history * If not, it will replac
app/ui/webapp/controller/BaseController.ts:95
Method
onPressAction
()
app/ui/webapp/controller/EmailDetails.controller.ts:158
Method
onPressClear
(event: Event)
app/ui/webapp/controller/Main.controller.ts:224
Method
onPressRegenerate
()
app/ui/webapp/controller/EmailDetails.controller.ts:170
Method
onPressSend
()
app/ui/webapp/controller/EmailDetails.controller.ts:220
Method
onRevokeResponse
()
app/ui/webapp/controller/EmailDetails.controller.ts:262
Method
onRouteMatched
()
app/ui/webapp/controller/Main.controller.ts:67
Method
onSearch
()
app/ui/webapp/controller/Main.controller.ts:154
Method
onSelectEmail
(event: Event)
app/ui/webapp/controller/Main.controller.ts:351
Method
onSelectFilter
(event: Event)
app/ui/webapp/controller/Main.controller.ts:184
Method
onUpdateEmailsList
(event: Event)
app/ui/webapp/controller/Main.controller.ts:77
Method
openAddMailDialog
()
app/ui/webapp/controller/App.controller.ts:24
Function
openConfirmationDialog
(message: string, onConfirm: () => void, onCancel?: () => void)
app/ui/webapp/controller/BaseController.ts:104
Function
openMessageDialog
(title: string, body: string)
app/ui/webapp/controller/BaseController.ts:109
Function
setModel
* Convenience method for setting the view model in every controller of the application. * @param oModel The model instance * @param [sName] The mo
app/ui/webapp/controller/BaseController.ts:74