MCPcopy Create free account

hub / github.com/FireBird-Technologies/Auto-Analyst / functions

Functions837 in github.com/FireBird-Technologies/Auto-Analyst

↓ 470 callersMethodlog_message
(self, message: str, level: int = logging.INFO)
auto-analyst-backend/src/utils/logger.py:39
↓ 93 callersFunctiontoast
({ title, description, variant = "default", duration = 0, action }: Toast)
auto-analyst-frontend/components/ui/use-toast.tsx:140
↓ 84 callersFunctioncn
(...inputs: ClassValue[])
auto-analyst-frontend/lib/utils.ts:4
↓ 25 callersMethodretrieve
Return the top-k most similar nodes for a query.
auto-analyst-backend/src/utils/simple_retriever.py:56
↓ 24 callersFunctionescapeHtml
* Escapes HTML characters
auto-analyst-frontend/lib/utils/exportUtils.ts:833
↓ 22 callersMethodget_session_state
Get or create session-specific state using the SessionManager
auto-analyst-backend/src/managers/app_manager.py:23
↓ 17 callersFunctioncheckCredits
()
auto-analyst-frontend/lib/contexts/credit-context.tsx:56
↓ 14 callersFunctionget_date_range
(period: str)
auto-analyst-backend/src/routes/analytics_routes.py:74
↓ 12 callersFunctionhasFeatureAccess
( featureId: string, userSubscription: UserSubscription | null )
auto-analyst-frontend/lib/features/feature-access.ts:59
↓ 12 callersFunctionuseFeatureAccess
( featureId: string, userSubscription: UserSubscription | null )
auto-analyst-frontend/lib/hooks/useFeatureAccess.ts:24
↓ 12 callersFunctionuseToast
()
auto-analyst-frontend/components/ui/use-toast.tsx:177
↓ 11 callersFunctionupdateSessionIdSafely
(newSessionId: string)
auto-analyst-frontend/lib/hooks/useChatInput.ts:176
↓ 10 callersMethodgetCreditsForPlan
* Get credit allocation for a plan by name
auto-analyst-frontend/lib/credits-config.ts:84
↓ 10 callersFunctiongetCurrentSubscriptionStatus
()
auto-analyst-frontend/app/account/page.tsx:272
↓ 10 callersFunctiongetErrorMessage
(error: any)
auto-analyst-frontend/lib/hooks/useChatInput.ts:196
↓ 10 callersFunctiongetHeaders
(additionalHeaders: Record<string, string> = {})
auto-analyst-frontend/lib/hooks/useChatInput.ts:188
↓ 10 callersMethodisUnlimitedTotal
* Check if credit total indicates unlimited
auto-analyst-frontend/lib/credits-config.ts:109
↓ 8 callersMethodencode
(self, text)
auto-analyst-backend/src/managers/ai_manager.py:83
↓ 8 callersFunctiongetUserStorageKey
(key: string)
auto-analyst-frontend/lib/utils/userStorage.tsx:31
↓ 8 callersFunctionupdate_report_in_db
(status, progress, step=None, content=None)
auto-analyst-backend/app.py:2239
↓ 8 callersFunctionuseCredits
()
auto-analyst-frontend/lib/contexts/credit-context.tsx:295
↓ 7 callersFunctiongetHeaders
(adminKey: string)
auto-analyst-frontend/lib/api/analytics.ts:5
↓ 7 callersMethodgetNextResetDate
* Get the reset date one month from today (same day next month)
auto-analyst-frontend/lib/credits-config.ts:173
↓ 6 callersFunctionformatNumber
(num: number)
auto-analyst-frontend/components/analytics/TierAnalytics.tsx:127
↓ 6 callersFunctionget_session
()
auto-analyst-backend/src/db/init_db.py:51
↓ 5 callersFunctioncalculateHash
(str: string)
auto-analyst-frontend/lib/store/codeStore.ts:114
↓ 5 callersMethodgetCreditsByType
* Get credit allocation by plan type
auto-analyst-frontend/lib/credits-config.ts:93
↓ 5 callersMethodgetDeepAnalysisCost
* Get the cost for deep analysis feature
auto-analyst-frontend/lib/credits-config.ts:159
↓ 5 callersFunctiongetTemplateEnabledState
(template: TemplateAgent)
auto-analyst-frontend/components/custom-templates/TemplatesModal.tsx:203
↓ 5 callersFunctionget_session_lm
Get the appropriate LM instance for a session, or default if not configured
auto-analyst-backend/app.py:322
↓ 5 callersFunctionhasEnoughCredits
(userId: string, amount: number)
auto-analyst-frontend/lib/redis.ts:250
↓ 5 callersFunctionhashCode
(str: string)
auto-analyst-frontend/lib/store/visualizationsStore.ts:27
↓ 4 callersFunction_is_standard_agent
Check if agent is one of the 4 core standard agents
auto-analyst-backend/app.py:1157
↓ 4 callersFunction_is_template_agent
Check if agent is a template agent
auto-analyst-backend/app.py:1167
↓ 4 callersFunctionclean_dataset_name
Clean dataset name to be a safe Python identifier. Removes all characters that would cause issues in Python code execution.
auto-analyst-backend/src/routes/session_routes.py:243
↓ 4 callersFunctioncleanup
()
auto-analyst-frontend/components/chat/CodeFixButton.tsx:61
↓ 4 callersFunctioncreatePaymentIntent
(planData: any, promoCodeValue: string = '')
auto-analyst-frontend/app/checkout/page.tsx:123
↓ 4 callersFunctioncreate_custom_agent_signature
Dynamically creates a dspy.Signature class for custom agents. Has to be tested Args: agent_name: Name of the custom agent (e
auto-analyst-backend/src/agents/agents.py:17
↓ 4 callersFunctiondispatch
(action: Action)
auto-analyst-frontend/components/ui/use-toast.tsx:131
↓ 4 callersFunctionformat_code_block
(code_str)
auto-analyst-backend/scripts/format_response.py:301
↓ 4 callersFunctiongetModelCreditCost
(modelName: string)
auto-analyst-frontend/lib/model-registry.ts:260
↓ 4 callersFunctionget_agent_description
Get agent description from database instead of hardcoded dictionaries. This function is kept for backward compatibility but will fetch from D
auto-analyst-backend/src/agents/agents.py:360
↓ 4 callersFunctionget_global_usage_counts
Calculate global usage counts for templates by summing usage_count across all users. Args: session: Database session tem
auto-analyst-backend/src/routes/templates_routes.py:23
↓ 4 callersFunctionhideMentions
()
auto-analyst-frontend/lib/hooks/useAgentMentions.ts:76
↓ 4 callersFunctionparseValue
(value: any)
auto-analyst-frontend/app/api/get-user-credits/route.ts:21
↓ 4 callersFunctionstartEditing
(entryId: string, code: string)
auto-analyst-frontend/components/chat/CodeCanvas.tsx:364
↓ 4 callersFunctionuseModelSettings
()
auto-analyst-frontend/lib/hooks/useModelSettings.ts:46
↓ 3 callersFunction_get_available_agents_list
Get list of all available agents from database
auto-analyst-backend/app.py:1111
↓ 3 callersFunction_get_clamped_temperature
()
auto-analyst-backend/src/managers/session_manager.py:29
↓ 3 callersMethod_track_agent_usage
Track usage for template agents
auto-analyst-backend/src/agents/agents.py:1407
↓ 3 callersFunction_update_session_from_query_params
Extract and validate chat_id and user_id from query parameters
auto-analyst-backend/app.py:963
↓ 3 callersFunctioncheck_table_exists
Check if a table exists in the database.
auto-analyst-backend/scripts/init_production_db.py:35
↓ 3 callersFunctionconvert_markdown_to_html
Convert markdown text to HTML safely
auto-analyst-backend/src/utils/generate_report.py:11
↓ 3 callersFunctioncreateSubscription
(intentId: string)
auto-analyst-frontend/components/CheckoutForm.tsx:113
↓ 3 callersFunctionexecute_code_from_markdown
(code_str, datasets=None)
auto-analyst-backend/scripts/format_response.py:347
↓ 3 callersFunctionfetchData
(key: string, selectedPeriod: string)
auto-analyst-frontend/components/analytics/CodeErrorAnalytics.tsx:119
↓ 3 callersFunctionfetchData
(key: string, selectedPeriod: string)
auto-analyst-frontend/components/analytics/CodeExecutionAnalytics.tsx:90
↓ 3 callersFunctionformatErrorTypesData
()
auto-analyst-frontend/components/analytics/CodeErrorAnalytics.tsx:188
↓ 3 callersFunctionformatTime
(timestamp: string)
auto-analyst-frontend/components/deep-analysis/HistoryView.tsx:31
↓ 3 callersFunctionformat_code_backticked_block
(code_str)
auto-analyst-backend/scripts/format_response.py:306
↓ 3 callersFunctionformat_response_to_markdown
(api_response, agent_name = None, datasets=None)
auto-analyst-backend/scripts/format_response.py:998
↓ 3 callersFunctiongenerateCodeId
(content: string, index: number)
auto-analyst-frontend/components/chat/MessageContent.tsx:107
↓ 3 callersFunctiongenerate_html_report
Generate a clean HTML report focusing on visualizations and key insights
auto-analyst-backend/src/utils/generate_report.py:8
↓ 3 callersFunctiongetAllErrorTypes
()
auto-analyst-frontend/components/analytics/CodeErrorAnalytics.tsx:220
↓ 3 callersFunctiongetEnabledCountWithChanges
()
auto-analyst-frontend/components/custom-templates/TemplatesModal.tsx:343
↓ 3 callersFunctiongetFeaturesByAccessLevel
(accessLevel: FeatureAccessLevel)
auto-analyst-frontend/lib/features/feature-config.ts:124
↓ 3 callersFunctiongetFeaturesByStatus
(status: FeatureStatus)
auto-analyst-frontend/lib/features/feature-config.ts:128
↓ 3 callersFunctiongetSettingsFromLocalStorage
()
auto-analyst-frontend/lib/hooks/useModelSettings.ts:35
↓ 3 callersFunctionget_blog_posts
Get all blog posts
auto-analyst-backend/src/routes/blog_routes.py:21
↓ 3 callersFunctionget_provider_for_model
Determine the provider based on model name
auto-analyst-backend/src/utils/model_registry.py:345
↓ 3 callersMethodget_session_state
Get or create session-specific state Args: session_id: The session identifier Returns:
auto-analyst-backend/src/managers/session_manager.py:123
↓ 3 callersFunctionhandleAutoGenerate
(explicitDatasetName?: string, cacheKey?: string, customPreview?: any, columnsToSave?: string[])
auto-analyst-frontend/components/chat/CSVUploadDialogue.tsx:255
↓ 3 callersFunctionhandleRestoreDefaultDataset
()
auto-analyst-frontend/lib/hooks/useChatInput.ts:710
↓ 3 callersFunctionisKnownError
(content: string)
auto-analyst-frontend/components/deep-analysis/DeepAnalysisSidebar.tsx:87
↓ 3 callersFunctionloadData
()
auto-analyst-frontend/components/custom-templates/TemplatesModal.tsx:97
↓ 3 callersFunctionload_all_available_templates_from_db
Load ALL available individual variant template agents from the database for direct access. This allows users to use any individual template v
auto-analyst-backend/src/agents/agents.py:318
↓ 3 callersFunctionmapBackendStepToFrontend
(backendStep: string)
auto-analyst-frontend/components/deep-analysis/DeepAnalysisSidebar.tsx:191
↓ 3 callersFunctionprepareTierPieData
()
auto-analyst-frontend/components/analytics/TierAnalytics.tsx:115
↓ 3 callersFunctionrefreshUserData
()
auto-analyst-frontend/app/account/page.tsx:136
↓ 3 callersFunctionremove_main_block
(code)
auto-analyst-backend/src/agents/deep_agents.py:57
↓ 3 callersMethodreset_session_to_default
Reset a session to use the default dataset using the SessionManager
auto-analyst-backend/src/managers/app_manager.py:35
↓ 3 callersFunctionsanitize_json
(obj)
auto-analyst-backend/src/routes/session_routes.py:925
↓ 3 callersMethodupdate_session_dataset
Update dataset for a specific session using the SessionManager
auto-analyst-backend/src/managers/app_manager.py:31
↓ 2 callersFunction_create_usage_record
Create a usage record for the database
auto-analyst-backend/app.py:1795
↓ 2 callersFunction_estimate_tokens
Estimate token counts, with fallback for tokenization errors
auto-analyst-backend/app.py:1755
↓ 2 callersFunction_execute_custom_agents
Execute custom agents using the session's AI system
auto-analyst-backend/app.py:1205
↓ 2 callersFunction_is_agent_available
Check if an agent is available (standard, template, or custom)
auto-analyst-backend/app.py:1075
↓ 2 callersMethod_load_default_agents_fallback
Fallback method to load default agents when preference system fails
auto-analyst-backend/src/agents/agents.py:1376
↓ 2 callersFunction_prepare_query_with_context
Prepare the query with chat context from previous messages
auto-analyst-backend/app.py:1281
↓ 2 callersFunctionapply_model_safeguards
Apply model-specific safeguards for temperature and max_tokens based on official API limits
auto-analyst-backend/src/routes/session_routes.py:40
↓ 2 callersMethodas_retriever
Configure top-k and return self (mirrors llama-index fluent API).
auto-analyst-backend/src/utils/simple_retriever.py:51
↓ 2 callersFunctionbroadcast_dashboard_update
(update_data: Dict[str, Any])
auto-analyst-backend/src/routes/analytics_routes.py:758
↓ 2 callersMethodcalculateUsagePercentage
* Calculate usage percentage (capped at 100%)
auto-analyst-frontend/lib/credits-config.ts:137
↓ 2 callersMethodcalculate_cost
(self, model_name, input_tokens, output_tokens)
auto-analyst-backend/src/managers/app_manager.py:50
↓ 2 callersFunctionclean_unicode_chars
Clean Unicode characters that might cause encoding issues. Replaces common Unicode characters with ASCII equivalents.
auto-analyst-backend/src/agents/deep_agents.py:24
↓ 2 callersMethodcreate_ai_system_for_user
Create an AI system with user-specific agents (including custom agents) Args: retrievers: The retrievers for the
auto-analyst-backend/src/managers/session_manager.py:308
↓ 2 callersMethodexecute_deep_analysis_streaming
Execute deep analysis with streaming progress updates. This is an async generator that yields progress updates incrementally.
auto-analyst-backend/src/agents/deep_agents.py:729
↓ 2 callersFunctionextractImports
(code: string, language: string)
auto-analyst-frontend/lib/store/codeStore.ts:43
↓ 2 callersFunctionextract_relevant_error_section
Extract the most relevant parts of the error message to help with fixing. Args: error_message (str): The full error message
auto-analyst-backend/src/routes/code_routes.py:236
↓ 2 callersFunctionfetchDetailedCodeExecutions
( adminKey: string, period: string = '30d', successFilter?: boolean, userId?: number, modelName?: st
auto-analyst-frontend/lib/api/analytics.ts:139
next →1–100 of 837, ranked by callers