Azure AI Text Translation SDK for Python
Azure AI Translatorでテキストを翻訳
Pythonアプリケーションに多言語サポートを追加する必要がありますか?このスキルには、翻訳、音声変換、言語検出、ディクショナリ操作を含むAzure AI Translatorのプロダクション対応パターンが含まれています。
スキルZIPをダウンロード
Claudeでアップロード
設定 → 機能 → スキル → スキルをアップロードへ移動
オンにして利用開始
テストする
「Azure AI Text Translation SDK for Python」を使用しています。 Translate 'Good morning, how can I assist you?' to Spanish and French
期待される結果:
Spanish: 'Buenos dias, como puedo ayudarte?' | French: 'Bonjour, comment puis-je vous aider?'
「Azure AI Text Translation SDK for Python」を使用しています。 Detect language and translate: 'Danke fur Ihre Hilfe'
期待される結果:
Detected: German (confidence: 0.99) | Translation: 'Thank you for your help'
「Azure AI Text Translation SDK for Python」を使用しています。 Transliterate 'konnichiwa' from Latin to Japanese script
期待される結果:
こんにちは (Japanese Hiragana)
セキュリティ監査
安全Documentation-only skill with no executable code. Static analysis scanned 0 files and found 0 security issues (risk score: 0/100). The skill teaches proper Azure AI Translator SDK usage including secure credential handling via environment variables and Entra ID authentication. No malicious patterns or prompt injection detected.
リスク要因
🔑 環境変数
🌐 ネットワークアクセス
品質スコア
作れるもの
多言語カスタマーサポート
グローバルユーザーにネイティブ言語でサービスを提供するために、顧客からの問い合わせとサポート応答の翻訳を自動化します。
コンテンツローカライゼーションパイプライン
コンテンツ管理ワークフローに翻訳を統合して、ドキュメント、ウェブサイト、またはマーケティング資料を世界中で公開します。
言語学習アプリケーション
言語学習者向けの翻訳、ディクショナリ定義、使用例を提供する教育ツールを構築します。
これらのプロンプトを試す
Translate the following text to Spanish using Azure AI Translator: 'Hello, welcome to our service. How can we help you today?'
Translate this product announcement to French, German, Japanese, and Chinese simultaneously: 'We are launching a new feature next week that improves performance by 50 percent.'
Detect the language of this customer message and translate it to English: 'Bonjour, j'ai un probleme avec ma commande. Pouvez-vous m'aider?'
Look up the Spanish translations for the English word 'run' with usage examples showing different meanings (verb: to move quickly, noun: a series, etc.)
ベストプラクティス
- 可能な限りセキュリティ向上のため、APIキーではなくEntra ID認証を使用
- API呼び出しを減らすため、複数の翻訳リクエストをバッチ処理(最大100テキスト)
- 翻訳精度を向上させるため、既知の場合はソース言語を明示的に指定
回避
- APIキーや認証情報をソースコードに直接ハードコードしないでください
- パスワード、トークン、個人識別情報などの機密データの翻訳を避けてください
- 重要なワークフローの自動言語検出のみに依存しないでください
よくある質問
Azure AI Translatorへの認証方法は?
翻訳ではどの言語がサポートされていますか?
HTMLコンテンツをマークアップを壊すことなく翻訳できますか?
音声変換とは何ですか?またいつ使用すべきですか?
翻訳で不適切な言葉をどのように処理しますか?
単一リクエストで複数のテキストを翻訳できますか?
開発者の詳細
作成者
sickn33ライセンス
MIT
リポジトリ
https://github.com/sickn33/antigravity-awesome-skills/tree/main/skills/azure-ai-translation-text-py参照
main
ファイル構成
📄 SKILL.md