TIGZIG: Co-Analyst - AI Powered MF Processor | TIGZIG Co-Analyst
Try the App Live

AI Powered MF Processor

Convert MF portfolio disclosures files from excel to CSV/TXT

About the App

Usage Guide

Here are some Few files on my google drive for quick test which you can use in this app. Monthly disclosure files are typically shared in the compliance or disclosure sections of all the AMCs (Asset Management Companies) of mutual funds in India

Key Features

🎯 AI-Powered Processing: Automated schema detection and data extraction using OpenAI and Google Gemini models

📊 Validation Diagnostics: Real-time validation checks with visual indicators for data integrity

🔄 Manual Override: Flexible schema configuration for cases where AI detection needs adjustment

📝 File Appender: Utility to combine multiple text files while maintaining data structure

📋 Data Preview: Interactive table view with sorting and filtering capabilities

🔍 Detailed Logging: Comprehensive processing logs for transparency and debugging

Basic Usage

  1. File Upload and Configuration

    • Click the Upload button to select your Excel file
    • Enter the sheet name containing the portfolio data
    • Provide a descriptive scheme name
    • Select the month-end date
    • Choose output delimiter (Pipe, Comma, or Tab)
    • Click "Process - AI" to start automated processing
  2. Manual Override (If Needed)

    • If AI schema detection isn't accurate, click "Manual Override"
    • Enter the data start row number
    • Specify column letters for:
      • ISIN
      • Instrument Name
      • Market Value
      • Quantity
    • Click Submit to process with manual schema
  3. Model Configuration

    • Click "Models" to configure AI models
    • Select primary and validation models for structure analysis
    • Choose models for market value detection
    • Available models: OpenAI GPT, Google Gemini, Anthropic Claude
    • Changes apply immediately to new processing
  4. File Appender

    • Click "Append" to combine multiple text files
    • Select files in desired order
    • First file's header is retained
    • Subsequent files' headers are automatically skipped
    • View file sizes and remove individual files
    • Click "Append Files" to create consolidated file
  5. File Transposer

    • Click "Transpose" to pivot holdings data
    • Select processed text file for transposition
    • Choose input and output delimiters
    • Data is reorganized by NSE symbol across schemes and dates
    • Creates matrix view of holdings across time periods
  6. Validation Diagnostics

    • Monitor the validation table for key metrics:
      • T-NAV comparisons between AI models
      • Record counts
      • Schema validations
      • Cash/Derivatives calculations
    • Orange highlights indicate validation issues
    • Warning icons show model discrepancies
    • Click "Legend" for detailed explanation of metrics
  7. Processing Logs

    • View detailed processing steps
    • Track API calls and responses
    • Monitor data extraction progress
    • Click expand icon for full-screen view
    • Useful for troubleshooting issues
  8. Data Table

    • Automatically populated after processing
    • Quick preview of extracted data
    • Sort columns by clicking headers
    • Filter data using search box
    • Right-click column headers for statistics and sorting options
    • Right-click table rows to view instrument details
    • Expand view for detailed analysis
  9. Download

    • Click "Download" for processed file
    • File includes all extracted data with ISIN mappings
    • Additional balancing row (ISIN: IN9999999999) for cash/derivatives
    • File format: configurable delimiter (pipe, comma, or tab)

Data Processing Features

ISIN Mapping: Automatically enriches data with BSE/NSE symbols and standardized company names using built-in mapping file.

Cross-Model Validation: Compares results from different AI models and highlights discrepancies with visual indicators.

Error Handling: Comprehensive logging and error recovery throughout the process.

Mobile Support: Responsive design that adapts to mobile devices.

Keyboard Shortcuts: Press ESC to close any open modal.

Tips

Source Code and Build Guides

App Architecture & Build Instructions

Main Repo

https://github.com/amararun/shared-mf-portfolio-allocation

Frontend Components

Backend Requirements

Data Processing Flow

  1. Excel file upload and sheet selection
  2. AI-powered schema detection using dual models
  3. Data extraction with ISIN mapping enrichment
  4. Cross-model validation and discrepancy highlighting
  5. File generation with configurable delimiters

Build Instructions

  1. Clone this repository
  2. Deploy the FastAPI proxy server from the linked repository
  3. Update the RT_ENDPOINT in assets/js/config.js to point to your proxy server
  4. Serve the frontend files from any web server
  5. No environment variables required - all configuration is in config.js

Deployment