text: interactions:
  - request:
      body: '{"documents": [{"id": "1", "text": "I had a wonderful experience! The rooms
        were wonderful and the staff was helpful."}]}'
      headers:
        Accept:
        - application/json
        Accept-Encoding:
        - gzip, deflate
        Connection:
        - keep-alive
        Content-Length:
        - '121'
        Content-Type:
        - application/json; charset=utf-8
        User-Agent:
        - python/3.7.3 (Windows-10-10.0.18362-SP0) msrest/0.6.10 azure-cognitiveservices-language-textanalytics/0.2.0
        X-BingApis-SDK-Client:
        - Python-SDK
      method: POST
      uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v2.1/languages
    response:
      body:
        string: '{"documents":[{"id":"1","detectedLanguages":[{"name":"English","iso6391Name":"en","score":1.0}]}],"errors":[]}'
      headers:
        apim-request-id:
        - cd12691f-ea4e-451a-8506-cfdb887f14a5
        content-type:
        - application/json; charset=utf-8
        csp-billing-usage:
        - CognitiveServices.TextAnalytics.BatchScoring=1
        date:
        - Thu, 19 Dec 2019 00:53:18 GMT
        strict-transport-security:
        - max-age=31536000; includeSubDomains; preload
        transfer-encoding:
        - chunked
        x-aml-ta-request-id:
        - b9b62c97-9140-4031-9878-8c9354b01c31
        x-content-type-options:
        - nosniff
        x-envoy-upstream-service-time:
        - '5'
      status:
        code: 200
        message: OK
  version: 1
  