Open
Conversation
…ab data without full agent
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Tabular Data Analysis — SK Mini-Agent for Normal Chat
TABULAR_EXTENSIONSconfiguration and routes the query through the SK mini-agent pipeline.user-documents,group-documents,public-documents,personal-chat) with automatic fallback resolution if the primary source lookup fails. A user asking about an Excel file in their personal workspace gets the same analytical treatment as one asking about a CSV uploaded directly to a chat.TabularProcessingPluginexposesdescribe_tabular_file,aggregate_column(sum, mean, count, min, max, median, std, nunique, value_counts),filter_rows(==, !=, >, <, >=, <=, contains, startswith, endswith),query_tabular_data(pandas query syntax),group_by_aggregate, andlist_tabular_files— all registered as Semantic Kernel functions that the mini-agent orchestrates autonomously.enable_enhanced_citationsadmin setting must be enabled for tabular data analysis to activate.route_backend_chats.py,semantic_kernel_plugins/tabular_processing_plugin.py,config.py.run_tabular_sk_analysis(),TabularProcessingPlugin,collect_tabular_sk_citations(),TABULAR_EXTENSIONS)Tabular Tool Execution Citations
@plugin_function_loggerdecorator on allTabularProcessingPluginfunctions records each invocation including function name, input parameters, returned results, execution duration, and success/failure status.tool_name(e.g.,TabularProcessingPlugin.aggregate_column),function_arguments(the exact parameters passed), andfunction_result(the computed data returned).route_backend_chats.py.collect_tabular_sk_citations(),plugin_invocation_logger.py)SK Mini-Agent Performance Optimization
list_tabular_files) and schema inspection (describe_tabular_file), allowing the model to jump directly to analysis tool calls.@kernel_functionmethods converted toasync defusingasyncio.to_thread(). This enables Semantic Kernel's built-inasyncio.gather()to truly parallelize batched tool calls (e.g., 3 simultaneousaggregate_columncalls) instead of executing them serially on the event loop.tabular_processing_plugin.py,route_backend_chats.py,config.py._df_cache,asyncio.to_thread, pre-dispatch schema injection inrun_tabular_sk_analysis())