# Semantic similarity

Calculate the semantic similarity between two text fragments, either in the same language or in different languages.
The request body should contain:
* `content1`
 (string) - The first text fragment.
* `language1`
 (string) - The IETF BCP 47 language code for
`content1`
.
* `content2`
 (string) - The second text fragment to compare.
* `language2`
 (string) - The IETF BCP 47 language code for
`content2`
.
* `settings`
 (object) - Additional settings as per specifications. More information:
[Tisane API Configuration And Customization Guide](/apis/tisane-api-configuration)
.

The response is a number between 0 and 1, representing the similarity of the submitted text fragments.

Endpoint: POST /similarity
Version: 5.0.0.0
Security: Tisane-API-Key

## Security:

  - `Tisane-API-Key` (unknown)
    apiKey in header Ocp-Apim-Subscription-Key

## Header parameters:

  - `Content-Type` (string)

## Response 200:

  - `200` (unknown)
    Successful response

