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
↓ 198 callers
Function
cn
(...inputs: ClassValue[])
frontend/src/lib/utils.ts:4
↓ 73 callers
Method
execute
This method is the main entry point for executing a function.
backend/aci/server/app_connectors/base.py:46
↓ 73 callers
Method
filter
Filter and organize log record fields with Pydantic validation.
backend/aci/server/log_schema_filter.py:66
↓ 48 callers
Function
get_logger
(name: str, level: int = logging.INFO)
backend/aci/common/logging_setup.py:50
↓ 44 callers
Function
check_and_get_env_variable
(name: str)
backend/aci/common/utils.py:14
↓ 39 callers
Function
useMetaInfo
()
frontend/src/components/context/metainfo.tsx:145
↓ 38 callers
Method
__init__
(self, message: str | None = None)
backend/aci/common/exceptions.py:117
↓ 17 callers
Function
_validate_function_definition
( function: dict, format: FunctionDefinitionFormat )
backend/aci/server/tests/routes/functions/test_functions_search.py:724
↓ 17 callers
Function
getApiKey
(project: Project, agentId?: string)
frontend/src/lib/api/util.ts:3
↓ 10 callers
Function
_handle_forbidden_exception
(e: ForbiddenException, debug_mode: bool)
backend/mock/propelauth_fastapi_mock.py:86
↓ 9 callers
Function
Header
()
frontend/src/components/layout/header.tsx:20
↓ 9 callers
Function
create_db_session
(db_url: str)
backend/aci/common/utils.py:68
↓ 6 callers
Function
_check_and_get_env_variable
(name: str)
backend/aci/alembic/env.py:33
↓ 6 callers
Function
_decrypt_value
Decrypt a base64-encoded encrypted string.
backend/aci/common/db/custom_sql_types.py:23
↓ 6 callers
Function
_encrypt_value
Encrypt a string value and return base64-encoded result.
backend/aci/common/db/custom_sql_types.py:13
↓ 6 callers
Function
_get_function_name_from_definition
( function_definition: BasicFunctionDefinition | OpenAIFunctionDefinition | AnthropicFunctionDefin
backend/aci/server/tests/routes/functions/test_functions_search.py:738
↓ 6 callers
Function
formatToLocalTime
( date: Date | string, format: string = "DD/MM/YYYY HH:mm:ss", )
frontend/src/utils/time.ts:10
↓ 6 callers
Function
useAppConfigs
()
frontend/src/hooks/use-app-config.tsx:28
↓ 5 callers
Function
filter_visible_properties
Filter the schema to include only visible properties and remove the 'visible' field itself. Ideally, visible and required should be defined f
backend/aci/common/processor.py:10
↓ 5 callers
Function
get_propelauth
()
backend/aci/server/acl.py:18
↓ 5 callers
Method
require_org_member
(self, user: User, required_org_id: str)
backend/mock/propelauth_fastapi_mock.py:164
↓ 5 callers
Method
require_org_member_with_minimum_role
( self, user: User, required_org_id: str, minimum_required_role: str )
backend/mock/propelauth_fastapi_mock.py:170
↓ 5 callers
Function
useApps
(appNames?: string[])
frontend/src/hooks/use-app.tsx:10
↓ 5 callers
Function
useSidebar
()
frontend/src/components/ui/sidebar.tsx:47
↓ 4 callers
Function
_get_project_api_key_ids_sql_list
(context: deps.RequestContext)
backend/aci/server/routes/analytics.py:17
↓ 4 callers
Function
clear_database
Clear all tables in the database except alembic_version.
backend/aci/common/test_utils.py:13
↓ 4 callers
Function
generate_embedding
Generate an embedding for the given text using OpenAI's model.
backend/aci/common/embeddings.py:65
↓ 4 callers
Function
getValidMinuteOrSecond
(value: string)
frontend/src/components/ui-extensions/enhanced-date-picker/time-picker-utils.tsx:54
↓ 4 callers
Function
getValidNumber
( value: string, { max, min = 0, loop = false }: GetValidNumberConfig, )
frontend/src/components/ui-extensions/enhanced-date-picker/time-picker-utils.tsx:24
↓ 4 callers
Function
onChange
()
frontend/src/hooks/use-mobile.ts:12
↓ 4 callers
Function
setDateRangeAndOption
( option: DashboardDateRangeOptions, date?: DashboardDateRange, )
frontend/src/app/logs/page.tsx:50
↓ 4 callers
Method
update_org_metadata
( self, org_id: str, name: str | None = None, can_setup_saml: bool | None = No
backend/mock/propelauth_fastapi_mock.py:468
↓ 4 callers
Function
useApp
(appName: string)
frontend/src/hooks/use-app.tsx:26
↓ 4 callers
Function
useFormField
()
frontend/src/components/ui/form.tsx:45
↓ 4 callers
Function
useUpdateAgent
()
frontend/src/hooks/use-agent.tsx:45
↓ 3 callers
Function
createNoAuthLinkedAccount
( appName: string, linkedAccountOwnerId: string, apiKey: string, )
frontend/src/lib/api/linkedaccount.ts:94
↓ 3 callers
Function
deleteLinkedAccount
( linkedAccountId: string, apiKey: string, )
frontend/src/lib/api/linkedaccount.ts:177
↓ 3 callers
Method
filter
(self, record: logging.LogRecord)
backend/aci/server/middleware/interceptor.py:150
↓ 3 callers
Function
format_function_definition
( function: Function, format: FunctionDefinitionFormat )
backend/aci/server/routes/functions.py:277
↓ 3 callers
Function
getMessageContent
( message: string | ((newState: boolean) => string), state: boolean, )
frontend/src/components/ui-extensions/enhanced-switch/enhanced-switch.tsx:51
↓ 3 callers
Function
getPayloadConfigFromPayload
( config: ChartConfig, payload: unknown, key: string )
frontend/src/components/ui/chart.tsx:308
↓ 3 callers
Function
getValidArrowNumber
( value: string, { min, max, step }: GetValidArrowNumberConfig, )
frontend/src/components/ui-extensions/enhanced-date-picker/time-picker-utils.tsx:65
↓ 3 callers
Function
normalize
(str: string)
frontend/src/components/apps/app-grid.tsx:19
↓ 3 callers
Function
pad
(num: number)
frontend/src/utils/dates.ts:40
↓ 3 callers
Function
setDateByType
( date: Date, value: string, type: TimePickerType, period?: Period, )
frontend/src/components/ui-extensions/enhanced-date-picker/time-picker-utils.tsx:117
↓ 3 callers
Function
updateDashboardDateRange
( newRange: DateRange | undefined, setDateRangeAndOption: ( option: DashboardDateRangeOptions,
frontend/src/components/ui-extensions/enhanced-date-picker/date-picker.tsx:129
↓ 3 callers
Function
updateLinkedAccount
( linkedAccountId: string, apiKey: string, enabled: boolean, )
frontend/src/lib/api/linkedaccount.ts:198
↓ 3 callers
Function
updateProject
( accessToken: string, projectId: string, name: string, )
frontend/src/lib/api/project.ts:58
↓ 3 callers
Function
useAppConfig
(appName?: string | null)
frontend/src/hooks/use-app-config.tsx:38
↓ 3 callers
Function
useAppFunctionsColumns
()
frontend/src/components/apps/useAppFunctionsColumns.tsx:11
↓ 3 callers
Function
useLinkedAccounts
()
frontend/src/hooks/use-linked-account.tsx:22
↓ 3 callers
Function
useQuota
()
frontend/src/hooks/use-quota.tsx:9
↓ 3 callers
Function
useUpdateAppConfig
()
frontend/src/hooks/use-app-config.tsx:98
↓ 2 callers
Function
_get_db_url
()
backend/aci/alembic/env.py:42
↓ 2 callers
Method
_get_rate_limit_headers
(self, key: str)
backend/aci/server/middleware/ratelimit.py:64
↓ 2 callers
Function
_parse_stripe_subscription_details
Parse the Stripe subscription details from a Stripe subscription dict based on the schema: https://docs.stripe.com/api/subscriptions/retrieve
backend/aci/server/routes/billing.py:594
↓ 2 callers
Function
cli
AIPO CLI Tool
backend/aci/cli/aci.py:20
↓ 2 callers
Function
combineDateAndTime
( date: Date | undefined, time: Date | undefined, )
frontend/src/components/ui-extensions/enhanced-date-picker/time-picker-utils.tsx:206
↓ 2 callers
Function
construct_db_url
( scheme: str, user: str, password: str, host: str, port: str, db_name: str )
backend/aci/common/utils.py:23
↓ 2 callers
Function
createAPILinkedAccount
( appName: string, linkedAccountOwnerId: string, linkedAPIKey: string, apiKey: string, )
frontend/src/lib/api/linkedaccount.ts:55
↓ 2 callers
Function
createCustomerPortalSession
( accessToken: string, orgId: string, )
frontend/src/lib/api/billing.ts:55
↓ 2 callers
Function
createProject
( accessToken: string, name: string, orgId: string, )
frontend/src/lib/api/project.ts:28
↓ 2 callers
Method
create_credential_for_domain
Creates a new credential for a specific domain. Function name: AGENT_SECRETS_MANAGER__CREATE_CREDENTIAL_FOR_DOMAIN Args:
backend/aci/server/app_connectors/agent_secrets_manager.py:89
↓ 2 callers
Function
create_test_db_session
Create a database session for testing. Ensures we're using the test database. Each test gets its own database session for better isolatio
backend/aci/common/test_utils.py:24
↓ 2 callers
Function
deleteProject
( accessToken: string, projectId: string, )
frontend/src/lib/api/project.ts:86
↓ 2 callers
Function
display12HourValue
(hours: number)
frontend/src/components/ui-extensions/enhanced-date-picker/time-picker-utils.tsx:199
↓ 2 callers
Function
fetchOAuth2LinkURL
( linkedAccountOwnerId: string, afterOAuth2LinkRedirectURL?: string, )
frontend/src/components/apps/configure-app/linked-account-step.tsx:102
↓ 2 callers
Function
fetchOath2LinkURL
( appName: string, linkedAccountOwnerId: string, afterOAuth2LinkRedirectURL?: string, )
frontend/src/components/appconfig/add-account.tsx:121
↓ 2 callers
Function
formatJson
(jsonString: string | null)
frontend/src/app/logs/page.tsx:100
↓ 2 callers
Function
getAllLinkedAccounts
( apiKey: string, )
frontend/src/lib/api/linkedaccount.ts:3
↓ 2 callers
Function
getApps
( appNames: string[], apiKey: string, )
frontend/src/lib/api/app.ts:21
↓ 2 callers
Function
getJsonPreview
(jsonString: string | null)
frontend/src/app/logs/page.tsx:94
↓ 2 callers
Function
getMinimumPlanForOption
( option: DashboardDateRangeAggregationOption, )
frontend/src/utils/date-range-utils.ts:220
↓ 2 callers
Function
getOauth2LinkURL
( appName: string, linkedAccountOwnerId: string, apiKey: string, afterOAuth2LinkRedirectURL?: string,
frontend/src/lib/api/linkedaccount.ts:131
↓ 2 callers
Function
getProjects
( accessToken: string, orgId: string, )
frontend/src/lib/api/project.ts:3
↓ 2 callers
Function
getValid12Hour
(value: string)
frontend/src/components/ui-extensions/enhanced-date-picker/time-picker-utils.tsx:49
↓ 2 callers
Function
getValidArrowMinuteOrSecond
(value: string, step: number)
frontend/src/components/ui-extensions/enhanced-date-picker/time-picker-utils.tsx:85
↓ 2 callers
Function
getValidHour
(value: string)
frontend/src/components/ui-extensions/enhanced-date-picker/time-picker-utils.tsx:44
↓ 2 callers
Method
get_credential_for_domain
Retrieves the credential for a specific domain. Function name: AGENT_SECRETS_MANAGER__GET_CREDENTIAL_FOR_DOMAIN Args:
backend/aci/server/app_connectors/agent_secrets_manager.py:59
↓ 2 callers
Function
get_ratelimit_middleware_instance
find the RateLimitMiddleware instance in the middleware stack
backend/aci/server/tests/security/test_rate_limiting.py:18
↓ 2 callers
Function
get_subscription_by_stripe_id
Get a subscription by Stripe subscription ID.
backend/aci/common/db/crud/subscriptions.py:26
↓ 2 callers
Function
handleSave
()
frontend/src/components/settings/project-name-editor.tsx:24
↓ 2 callers
Function
handleSearch
(value: string)
frontend/src/components/ui-extensions/enhanced-data-table/data-table-toolbar.tsx:24
↓ 2 callers
Method
remove_user_from_org
(self, user_id: str, org_id: str)
backend/mock/propelauth_fastapi_mock.py:508
↓ 2 callers
Method
run
Run the evaluation pipeline. Args: dataset_artifact: Name of dataset artifact to use dataset_filename: Filen
backend/evals/evaluation_pipeline.py:149
↓ 2 callers
Function
setNewDateRange
( internalDateRange: DateRange | undefined, newFromDate: Date | undefined, newToDate: Date | undef
frontend/src/components/ui-extensions/enhanced-date-picker/date-picker.tsx:116
↓ 2 callers
Function
setup_logging
( formatter: logging.Formatter | None = None, level: int = logging.INFO, filters: list[logging.Fil
backend/aci/common/logging_setup.py:8
↓ 2 callers
Function
test_create_app
( db_session: Session, dummy_app_data: dict, dummy_app_file: Path, dummy_app_secrets_data: dic
backend/aci/cli/tests/test_upsert_app.py:14
↓ 2 callers
Function
useAppLinkedAccounts
(appName?: string | null)
frontend/src/hooks/use-linked-account.tsx:32
↓ 2 callers
Function
useChart
()
frontend/src/components/ui/chart.tsx:27
↓ 2 callers
Function
useCreateAPILinkedAccount
()
frontend/src/hooks/use-linked-account.tsx:52
↓ 2 callers
Function
useCreateNoAuthLinkedAccount
()
frontend/src/hooks/use-linked-account.tsx:81
↓ 2 callers
Function
useDeleteLinkedAccount
()
frontend/src/hooks/use-linked-account.tsx:130
↓ 2 callers
Function
useGetOauth2LinkURL
()
frontend/src/hooks/use-linked-account.tsx:108
↓ 2 callers
Function
useProjects
(orgId?: string, accessToken?: string)
frontend/src/hooks/use-project.tsx:20
↓ 2 callers
Function
useSubscription
()
frontend/src/hooks/use-subscription.tsx:7
↓ 2 callers
Function
useUpdateLinkedAccount
()
frontend/src/hooks/use-linked-account.tsx:149
↓ 1 callers
Function
Table
({ className, ...props }: React.ComponentProps<"table">)
frontend/src/components/ui/table.tsx:7
↓ 1 callers
Function
_access_token_is_expired
(oauth2_credentials: OAuth2SchemeCredentials)
backend/aci/server/security_credentials_manager.py:213
↓ 1 callers
Method
_before_execute
This method is called in the beginning of the execute method.
backend/aci/server/app_connectors/base.py:40
next →
1–100 of 1,222, ranked by callers