Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/aipotheosis-labs/aci
/ functions
Functions
1,222 in github.com/aipotheosis-labs/aci
⨍
Functions
1,222
◇
Types & classes
274
↳
Endpoints
54
↓ 1 callers
Function
getSubscription
( accessToken: string, orgId: string, )
frontend/src/lib/api/billing.ts:3
↓ 1 callers
Function
getTimezoneDetails
()
frontend/src/utils/dates.ts:53
↓ 1 callers
Function
getUpgradeButtonText
(planName: Plan)
frontend/src/components/layout/subscription-button.tsx:9
↓ 1 callers
Function
getValidArrow12Hour
(value: string, step: number)
frontend/src/components/ui-extensions/enhanced-date-picker/time-picker-utils.tsx:81
↓ 1 callers
Function
getValidArrowHour
(value: string, step: number)
frontend/src/components/ui-extensions/enhanced-date-picker/time-picker-utils.tsx:77
↓ 1 callers
Function
get_agents_by_project
(db_session: Session, project_id: UUID)
backend/aci/common/db/crud/projects.py:271
↓ 1 callers
Function
get_api_key_by_agent_id
(db_session: Session, agent_id: UUID)
backend/aci/common/db/crud/projects.py:290
↓ 1 callers
Function
get_app_configuration_oauth2_scheme
Get the OAuth2 scheme for an app configuration, taking into account potential overrides.
backend/aci/server/security_credentials_manager.py:219
↓ 1 callers
Function
get_db_engine
(db_url: str)
backend/aci/common/utils.py:50
↓ 1 callers
Function
get_executor
(protocol: Protocol, linked_account: LinkedAccount)
backend/aci/server/function_executors/__init__.py:21
↓ 1 callers
Function
get_functions_definitions
Get function definitions for a list of function names. Args: db_session: Database session function_names: List of function n
backend/aci/server/routes/functions.py:489
↓ 1 callers
Function
get_project
Get a project by primary key.
backend/aci/common/db/crud/projects.py:47
↓ 1 callers
Function
get_sessionmaker
(db_url: str)
backend/aci/common/utils.py:63
↓ 1 callers
Function
handleAppChange
(appId: string)
frontend/src/app/playground/setting-app-selector.tsx:77
↓ 1 callers
Function
handleDeleteFunction
( appName: string, functionName: string, )
frontend/src/components/project/agent-instruction-filter-form.tsx:150
↓ 1 callers
Function
handleFunctionChange
(functionName: string)
frontend/src/app/playground/setting-function-selector.tsx:56
↓ 1 callers
Function
handleInstructionChange
( appName: string, functionName: string, value: string, )
frontend/src/components/project/agent-instruction-filter-form.tsx:98
↓ 1 callers
Function
handleKeyDown
(e: React.KeyboardEvent<HTMLInputElement>)
frontend/src/components/ui-extensions/enhanced-date-picker/time-picker-input.tsx:80
↓ 1 callers
Function
handleSaveFunction
(appName: string, functionName: string)
frontend/src/components/project/agent-instruction-filter-form.tsx:117
↓ 1 callers
Function
handleSaveProjectName
()
frontend/src/app/project-setting/page.tsx:33
↓ 1 callers
Function
handleSubmit
()
frontend/src/components/project/app-edit-form.tsx:86
↓ 1 callers
Function
handleValueChange
(value: Period)
frontend/src/components/ui-extensions/enhanced-date-picker/time-period-select.tsx:35
↓ 1 callers
Function
handle_checkout_session_completed
Handles the checkout.session.completed event. 1. Retrieve the client_reference_id and subscription details from the session data 2. Retri
backend/aci/server/routes/billing.py:253
↓ 1 callers
Function
handle_customer_subscription_deleted
Handles the customer.subscription.deleted event. 1. Find the existing subscription record by stripe_subscription_id 2. Delete the subscri
backend/aci/server/routes/billing.py:522
↓ 1 callers
Function
handle_customer_subscription_updated
Handles the customer.subscription.updated event. 1. Find the existing subscription record in db and also retrieve the latest subscription
backend/aci/server/routes/billing.py:389
↓ 1 callers
Function
init_auth
Fetches metadata required to validate access tokens and returns auth decorators and utilities
backend/mock/propelauth_fastapi_mock.py:626
↓ 1 callers
Function
initializeData
()
frontend/src/app/playground/playground-settings.tsx:40
↓ 1 callers
Function
inviteToOrganization
( accessToken: string, orgId: string, email: string, role: string, )
frontend/src/lib/api/organization.ts:24
↓ 1 callers
Method
invite_user_to_org
( self, email: str, org_id: str, role: str, additional_roles: list[str] = [] )
backend/mock/propelauth_fastapi_mock.py:342
↓ 1 callers
Function
isFormValid
()
frontend/src/components/apps/configure-app/configure-app-step.tsx:124
↓ 1 callers
Function
isMidnight
(date: Date)
frontend/src/components/ui-extensions/enhanced-date-picker/time-icon.tsx:8
↓ 1 callers
Function
isNoon
(date: Date)
frontend/src/components/ui-extensions/enhanced-date-picker/time-icon.tsx:5
↓ 1 callers
Function
isParameterSchema
(value: unknown)
frontend/src/components/apps/function-detail.tsx:39
↓ 1 callers
Function
isValid12Hour
(value: string)
frontend/src/components/ui-extensions/enhanced-date-picker/time-picker-utils.tsx:11
↓ 1 callers
Function
isValidHour
(value: string)
frontend/src/components/ui-extensions/enhanced-date-picker/time-picker-utils.tsx:4
↓ 1 callers
Function
isValidMinuteOrSecond
(value: string)
frontend/src/components/ui-extensions/enhanced-date-picker/time-picker-utils.tsx:18
↓ 1 callers
Function
jumpToPage
()
frontend/src/components/ui-extensions/enhanced-data-table/data-table-pagination.tsx:67
↓ 1 callers
Function
linkAPIAccount
( appName: string, linkedAccountOwnerId: string, linkedAPIKey: string, )
frontend/src/components/appconfig/add-account.tsx:182
↓ 1 callers
Function
linkAPIAccount
( linkedAccountOwnerId: string, linkedAPIKey: string, )
frontend/src/components/apps/configure-app/linked-account-step.tsx:162
↓ 1 callers
Function
linkNoAuthAccount
( appName: string, linkedAccountOwnerId: string, )
frontend/src/components/appconfig/add-account.tsx:206
↓ 1 callers
Function
linkNoAuthAccount
(linkedAccountOwnerId: string)
frontend/src/components/apps/configure-app/linked-account-step.tsx:185
↓ 1 callers
Function
linkOauth2Account
( appName: string, linkedAccountOwnerId: string, )
frontend/src/components/appconfig/add-account.tsx:161
↓ 1 callers
Function
linkOauth2Account
(linkedAccountOwnerId: string)
frontend/src/components/apps/configure-app/linked-account-step.tsx:144
↓ 1 callers
Function
listOrganizationUsers
( accessToken: string, orgId: string, )
frontend/src/lib/api/organization.ts:3
↓ 1 callers
Method
list_credentials
Returns a list of all website credential secrets. Function name: AGENT_SECRETS_MANAGER__LIST_CREDENTIALS Returns:
backend/aci/server/app_connectors/agent_secrets_manager.py:38
↓ 1 callers
Function
main
Main entry point for the evaluation pipeline.
backend/evals/evaluation_pipeline.py:231
↓ 1 callers
Function
onSubmit
(values, e)
frontend/src/components/appconfig/add-account.tsx:228
↓ 1 callers
Function
openai_chat_stream
Stream chat completion responses and handle tool calls asynchronously. Args: messages: List of chat messages tools: List of
backend/aci/server/agent/prompt.py:62
↓ 1 callers
Method
parse_fetch_token_response
Parse OAuth2SchemeCredentials from token response with app-specific handling. Args: token: OAuth2 token response from pr
backend/aci/server/oauth2_manager.py:164
↓ 1 callers
Function
parse_function_name
Parse function name to get module name, class name and method name. e.g. "BRAVE_SEARCH__WEB_SEARCH" -> "aci.server.app_connectors.brave_searc
backend/aci/server/function_executors/connector_function_executor.py:18
↓ 1 callers
Function
populateSelectedFunctionNames
()
frontend/src/components/appconfig/function-selection-dialog.tsx:70
↓ 1 callers
Method
refresh_token
( self, refresh_token: str, )
backend/aci/server/oauth2_manager.py:148
↓ 1 callers
Function
removeUser
( accessToken: string, orgId: string, userId: string, )
frontend/src/lib/api/organization.ts:48
↓ 1 callers
Function
resetForm
()
frontend/src/components/project/delete-project-dialog.tsx:41
↓ 1 callers
Method
rewrite_oauth2_authorization_url
Rewrite OAuth2 authorization URL for specific apps that need special handling. Currently handles Slack's special case where user scop
backend/aci/server/oauth2_manager.py:219
↓ 1 callers
Function
run_migrations_offline
Run migrations in 'offline' mode. This configures the context with just a URL and not an Engine, though an Engine is acceptable here as w
backend/aci/alembic/env.py:53
↓ 1 callers
Function
run_migrations_online
Run migrations in 'online' mode. In this scenario we need to create an Engine and associate a connection with the context.
backend/aci/alembic/env.py:76
↓ 1 callers
Function
searchFunctionExecutionLogs
( params: LogSearchParams = {}, orgId?: string, accessToken?: string, )
frontend/src/lib/api/log.ts:3
↓ 1 callers
Function
searchFunctions
( params: FunctionsSearchParams, apiKey: string, )
frontend/src/lib/api/appfunction.ts:37
↓ 1 callers
Function
search_documents
( db_session: Session, query_embedding: list[float], k: int = 5 )
backend/aci/server/routes/docs.py:88
↓ 1 callers
Function
set12Hours
(date: Date, value: string, period: Period)
frontend/src/components/ui-extensions/enhanced-date-picker/time-picker-utils.tsx:107
↓ 1 callers
Function
setBeginningOfDay
(date: Date)
frontend/src/utils/dates.ts:23
↓ 1 callers
Function
setEndOfDay
(date: Date)
frontend/src/utils/dates.ts:28
↓ 1 callers
Function
setHours
(date: Date, value: string)
frontend/src/components/ui-extensions/enhanced-date-picker/time-picker-utils.tsx:101
↓ 1 callers
Function
setMinutes
(date: Date, value: string)
frontend/src/components/ui-extensions/enhanced-date-picker/time-picker-utils.tsx:89
↓ 1 callers
Function
setSeconds
(date: Date, value: string)
frontend/src/components/ui-extensions/enhanced-date-picker/time-picker-utils.tsx:95
↓ 1 callers
Function
setup_sentry
()
backend/aci/server/sentry.py:6
↓ 1 callers
Function
test_create_functions
( db_session: Session, dummy_app_data: dict, dummy_app_file: Path, dummy_app_secrets_data: dic
backend/aci/cli/tests/test_upsert_functions.py:24
↓ 1 callers
Function
updateAgent
( projectId: string, agentId: string, accessToken: string, name?: string, description?: string, al
frontend/src/lib/api/agent.ts:34
↓ 1 callers
Function
updateAppConfig
( appName: string, apiKey: string, enabled?: boolean, all_functions_enabled?: boolean, enabled_funct
frontend/src/lib/api/appconfig.ts:105
↓ 1 callers
Function
update_agent_helper
( agent_id: UUID, name: str | None, description: str | None, allowed_apps: list[str] | None,
backend/aci/cli/commands/update_agent.py:74
↓ 1 callers
Function
update_app_helper
Update an existing app in the database. If fields used for generating embeddings (name, display_name, provider, description, categories) are
backend/aci/cli/commands/upsert_app.py:106
↓ 1 callers
Method
update_credential_for_domain
Updates an existing credential for a specific domain. Function name: AGENT_SECRETS_MANAGER__UPDATE_CREDENTIAL_FOR_DOMAIN Ar
backend/aci/server/app_connectors/agent_secrets_manager.py:126
↓ 1 callers
Function
update_functions_helper
Batch updates functions in the database. For each function to update, determines if the embedding needs to be regenerated. Regenerates e
backend/aci/cli/commands/upsert_functions.py:124
↓ 1 callers
Function
upsert_app_helper
( db_session: Session, app_file: Path, secrets_file: Path | None, skip_dry_run: bool )
backend/aci/cli/commands/upsert_app.py:54
↓ 1 callers
Function
upsert_functions_helper
(functions_file: Path, skip_dry_run: bool)
backend/aci/cli/commands/upsert_functions.py:48
↓ 1 callers
Function
useAgentColumns
()
frontend/src/components/apps/useAgentColumns.tsx:12
↓ 1 callers
Function
useAgentsTableColumns
( projectId: string, onDeleteAgent: (agentId: string) => Promise<void>, )
frontend/src/components/project/useAgentsTableColumns.tsx:129
↓ 1 callers
Function
useAnalyticsQueries
()
frontend/src/hooks/use-analytics.tsx:30
↓ 1 callers
Function
useAppConfigsTableColumns
({ linkedAccountsCountMap, enabledFunctionsCountMap, appsMap, }: AppConfigsTableColumnsProps)
frontend/src/components/appconfig/useAppConfigsTableColumns.tsx:33
↓ 1 callers
Function
useCreateAgent
()
frontend/src/hooks/use-agent.tsx:16
↓ 1 callers
Function
useCreateAppConfig
()
frontend/src/hooks/use-app-config.tsx:62
↓ 1 callers
Function
useCreateProject
()
frontend/src/hooks/use-project.tsx:52
↓ 1 callers
Function
useDeleteAgent
()
frontend/src/hooks/use-agent.tsx:66
↓ 1 callers
Function
useDeleteAppConfig
()
frontend/src/hooks/use-app-config.tsx:128
↓ 1 callers
Function
useDeleteProject
()
frontend/src/hooks/use-project.tsx:112
↓ 1 callers
Function
useIsMobile
()
frontend/src/hooks/use-mobile.ts:5
↓ 1 callers
Function
useLogsTable
()
frontend/src/app/logs/page.tsx:33
↓ 1 callers
Function
useOrgMembersTableColumns
({ onRemove, }: { onRemove: (userId: string) => void; })
frontend/src/hooks/use-org-members-table-columns.tsx:31
↓ 1 callers
Function
useReloadProjects
()
frontend/src/hooks/use-project.tsx:138
↓ 1 callers
Function
useScrollToBottom
( messages?: Message[], )
frontend/src/app/playground/use-scroll-to-bottom.ts:3
↓ 1 callers
Function
useTableColumns
( setSelectedLogEntry: (log: LogEntry) => void, setIsDetailPanelOpen: (isOpen: boolean) => void, getJson
frontend/src/app/logs/page.tsx:150
↓ 1 callers
Function
useToolExecution
({ toolInvocation, addToolResult, linkedAccountOwnerId, apiKey, }: UseToolExecutionProps)
frontend/src/hooks/use-tool-execution.ts:19
↓ 1 callers
Function
useUpdateProject
()
frontend/src/hooks/use-project.tsx:82
↓ 1 callers
Method
validate_access_token_and_get_user
(self, authorization_header: str)
backend/mock/propelauth_fastapi_mock.py:202
↓ 1 callers
Function
validate_function_parameters_schema_common
Validate a function parameters schema based on a set of common rules. These rules should be true for all types of protocols. (rest, connector
backend/aci/common/validator.py:1
↓ 1 callers
Function
validate_function_parameters_schema_rest_protocol
Validate a function parameters schema for the REST protocol, for rules that are not covered by the common rules.
backend/aci/common/validator.py:72
↓ 1 callers
Function
validate_user_access_to_org
(user: User, org_id: UUID)
backend/aci/server/acl.py:22
Function
Accordion
({ ...props }: React.ComponentProps<typeof AccordionPrimitive.Root>)
frontend/src/components/ui/accordion.tsx:9
Function
AccordionContent
({ className, children, ...props }: React.ComponentProps<typeof AccordionPrimitive.Content>)
frontend/src/components/ui/accordion.tsx:50
← previous
next →
201–300 of 1,222, ranked by callers