# Semantic similarity Calculate the semantic similarity between two text fragments, either in the same language or in different languages. The request body should contain: * (string) - The first text fragment. * (string) - The IETF language code for . * (string) - The second text fragment to compare. * (string) - The IETF language code for . * (object) - Additional settings as per specifications. More information: Tisane API Configuration And Customization Guide. The response is a number between 0 and 1, representing the similarity of the submitted text fragments. Endpoint: POST /similarity Version: 4.8.0.0 Security: Tisane-API-Key ## Header parameters: - `Content-Type` (string) Example: "application/json"