## Transcription and AI Summary

### Feature Introduction
The transcription and AI summary feature supports automatic transcription of recording content into text, and uses AI technology to intelligently summarize and condense the text. Users can quickly obtain the core content and key information from meeting or lecture audio, improving the efficiency of information organization and content summarization.

<img alt="Transcription and AI Summary" src="https://images.tuyacn.com/rms-static/c4613a60-7e38-11f0-9f57-5d628208d2a7-1755744272646.png?tyName=share.png" width="400" height="450">

### Interaction Flow

```mermaid
sequenceDiagram
    %% Panel initiates transcription or summary
    rect rgb(191, 223, 255)
    Panel->>App: Initiate transcription or summary request
    end

    %% App determines whether real-time transcription is needed and uploads audio file
    rect rgb(255, 239, 191)
    App->>App: Determine if real-time transcription is needed
    alt Real-time transcription
        App->>Cloud: Request real-time transcription/summary
    else On-site recording
        App->>Cloud: Upload audio file
    end
    end

    %% Cloud performs ASR recognition and transcription
    rect rgb(255, 191, 191)
    Cloud->>Cloud: ASR recognition and transcription
    end

    %% Cloud calls AI large model for summarization
    rect rgb(191, 255, 191)
    Cloud->>Cloud: AI large model summarization
    end

    %% Cloud returns results to app
    rect rgb(191, 255, 255)
    Cloud-->>App: Return transcription and summary results
    end

    %% App caches results
    rect rgb(191, 255, 255)
    App-->>App: Cache results
    end

    %% Panel queries and renders results again
    rect rgb(223, 191, 255)
    Panel->>App: Query transcription and summary results
    App-->>Panel: Return results
    Panel->>Panel: Render transcription and summary content
    end
```
