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
Method
_build_connection_url
Build PostgreSQL connection URL from connection information. Args: connection_info: Connection information from Render A
backend/aci/server/app_connectors/render.py:101
↓ 1 callers
Method
_calculate_final_metrics
Calculate final metrics from running totals. Args: metrics: Dictionary of running metrics num_samples: Total
backend/evals/search_evaluator.py:99
↓ 1 callers
Function
_convert_org_id_to_uuid
(org_id: str | UUID)
backend/aci/server/routes/webhooks.py:134
↓ 1 callers
Method
_evaluate
Evaluate search performance on a dataset. Args: dataset_artifact: Name of the dataset artifact to evaluate d
backend/evals/evaluation_pipeline.py:105
↓ 1 callers
Function
_evaluate_and_update_database
Async wrapper function that evaluates a website and updates the database with results. This function handles the complete evaluation lifecyc
backend/aci/server/app_connectors/frontend_qa_agent.py:262
↓ 1 callers
Function
_evaluate_website_with_browser_use
(url: str)
backend/aci/server/app_connectors/frontend_qa_agent.py:338
↓ 1 callers
Method
_execute
( self, function: Function, function_input: dict, security_scheme: TScheme,
backend/aci/server/function_executors/base_executor.py:85
↓ 1 callers
Method
_execute_query_sync
Execute SQL query synchronously using SQLAlchemy. Args: connection_url: PostgreSQL connection URL sql: SQL q
backend/aci/server/app_connectors/render.py:125
↓ 1 callers
Method
_fetch_app_function_data
Fetch app and function data from the database. Returns: DataFrame containing app and function information
backend/evals/synthetic_intent_generator.py:52
↓ 1 callers
Method
_find_rank
Find the rank (1-based) of the expected function in the search results. Args: results: List of search results
backend/evals/search_evaluator.py:64
↓ 1 callers
Method
_generate
Generate synthetic intents. Args: dataset_artifact: Name of the artifact to save the dataset to dataset_file
backend/evals/evaluation_pipeline.py:78
↓ 1 callers
Function
_generate_fuzzy_function_call_arguments
Generate fuzzy input arguments for a function with LLM.
backend/aci/cli/commands/fuzzy_test_function_execution.py:116
↓ 1 callers
Method
_generate_intent
Generate a single intent using OpenAI's API. Args: prompt: The prompt to send to the model Returns:
backend/evals/synthetic_intent_generator.py:80
↓ 1 callers
Function
_generate_secure_random_alphanumeric_string
(length: int = 6)
backend/aci/server/routes/webhooks.py:127
↓ 1 callers
Function
_get_api_key_credentials
Get API key credentials from linked account or use app's default credentials if no linked account's API key is found and if the app has a def
backend/aci/server/security_credentials_manager.py:165
↓ 1 callers
Method
_get_app_connector_class
Get the app connector class. Returns: The app connector class. Raises: NoImplementationFound: If th
backend/aci/server/function_executors/connector_function_executor.py:63
↓ 1 callers
Method
_get_client_ip
Get the actual client IP if the server is running behind a proxy.
backend/aci/server/middleware/interceptor.py:116
↓ 1 callers
Function
_get_embedding_model
()
backend/aci/server/routes/docs.py:40
↓ 1 callers
Method
_get_error_message
Get the error message from the response or fallback to the error message from the HTTPStatusError. Usually the response json contains more det
backend/aci/server/function_executors/rest_function_executor.py:117
↓ 1 callers
Function
_get_no_auth_credentials
a somewhat no-op function, but we keep it for consistency.
backend/aci/server/security_credentials_manager.py:198
↓ 1 callers
Function
_get_oauth2_credentials
Get OAuth2 credentials from linked account or app's default credentials. If the access token is expired, it will be refreshed.
backend/aci/server/security_credentials_manager.py:87
↓ 1 callers
Method
_get_postgres_connection_info
Get PostgreSQL connection information from Render API. Args: postgres_id: The ID of the PostgreSQL instance Ret
backend/aci/server/app_connectors/render.py:83
↓ 1 callers
Method
_get_rate_limit_key
(self, request: Request)
backend/aci/server/middleware/ratelimit.py:56
↓ 1 callers
Method
_get_request_body
(self, request: Request)
backend/aci/server/middleware/interceptor.py:130
↓ 1 callers
Method
_get_response_data
Get the response data from the response. If the response is json, return the json data, otherwise fallback to the text.
backend/aci/server/function_executors/rest_function_executor.py:105
↓ 1 callers
Method
_inject_credentials
( self, security_scheme: TScheme, security_credentials: TCred, headers: dict,
backend/aci/server/function_executors/rest_function_executor.py:25
↓ 1 callers
Method
_load_dataset_from_wandb
Load a dataset from a W&B artifact. Args: artifact_name: Name of the W&B artifact dataset_filename: Filename
backend/evals/evaluation_pipeline.py:64
↓ 1 callers
Method
_log_dataset_stats
Log dataset statistics to wandb. Args: df: DataFrame containing the generated dataset
backend/evals/synthetic_intent_generator.py:99
↓ 1 callers
Function
_need_embedding_regeneration
(old_app: AppUpsert, new_app: AppUpsert)
backend/aci/cli/commands/upsert_app.py:167
↓ 1 callers
Function
_need_function_embedding_regeneration
Determines if the function embedding should be regenerated based on changes in the fields used for embedding (name, description, parameters).
backend/aci/cli/commands/upsert_functions.py:203
↓ 1 callers
Method
_preprocess_function_input
(self, function: Function, function_input: dict)
backend/aci/server/function_executors/base_executor.py:49
↓ 1 callers
Function
_refresh_oauth2_access_token
( app_name: str, oauth2_scheme: OAuth2Scheme, oauth2_scheme_credentials: OAuth2SchemeCredentials )
backend/aci/server/security_credentials_manager.py:142
↓ 1 callers
Function
_render_template_to_string
Render a Jinja2 template with the provided secrets and return as string.
backend/aci/cli/commands/upsert_app.py:150
↓ 1 callers
Method
_save_to_wandb
Save the dataset as a wandb artifact. Args: df: DataFrame containing the generated dataset dataset_artifact:
backend/evals/synthetic_intent_generator.py:112
↓ 1 callers
Method
_search
Send a search request to the API and measure response time. Args: intent: The search query/intent limit: Max
backend/evals/search_evaluator.py:39
↓ 1 callers
Method
_send_request
(self, request: httpx.Request)
backend/aci/server/function_executors/rest_function_executor.py:84
↓ 1 callers
Method
_update_metrics
Update running metrics with results from a single evaluation. Args: metrics: Dictionary of running metrics to update
backend/evals/search_evaluator.py:81
↓ 1 callers
Function
_validate_all_functions_belong_to_the_app
( functions_upsert: list[FunctionUpsert], )
backend/aci/cli/commands/upsert_functions.py:191
↓ 1 callers
Function
_validate_app_exists
(db_session: Session, app_name: str)
backend/aci/cli/commands/upsert_functions.py:185
↓ 1 callers
Function
_validate_url
Validate URL format and security to prevent SSRF attacks. TODO: the best way to prevent SSRF attacks is actually put this agent execution in
backend/aci/server/app_connectors/frontend_qa_agent.py:40
↓ 1 callers
Method
add_user_to_org
( self, user_id: str, org_id: str, role: str, additional_roles: list[str] = [] )
backend/mock/propelauth_fastapi_mock.py:503
↓ 1 callers
Function
calculateNewValue
(key: string)
frontend/src/components/ui-extensions/enhanced-date-picker/time-picker-input.tsx:67
↓ 1 callers
Function
check_aws_kms_dependency
()
backend/aci/server/dependency_check.py:5
↓ 1 callers
Function
check_dependencies
()
backend/aci/server/dependency_check.py:18
↓ 1 callers
Function
convert12HourTo24Hour
(hour: number, period: Period)
frontend/src/components/ui-extensions/enhanced-date-picker/time-picker-utils.tsx:180
↓ 1 callers
Function
convert_to_openai_messages
Convert a list of ClientMessage objects to a list of OpenAI messages. Args: messages: A list of ClientMessage objects Returns:
backend/aci/server/agent/prompt.py:16
↓ 1 callers
Function
copyOAuth2LinkURL
( appName: string, linkedAccountOwnerId: string, )
frontend/src/components/appconfig/add-account.tsx:137
↓ 1 callers
Function
copyOAuth2LinkURL
(linkedAccountOwnerId: string)
frontend/src/components/apps/configure-app/linked-account-step.tsx:117
↓ 1 callers
Function
copyToClipboard
()
frontend/src/components/apps/id-display.tsx:19
↓ 1 callers
Function
create
Create a new plan.
backend/aci/common/db/crud/plans.py:31
↓ 1 callers
Function
createAgent
( projectId: string, accessToken: string, name: string, description: string, allowed_apps: string[]
frontend/src/lib/api/agent.ts:3
↓ 1 callers
Function
createAppConfig
( appName: string, security_scheme: string, apiKey: string, security_scheme_overrides?: { oauth2?:
frontend/src/lib/api/appconfig.ts:59
↓ 1 callers
Function
createCheckoutSession
( accessToken: string, orgId: string, planName: string, interval: Interval, )
frontend/src/lib/api/billing.ts:25
↓ 1 callers
Function
create_agent_helper
( project_id: UUID, name: str, description: str, allowed_apps: list[str], custom_instructi
backend/aci/cli/commands/create_agent.py:78
↓ 1 callers
Function
create_app_helper
(db_session: Session, app_upsert: AppUpsert, skip_dry_run: bool)
backend/aci/cli/commands/upsert_app.py:84
↓ 1 callers
Method
create_authorization_url
Create authorization URL for user to authorize your application Args: redirect_uri: The redirect URI of the OAuth2 clien
backend/aci/server/oauth2_manager.py:65
↓ 1 callers
Function
create_functions_helper
Batch creates functions in the database. Generates embeddings for each new function and calls the CRUD layer for creation. Returns a list
backend/aci/cli/commands/upsert_functions.py:103
↓ 1 callers
Method
create_org
( self, name: str, enable_auto_joining_by_domain: bool = False, members_must_h
backend/mock/propelauth_fastapi_mock.py:448
↓ 1 callers
Function
create_project_helper
( name: str, org_id: UUID, visibility_access: Visibility, skip_dry_run: bool, )
backend/aci/cli/commands/create_project.py:53
↓ 1 callers
Function
create_random_api_key_helper
(visibility_access: Visibility, org_id: uuid.UUID | None)
backend/aci/cli/commands/create_random_api_key.py:44
↓ 1 callers
Function
decrypt
(cipher_data: bytes)
backend/aci/common/encryption.py:46
↓ 1 callers
Function
deleteAgent
( projectId: string, agentId: string, accessToken: string, )
frontend/src/lib/api/agent.ts:72
↓ 1 callers
Function
deleteAppConfig
( appName: string, apiKey: string, )
frontend/src/lib/api/appconfig.ts:138
↓ 1 callers
Method
delete_credential_for_domain
Deletes a credential for a specific domain. Function name: AGENT_SECRETS_MANAGER__DELETE_CREDENTIAL_FOR_DOMAIN Args:
backend/aci/server/app_connectors/agent_secrets_manager.py:156
↓ 1 callers
Function
encrypt
(plain_data: bytes)
backend/aci/common/encryption.py:40
↓ 1 callers
Method
evaluate_dataset
Evaluate search performance on a dataset of synthetic intents. Args: dataset: DataFrame containing synthetic intents and
backend/evals/search_evaluator.py:123
↓ 1 callers
Method
execute
Execute the function based on end-user input and security credentials. Input validation, default values injection, and security crede
backend/aci/server/function_executors/base_executor.py:31
↓ 1 callers
Function
executeFunction
( functionName: string, body: FunctionExecute, apiKey: string, )
frontend/src/lib/api/appfunction.ts:8
↓ 1 callers
Function
execute_function
Execute a function with the given parameters. Args: db_session: Database session project: Project object agent: Agen
backend/aci/server/routes/functions.py:318
↓ 1 callers
Method
fetch_token
Exchange authorization code for access token Args: redirect_uri: The redirect URI of the OAuth2 client code:
backend/aci/server/oauth2_manager.py:115
↓ 1 callers
Method
fetch_user_metadata_by_user_id
(self, user_id: str, include_orgs: bool = False)
backend/mock/propelauth_fastapi_mock.py:207
↓ 1 callers
Method
fetch_users_in_org
( self, org_id: str, page_size: int = 10, page_number: int = 0, includ
backend/mock/propelauth_fastapi_mock.py:269
↓ 1 callers
Function
filter
(schema: dict)
backend/aci/common/processor.py:17
↓ 1 callers
Function
filterVisibleProperties
( parametersSchema: unknown, )
frontend/src/components/apps/function-detail.tsx:49
↓ 1 callers
Function
formatFunctionDefinition
( func: AppFunction, format: FunctionDefinitionFormat, )
frontend/src/components/apps/function-detail.tsx:118
↓ 1 callers
Function
fuzzy_test_function_execution_helper
Test function execution with GPT-generated inputs.
backend/aci/cli/commands/fuzzy_test_function_execution.py:68
↓ 1 callers
Method
generate
Generate synthetic intents and save them. Args: dataset_artifact: Name of the artifact to save the dataset to
backend/evals/synthetic_intent_generator.py:152
↓ 1 callers
Method
generate_code_verifier
Generate a random code verifier for OAuth2
backend/aci/server/oauth2_manager.py:209
↓ 1 callers
Function
generate_function_embedding
( function: FunctionEmbeddingFields, openai_client: OpenAI, embedding_model: str, embedding_di
backend/aci/common/embeddings.py:49
↓ 1 callers
Function
getAllAppConfigs
(apiKey: string)
frontend/src/lib/api/appconfig.ts:30
↓ 1 callers
Function
getAllApps
(apiKey: string)
frontend/src/lib/api/app.ts:3
↓ 1 callers
Function
getAppConfig
( appName: string, apiKey: string, )
frontend/src/lib/api/appconfig.ts:3
↓ 1 callers
Function
getAppDistributionData
( apiKey: string, )
frontend/src/lib/api/analytics.ts:6
↓ 1 callers
Function
getAppTimeSeriesData
( apiKey: string, )
frontend/src/lib/api/analytics.ts:50
↓ 1 callers
Function
getArrowByType
( value: string, step: number, type: TimePickerType, )
frontend/src/components/ui-extensions/enhanced-date-picker/time-picker-utils.tsx:156
↓ 1 callers
Function
getDateByType
(date: Date, type: TimePickerType)
frontend/src/components/ui-extensions/enhanced-date-picker/time-picker-utils.tsx:139
↓ 1 callers
Function
getDateFromOption
( selectedTimeOption: SelectedTimeOption, )
frontend/src/utils/date-range-utils.ts:175
↓ 1 callers
Function
getFunctionDistributionData
( apiKey: string, )
frontend/src/lib/api/analytics.ts:28
↓ 1 callers
Function
getFunctionTimeSeriesData
( apiKey: string, )
frontend/src/lib/api/analytics.ts:72
↓ 1 callers
Function
getIconForPeriod
(period: Period)
frontend/src/components/ui-extensions/enhanced-date-picker/time-icon.tsx:11
↓ 1 callers
Function
getInitialPeriod
(date: Date | undefined)
frontend/src/components/ui-extensions/enhanced-date-picker/time-picker.tsx:18
↓ 1 callers
Function
getInstruction
(appName: string, functionName: string)
frontend/src/components/project/agent-instruction-filter-form.tsx:111
↓ 1 callers
Function
getMatchingApp
(appConfigName: string)
frontend/src/components/project/agent-instruction-filter-form.tsx:184
↓ 1 callers
Function
getMessagesFromLocalStorage
()
frontend/src/app/playground/page.tsx:36
↓ 1 callers
Function
getOptionDescription
( option: DashboardDateRangeAggregationOption, userRetentionDays?: number, )
frontend/src/utils/date-range-utils.ts:249
↓ 1 callers
Function
getOrgs
()
frontend/src/components/context/metainfo.tsx:54
↓ 1 callers
Function
getPageItems
(current0: number, total: number)
frontend/src/components/ui-extensions/enhanced-data-table/data-table-pagination.tsx:28
↓ 1 callers
Function
getQuotaUsage
( accessToken: string, orgId: string, )
frontend/src/lib/api/quota.ts:3
↓ 1 callers
Function
getRowSelectionColumn
()
frontend/src/components/ui-extensions/enhanced-data-table/row-selection-column.tsx:6
↓ 1 callers
Function
getShortLocalTimezone
()
frontend/src/utils/dates.ts:47
← previous
next →
101–200 of 1,222, ranked by callers