# AzureAiServicesSpeechToTextTool

> **Class** in `langchain_community`

📖 [View in docs](https://reference.langchain.com/python/langchain-community/tools/azure_ai_services/speech_to_text/AzureAiServicesSpeechToTextTool)

Tool that queries the Azure AI Services Speech to Text API.

In order to set this up, follow instructions at:
https://learn.microsoft.com/en-us/azure/ai-services/speech-service/get-started-speech-to-text?pivots=programming-language-python

## Signature

```python
AzureAiServicesSpeechToTextTool()
```

## Extends

- `BaseTool`

## Properties

- `azure_ai_services_key`
- `azure_ai_services_region`
- `speech_language`
- `speech_config`
- `name`
- `description`

## Methods

- [`validate_environment()`](https://reference.langchain.com/python/langchain-community/tools/azure_ai_services/speech_to_text/AzureAiServicesSpeechToTextTool/validate_environment)

---

[View source on GitHub](https://github.com/langchain-ai/langchain-community/blob/4b280287bd55b99b44db2dd849f02d66c89534d5/libs/community/langchain_community/tools/azure_ai_services/speech_to_text.py#L20)