Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/FireBird-Technologies/Auto-Analyst
/ functions
Functions
837 in github.com/FireBird-Technologies/Auto-Analyst
⨍
Functions
837
◇
Types & classes
223
↳
Endpoints
86
↓ 470 callers
Method
log_message
(self, message: str, level: int = logging.INFO)
auto-analyst-backend/src/utils/logger.py:39
↓ 93 callers
Function
toast
({ title, description, variant = "default", duration = 0, action }: Toast)
auto-analyst-frontend/components/ui/use-toast.tsx:140
↓ 84 callers
Function
cn
(...inputs: ClassValue[])
auto-analyst-frontend/lib/utils.ts:4
↓ 25 callers
Method
retrieve
Return the top-k most similar nodes for a query.
auto-analyst-backend/src/utils/simple_retriever.py:56
↓ 24 callers
Function
escapeHtml
* Escapes HTML characters
auto-analyst-frontend/lib/utils/exportUtils.ts:833
↓ 22 callers
Method
get_session_state
Get or create session-specific state using the SessionManager
auto-analyst-backend/src/managers/app_manager.py:23
↓ 17 callers
Function
checkCredits
()
auto-analyst-frontend/lib/contexts/credit-context.tsx:56
↓ 14 callers
Function
get_date_range
(period: str)
auto-analyst-backend/src/routes/analytics_routes.py:74
↓ 12 callers
Function
hasFeatureAccess
( featureId: string, userSubscription: UserSubscription | null )
auto-analyst-frontend/lib/features/feature-access.ts:59
↓ 12 callers
Function
useFeatureAccess
( featureId: string, userSubscription: UserSubscription | null )
auto-analyst-frontend/lib/hooks/useFeatureAccess.ts:24
↓ 12 callers
Function
useToast
()
auto-analyst-frontend/components/ui/use-toast.tsx:177
↓ 11 callers
Function
updateSessionIdSafely
(newSessionId: string)
auto-analyst-frontend/lib/hooks/useChatInput.ts:176
↓ 10 callers
Method
getCreditsForPlan
* Get credit allocation for a plan by name
auto-analyst-frontend/lib/credits-config.ts:84
↓ 10 callers
Function
getCurrentSubscriptionStatus
()
auto-analyst-frontend/app/account/page.tsx:272
↓ 10 callers
Function
getErrorMessage
(error: any)
auto-analyst-frontend/lib/hooks/useChatInput.ts:196
↓ 10 callers
Function
getHeaders
(additionalHeaders: Record<string, string> = {})
auto-analyst-frontend/lib/hooks/useChatInput.ts:188
↓ 10 callers
Method
isUnlimitedTotal
* Check if credit total indicates unlimited
auto-analyst-frontend/lib/credits-config.ts:109
↓ 8 callers
Method
encode
(self, text)
auto-analyst-backend/src/managers/ai_manager.py:83
↓ 8 callers
Function
getUserStorageKey
(key: string)
auto-analyst-frontend/lib/utils/userStorage.tsx:31
↓ 8 callers
Function
update_report_in_db
(status, progress, step=None, content=None)
auto-analyst-backend/app.py:2239
↓ 8 callers
Function
useCredits
()
auto-analyst-frontend/lib/contexts/credit-context.tsx:295
↓ 7 callers
Function
getHeaders
(adminKey: string)
auto-analyst-frontend/lib/api/analytics.ts:5
↓ 7 callers
Method
getNextResetDate
* Get the reset date one month from today (same day next month)
auto-analyst-frontend/lib/credits-config.ts:173
↓ 6 callers
Function
formatNumber
(num: number)
auto-analyst-frontend/components/analytics/TierAnalytics.tsx:127
↓ 6 callers
Function
get_session
()
auto-analyst-backend/src/db/init_db.py:51
↓ 5 callers
Function
calculateHash
(str: string)
auto-analyst-frontend/lib/store/codeStore.ts:114
↓ 5 callers
Method
getCreditsByType
* Get credit allocation by plan type
auto-analyst-frontend/lib/credits-config.ts:93
↓ 5 callers
Method
getDeepAnalysisCost
* Get the cost for deep analysis feature
auto-analyst-frontend/lib/credits-config.ts:159
↓ 5 callers
Function
getTemplateEnabledState
(template: TemplateAgent)
auto-analyst-frontend/components/custom-templates/TemplatesModal.tsx:203
↓ 5 callers
Function
get_session_lm
Get the appropriate LM instance for a session, or default if not configured
auto-analyst-backend/app.py:322
↓ 5 callers
Function
hasEnoughCredits
(userId: string, amount: number)
auto-analyst-frontend/lib/redis.ts:250
↓ 5 callers
Function
hashCode
(str: string)
auto-analyst-frontend/lib/store/visualizationsStore.ts:27
↓ 4 callers
Function
_is_standard_agent
Check if agent is one of the 4 core standard agents
auto-analyst-backend/app.py:1157
↓ 4 callers
Function
_is_template_agent
Check if agent is a template agent
auto-analyst-backend/app.py:1167
↓ 4 callers
Function
clean_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 callers
Function
cleanup
()
auto-analyst-frontend/components/chat/CodeFixButton.tsx:61
↓ 4 callers
Function
createPaymentIntent
(planData: any, promoCodeValue: string = '')
auto-analyst-frontend/app/checkout/page.tsx:123
↓ 4 callers
Function
create_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 callers
Function
dispatch
(action: Action)
auto-analyst-frontend/components/ui/use-toast.tsx:131
↓ 4 callers
Function
format_code_block
(code_str)
auto-analyst-backend/scripts/format_response.py:301
↓ 4 callers
Function
getModelCreditCost
(modelName: string)
auto-analyst-frontend/lib/model-registry.ts:260
↓ 4 callers
Function
get_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 callers
Function
get_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 callers
Function
hideMentions
()
auto-analyst-frontend/lib/hooks/useAgentMentions.ts:76
↓ 4 callers
Function
parseValue
(value: any)
auto-analyst-frontend/app/api/get-user-credits/route.ts:21
↓ 4 callers
Function
startEditing
(entryId: string, code: string)
auto-analyst-frontend/components/chat/CodeCanvas.tsx:364
↓ 4 callers
Function
useModelSettings
()
auto-analyst-frontend/lib/hooks/useModelSettings.ts:46
↓ 3 callers
Function
_get_available_agents_list
Get list of all available agents from database
auto-analyst-backend/app.py:1111
↓ 3 callers
Function
_get_clamped_temperature
()
auto-analyst-backend/src/managers/session_manager.py:29
↓ 3 callers
Method
_track_agent_usage
Track usage for template agents
auto-analyst-backend/src/agents/agents.py:1407
↓ 3 callers
Function
_update_session_from_query_params
Extract and validate chat_id and user_id from query parameters
auto-analyst-backend/app.py:963
↓ 3 callers
Function
check_table_exists
Check if a table exists in the database.
auto-analyst-backend/scripts/init_production_db.py:35
↓ 3 callers
Function
convert_markdown_to_html
Convert markdown text to HTML safely
auto-analyst-backend/src/utils/generate_report.py:11
↓ 3 callers
Function
createSubscription
(intentId: string)
auto-analyst-frontend/components/CheckoutForm.tsx:113
↓ 3 callers
Function
execute_code_from_markdown
(code_str, datasets=None)
auto-analyst-backend/scripts/format_response.py:347
↓ 3 callers
Function
fetchData
(key: string, selectedPeriod: string)
auto-analyst-frontend/components/analytics/CodeErrorAnalytics.tsx:119
↓ 3 callers
Function
fetchData
(key: string, selectedPeriod: string)
auto-analyst-frontend/components/analytics/CodeExecutionAnalytics.tsx:90
↓ 3 callers
Function
formatErrorTypesData
()
auto-analyst-frontend/components/analytics/CodeErrorAnalytics.tsx:188
↓ 3 callers
Function
formatTime
(timestamp: string)
auto-analyst-frontend/components/deep-analysis/HistoryView.tsx:31
↓ 3 callers
Function
format_code_backticked_block
(code_str)
auto-analyst-backend/scripts/format_response.py:306
↓ 3 callers
Function
format_response_to_markdown
(api_response, agent_name = None, datasets=None)
auto-analyst-backend/scripts/format_response.py:998
↓ 3 callers
Function
generateCodeId
(content: string, index: number)
auto-analyst-frontend/components/chat/MessageContent.tsx:107
↓ 3 callers
Function
generate_html_report
Generate a clean HTML report focusing on visualizations and key insights
auto-analyst-backend/src/utils/generate_report.py:8
↓ 3 callers
Function
getAllErrorTypes
()
auto-analyst-frontend/components/analytics/CodeErrorAnalytics.tsx:220
↓ 3 callers
Function
getEnabledCountWithChanges
()
auto-analyst-frontend/components/custom-templates/TemplatesModal.tsx:343
↓ 3 callers
Function
getFeaturesByAccessLevel
(accessLevel: FeatureAccessLevel)
auto-analyst-frontend/lib/features/feature-config.ts:124
↓ 3 callers
Function
getFeaturesByStatus
(status: FeatureStatus)
auto-analyst-frontend/lib/features/feature-config.ts:128
↓ 3 callers
Function
getSettingsFromLocalStorage
()
auto-analyst-frontend/lib/hooks/useModelSettings.ts:35
↓ 3 callers
Function
get_blog_posts
Get all blog posts
auto-analyst-backend/src/routes/blog_routes.py:21
↓ 3 callers
Function
get_provider_for_model
Determine the provider based on model name
auto-analyst-backend/src/utils/model_registry.py:345
↓ 3 callers
Method
get_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 callers
Function
handleAutoGenerate
(explicitDatasetName?: string, cacheKey?: string, customPreview?: any, columnsToSave?: string[])
auto-analyst-frontend/components/chat/CSVUploadDialogue.tsx:255
↓ 3 callers
Function
handleRestoreDefaultDataset
()
auto-analyst-frontend/lib/hooks/useChatInput.ts:710
↓ 3 callers
Function
isKnownError
(content: string)
auto-analyst-frontend/components/deep-analysis/DeepAnalysisSidebar.tsx:87
↓ 3 callers
Function
loadData
()
auto-analyst-frontend/components/custom-templates/TemplatesModal.tsx:97
↓ 3 callers
Function
load_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 callers
Function
mapBackendStepToFrontend
(backendStep: string)
auto-analyst-frontend/components/deep-analysis/DeepAnalysisSidebar.tsx:191
↓ 3 callers
Function
prepareTierPieData
()
auto-analyst-frontend/components/analytics/TierAnalytics.tsx:115
↓ 3 callers
Function
refreshUserData
()
auto-analyst-frontend/app/account/page.tsx:136
↓ 3 callers
Function
remove_main_block
(code)
auto-analyst-backend/src/agents/deep_agents.py:57
↓ 3 callers
Method
reset_session_to_default
Reset a session to use the default dataset using the SessionManager
auto-analyst-backend/src/managers/app_manager.py:35
↓ 3 callers
Function
sanitize_json
(obj)
auto-analyst-backend/src/routes/session_routes.py:925
↓ 3 callers
Method
update_session_dataset
Update dataset for a specific session using the SessionManager
auto-analyst-backend/src/managers/app_manager.py:31
↓ 2 callers
Function
_create_usage_record
Create a usage record for the database
auto-analyst-backend/app.py:1795
↓ 2 callers
Function
_estimate_tokens
Estimate token counts, with fallback for tokenization errors
auto-analyst-backend/app.py:1755
↓ 2 callers
Function
_execute_custom_agents
Execute custom agents using the session's AI system
auto-analyst-backend/app.py:1205
↓ 2 callers
Function
_is_agent_available
Check if an agent is available (standard, template, or custom)
auto-analyst-backend/app.py:1075
↓ 2 callers
Method
_load_default_agents_fallback
Fallback method to load default agents when preference system fails
auto-analyst-backend/src/agents/agents.py:1376
↓ 2 callers
Function
_prepare_query_with_context
Prepare the query with chat context from previous messages
auto-analyst-backend/app.py:1281
↓ 2 callers
Function
apply_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 callers
Method
as_retriever
Configure top-k and return self (mirrors llama-index fluent API).
auto-analyst-backend/src/utils/simple_retriever.py:51
↓ 2 callers
Function
broadcast_dashboard_update
(update_data: Dict[str, Any])
auto-analyst-backend/src/routes/analytics_routes.py:758
↓ 2 callers
Method
calculateUsagePercentage
* Calculate usage percentage (capped at 100%)
auto-analyst-frontend/lib/credits-config.ts:137
↓ 2 callers
Method
calculate_cost
(self, model_name, input_tokens, output_tokens)
auto-analyst-backend/src/managers/app_manager.py:50
↓ 2 callers
Function
clean_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 callers
Method
create_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 callers
Method
execute_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 callers
Function
extractImports
(code: string, language: string)
auto-analyst-frontend/lib/store/codeStore.ts:43
↓ 2 callers
Function
extract_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 callers
Function
fetchDetailedCodeExecutions
( 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