MCPcopy Create free account

hub / github.com/Litishkumar/AnalyticaX / functions

Functions101 in github.com/Litishkumar/AnalyticaX

↓ 5 callersFunctionupdate_chatbot_context
Update chatbot with latest context
app.py:86
↓ 4 callersMethodformat_template
Format a template with provided values Args: template: Template string **kwargs: Values to insert
templates.py:230
↓ 4 callersMethodgenerate
Generate text using OpenAI API
llm_client.py:208
↓ 2 callersMethod_generate_metadata
Generate metadata about the loaded dataset
data_loader.py:61
↓ 2 callersMethod_get_kpi_context
Get context about specific KPIs
context_retriever.py:168
↓ 2 callersMethodadd_turn
Add a conversation turn
chatbot_engine.py:24
↓ 2 callersMethodanalyze_kpi_performance
Analyze a specific KPI's performance Args: kpi_name: Name of the KPI to analyze Returns:
metadata_parser.py:109
↓ 2 callersMethodget_kpi
Get specific KPI by name Args: kpi_name: Name of the KPI Returns: KPI dictionar
metadata_parser.py:53
↓ 1 callersMethod_classify_cardinality
Classify cardinality of categorical variable
eda_engine.py:219
↓ 1 callersMethod_classify_correlation_strength
Classify correlation strength
eda_engine.py:137
↓ 1 callersMethod_classify_distribution
Classify distribution type
eda_engine.py:181
↓ 1 callersMethod_classify_missing_severity
Classify missing value severity
eda_engine.py:96
↓ 1 callersMethod_classify_outlier_severity
Classify outlier severity
eda_engine.py:270
↓ 1 callersMethod_classify_trend_severity
Classify trend severity
metadata_parser.py:160
↓ 1 callersMethod_classify_trend_strength
Classify trend strength based on R-squared
eda_engine.py:313
↓ 1 callersMethod_generate_categorical_insights
Generate insights about categorical variables
insight_generator.py:184
↓ 1 callersMethod_generate_correlation_explanation
(self)
llm_client.py:129
↓ 1 callersMethod_generate_correlation_insights
Generate insights about correlations
insight_generator.py:77
↓ 1 callersMethod_generate_default_response
(self)
llm_client.py:183
↓ 1 callersMethod_generate_distribution_insights
Generate insights about distributions
insight_generator.py:158
↓ 1 callersMethod_generate_executive_summary
(self)
llm_client.py:78
↓ 1 callersMethod_generate_insight_explanation
(self)
llm_client.py:99
↓ 1 callersMethod_generate_kpi_explanation
(self)
llm_client.py:165
↓ 1 callersMethod_generate_missing_value_insights
Generate insights about missing values
insight_generator.py:48
↓ 1 callersMethod_generate_outlier_insights
Generate insights about outliers
insight_generator.py:108
↓ 1 callersMethod_generate_recommendations
(self)
llm_client.py:144
↓ 1 callersMethod_generate_response
Generate response using LLM Args: question: User question context: Retrieved context
chatbot_engine.py:140
↓ 1 callersMethod_generate_trend_analysis
(self)
llm_client.py:114
↓ 1 callersMethod_generate_trend_insights
Generate insights about trends
insight_generator.py:135
↓ 1 callersMethod_get_anomaly_insights
Get insights related to anomalies
context_retriever.py:211
↓ 1 callersMethod_get_comparison_context
Get context for comparison queries
context_retriever.py:122
↓ 1 callersMethod_get_correlation_context
Get correlation context for explanations
context_retriever.py:159
↓ 1 callersMethod_get_explanation_insights
Get insights that help explain phenomena
context_retriever.py:133
↓ 1 callersMethod_get_general_stats
Get general dataset statistics
context_retriever.py:218
↓ 1 callersMethod_get_outlier_context
Get context about outliers and anomalies
context_retriever.py:196
↓ 1 callersMethod_get_top_kpis
Get top KPIs from dashboard
context_retriever.py:226
↓ 1 callersMethod_get_trend_context
Get context related to trends
context_retriever.py:91
↓ 1 callersMethod_get_trend_insights
Get insights related to trends
context_retriever.py:115
↓ 1 callersFunctionanalysis_tab
Tab 2: Run EDA and view insights
app.py:249
↓ 1 callersMethodanalyze_categorical
Analyze categorical variables
eda_engine.py:197
↓ 1 callersMethodanalyze_correlations
Analyze correlations between numeric variables
eda_engine.py:105
↓ 1 callersMethodanalyze_distributions
Analyze distributions of numeric variables
eda_engine.py:149
↓ 1 callersMethodanalyze_missing_values
Analyze missing values in the dataset
eda_engine.py:73
↓ 1 callersMethodchat
Main chat interface - answer user questions Args: question: User's question Returns:
chatbot_engine.py:101
↓ 1 callersMethodclassify_intent
Classify the intent of a user query Args: query: User's natural language query Returns:
intent_classifier.py:59
↓ 1 callersMethodclear
Clear conversation history
chatbot_engine.py:39
↓ 1 callersMethodcompute_aggregated_metrics
Compute aggregated metrics for dashboard creation
eda_engine.py:322
↓ 1 callersMethodcreate_client
Create LLM client based on provider Args: provider: LLM provider (openai, anthropic, mock) api_key:
llm_client.py:273
↓ 1 callersFunctiondashboards_tab
Tab 3: Dynamic dashboards from dataset
app.py:331
↓ 1 callersMethoddetect_outliers
Detect outliers using IQR and Z-score methods
eda_engine.py:232
↓ 1 callersMethoddetect_trends
Detect trends in time series or sequential data
eda_engine.py:279
↓ 1 callersMethodexplain_kpi
Generate natural language explanation of a KPI Args: kpi_name: Name of the KPI Returns:
metadata_parser.py:286
↓ 1 callersMethodextract_entities
Extract entities from query (column names, values, etc.) Args: query: User query Returns:
intent_classifier.py:98
↓ 1 callersMethodformat_for_context
Format recent history for LLM context
chatbot_engine.py:43
↓ 1 callersMethodgenerate_all_insights
Generate all insights from EDA results Returns: List of insight dictionaries
insight_generator.py:22
↓ 1 callersMethodgenerate_clarification_question
Generate clarification question for ambiguous queries Args: query: User query intent: Classified int
intent_classifier.py:173
↓ 1 callersMethodget_all_kpis
Get all KPIs Returns: List of KPI dictionaries
metadata_parser.py:68
↓ 1 callersMethodget_dashboard_overview
Get comprehensive dashboard overview Returns: Dashboard overview dictionary
metadata_parser.py:169
↓ 1 callersMethodget_descriptive_statistics
Get descriptive statistics for numerical columns
eda_engine.py:50
↓ 1 callersMethodget_recent
Get recent conversation turns
chatbot_engine.py:35
↓ 1 callersFunctioninitialize_session_state
Initialize Streamlit session state
app.py:62
↓ 1 callersMethodload_context
Load analysis context for the chatbot Args: eda_results: EDA analysis results insights: Generated in
chatbot_engine.py:82
↓ 1 callersMethodload_metadata
Load Power BI metadata from JSON file Args: metadata_path: Path to metadata JSON file Retur
metadata_parser.py:29
↓ 1 callersFunctionmain
Main application
app.py:547
↓ 1 callersMethodneeds_clarification
Determine if query needs clarification Args: query: User query intent: Classified intent
intent_classifier.py:144
↓ 1 callersMethodreset_conversation
Reset conversation history
chatbot_engine.py:283
↓ 1 callersMethodretrieve_for_query
Retrieve relevant context for a query Args: query: User query intent: Classified intent
context_retriever.py:39
↓ 1 callersMethodrun_full_analysis
Run complete EDA analysis Returns: Dictionary containing all analysis results
eda_engine.py:26
↓ 1 callersFunctionsidebar_chatbot
Chatbot in sidebar - always visible
app.py:96
↓ 1 callersMethodupdate_context
Update the available context
context_retriever.py:27
↓ 1 callersFunctionupload_tab
Tab 1: Upload data and Power BI metadata
app.py:163
Method__init__
(self, data: pd.DataFrame)
eda_engine.py:22
Method__init__
(self, api_key: Optional[str] = None)
llm_client.py:196
Method__init__
(self, api_key: Optional[str] = None)
llm_client.py:235
Method__init__
(self, eda_results: Optional[Dict[str, Any]] = None, insights: Optional[Lis
context_retriever.py:18
Method__init__
(self, max_turns: int = 10)
chatbot_engine.py:20
Method__init__
(self, llm_client: Optional[BaseLLMClient] = None, use_mock: bool = True)
chatbot_engine.py:64
Method__init__
(self)
data_loader.py:21
Method__init__
(self, eda_results: Dict[str, Any])
insight_generator.py:18
Method__init__
(self, metadata_path: Optional[str] = None)
metadata_parser.py:20
Method__init__
(self, metadata_parser: PowerBIMetadataParser)
metadata_parser.py:283
Methodexplain_dashboard
Generate comprehensive dashboard explanation Returns: Dashboard explanation string
metadata_parser.py:328
Methodexplain_insight
Explain a specific insight in detail Args: insight: Insight dictionary Returns:
chatbot_engine.py:187
Methodexplain_kpi
Explain a specific KPI from Power BI dashboard Args: kpi_name: Name of the KPI Returns:
chatbot_engine.py:214
Methodexport_context_for_llm
Export dashboard context in LLM-friendly format Returns: Formatted context string
metadata_parser.py:242
Methodfind_related_kpis
Find KPIs related to a given KPI Args: kpi_name: Name of the KPI Returns: List
metadata_parser.py:205
Methodformat_context_for_llm
Format retrieved context for LLM consumption Args: context: Retrieved context dictionary Re
context_retriever.py:238
Methodformat_insights_for_report
Format insights as a text report Returns: Formatted string report
insight_generator.py:226
Methodgenerate
Generate text from prompt
llm_client.py:20
Methodgenerate
Generate mock response based on prompt keywords Args: prompt: User prompt system_prompt: System inst
llm_client.py:32
Methodgenerate
Generate text using Anthropic API
llm_client.py:247
Functionget_config
Get configuration for a specific section or all configuration Args: section: Configuration section name (llm, analysis, powerbi,
settings.py:73
Methodget_insights_by_category
Get insights filtered by category Args: category: Category to filter by Returns:
insight_generator.py:214
Methodget_kpi_summary
Get a text summary of all KPIs Returns: Formatted string summary
metadata_parser.py:77
Methodget_metadata
Get dataset metadata Returns: Metadata dictionary
data_loader.py:103
Methodget_sample
Get a sample of the data Args: n: Number of rows to return Returns: Sample Data
data_loader.py:88
Methodget_template
Get a template by name Args: name: Template name Returns: Template string
templates.py:252
Methodget_top_insights
Get top N insights by priority Args: n: Number of insights to return Returns: L
insight_generator.py:202
Methodload_file
Load data from CSV or Excel file Args: file_path: Path to the data file Returns:
data_loader.py:25
Methodsummarize_dashboard
Generate dashboard summary Returns: Dashboard summary
chatbot_engine.py:252
next →1–100 of 101, ranked by callers