Chuyển đến nội dung
Skillpedia
Trình kết nối (MCP)48k · #3895

azure-ai-transcription-py

Skill này làm gì

Công cụ này chuyển âm thanh từ tệp thành văn bản. Nó cũng cho biết chính xác thời điểm mỗi từ được nói.

Khi nào nên dùng

  • ✓Khi bạn có một tệp âm thanh đã ghi và muốn lấy văn bản của nó.
  • ✓Khi bạn muốn biết thời điểm mỗi từ được nói trong âm thanh.
  • ✓Khi bạn cần bản chép lời chính xác của một tệp âm thanh được ủy quyền.

Liên kết skill

https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/azure-ai-transcription-py/SKILL.md

Sao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.

Cách dùng

Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.

Tin nhắn có sẵn để dán

Hãy dùng skill này để giúp tôi: https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/azure-ai-transcription-py/SKILL.md Đọc tệp SKILL.md tại liên kết đó và làm theo hướng dẫn cho việc của tôi.
Bạn muốn AI tự tìm những skill như thế này?Cài MCP Skillpedia miễn phí: chỉ một dòng, và AI sẽ tìm trong 15.000+ skill trước mỗi việc.Cài đặt trong 1 phút →

Ví dụ cách nhờ AI

“Chép lời âm thanh này thành văn bản và cho tôi biết thời điểm mỗi từ được nói.”

5 skill mới mỗi tuần. Đọc chỉ 1 phút.

Cách hoạt động

Bạn cung cấp một tệp âm thanh cho công cụ. Nó dùng một dịch vụ của Microsoft để xử lý âm thanh và tạo ra văn bản kèm mốc thời gian.

Nội dung kỹ thuật (SKILL.md gốc)

Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.

Azure AI Speech Transcription for Python

When to Use

  • Transcribe an authorized audio file with the azure-ai-transcription client.
  • Review timestamped output and options supported by the installed SDK version.
  • For streaming or asynchronous batch jobs, select the appropriate Speech API instead.

Prerequisites

Use a project-pinned SDK in an isolated Python environment. Confirm the Speech resource, endpoint, permissions, audio consent, cost and retention before upload. Do not log keys, audio contents, or full transcripts by default.

File Example

import os
from azure.core.credentials import AzureKeyCredential
from azure.ai.transcription import TranscriptionClient
from azure.ai.transcription.models import TranscriptionContent, TranscriptionOptions

client = TranscriptionClient(
    endpoint=os.environ["TRANSCRIPTION_ENDPOINT"],
    credential=AzureKeyCredential(os.environ["TRANSCRIPTION_KEY"]),
)
with client:
    with open("audio.wav", "rb") as audio:
        result = client.transcribe(TranscriptionContent(
            definition=TranscriptionOptions(locales=["en-US"]), audio=audio,
        ))
# Inspect result locally; handle empty output and service errors explicitly.

Authentication and API Boundary

DefaultAzureCredential is also supported when the identity has the required resource role. The previous begin_transcription and begin_stream_transcription examples did not match this client. Do not invent a streaming adapter.

Example Request

“Transcribe this consented local recording; keep the transcript private.”

Limitations

Verify installed signatures and service limits against Microsoft's SDK guide. This illustration has not contacted Azure; availability, accuracy and costs require verification in the authorized environment.

Câu hỏi thường gặp

Tôi có thể dùng cho âm thanh trực tiếp không?

Không, công cụ này dành cho các tệp âm thanh đã ghi. Với âm thanh trực tiếp, bạn cần một công cụ khác.

Tôi có phải trả tiền để dùng không?

Có, dùng dịch vụ này có thể phát sinh chi phí. Bạn nên kiểm tra giá và quyền sử dụng trước khi dùng.

“Âm thanh được ủy quyền” nghĩa là gì?

Nghĩa là bạn có quyền sử dụng âm thanh đó, chẳng hạn bản ghi của chính bạn hoặc của những người đã đồng ý.

Chi tiết

Mô tả gốc của tác giả

Azure AI Transcription SDK for Python. Use for audio-file transcription with timestamps; distinguish this client from streaming and asynchronous batch Speech APIs.

repo: sickn33/agentic-awesome-skills

Độ phổ biến

Sao GitHub
48k
Vị trí xếp hạng
#3895
Giấy phép
MIT
Cập nhật
15/10/2026

Skill này có hữu ích không?

0

Đăng nhập để bình chọn.

Bình luận

  • …

Thêm skill từ kho mã này

Skill tương tự