Travel Review Sentiment Checker
Parses the Travel/Hospitality product review and provides its sentiment with a score between 0-100%.
Parses the Travel/Hospitality product review and provides its sentiment (POSITIVE
/NEGATIVE
/NEUTRAL
) with a score between 0-100%.
Ideal for developers working on travel platforms, review aggregators, or customer feedback systems. It automates the analysis of travel reviews, helping businesses understand customer experiences and improve their services. Use cases include generating sentiment reports, enhancing travel recommendations, and improving customer satisfaction by addressing negative feedback.
Great for sentiment report processing for any online travel agency.
AI jobs involve two key steps::
- Submitting the AI job: Initiating the process by sending the job request.
- Monitoring and receiving results: Continuously checking the job status and obtaining the final output upon successful completion.
Step 1. Submit the AI Job request
Endpoint: POST - /api/v1/tth/review_sentiment
Attribute | Type | Mandatory | Description |
---|---|---|---|
content | String | Yes | Provide Review text to analyze the sentiment. |
REQUEST EXAMPLE:
{
"content": "We had a great stay at the Jen Orchard!! Super comfortable rooms and beds. The delicious and extensive breakfast buffet is absolutely worth it as well. The pool is really cool and offers amazing views. We didn't get to enjoy it as much as we wanted due to thunderstorms, but you can even stay here if you have a late flight, which we had. The changing rooms have free lockers that easily fit your hand luggage and there are showers to freshen up and change before leaving for the airport. Location is perfect, right above an MRT station. Staff is really friendly. Would definitely stay here again when in Singapore."
}
RESPONSE EXAMPLE:
{
"status_url": "https://sharpapi.com/api/v1/content/translate/job/status/5de4887a-0dfd-49b6-8edb-9280e468c210",
"job_id": "5de4887a-0dfd-49b6-8edb-9280e468c210"
}
Step 2. Monitor & Fetch AI Job Results
Endpoint: GET - /api/v1/tth/review_sentiment/job/status/:uuid
An endpoint is used to check on the progress of the requested API job.
RESULT EXAMPLE:
{
"data": {
"type": "api_job_result",
"id": "f85b7ac5-33cd-4796-8935-dc8c22219946",
"attributes": {
"status": "success",
"type": "tth_review_sentiment",
"result": {
"score": 95,
"opinion": "POSITIVE"
}
}
}
}
- Related Keywords:
- Travel APIs
- Travel
- Sentiment
- OTA
- Hospitality
- Reviews
- Tourism
- Feedback
Leveraging AI for Enhanced Online Engagement
Jul 18, 2024
Let’s explore how AI can be leveraged to build scalable solutions for online engagement across various industries seeking to enhance efficiency and productivity through AI-driven workflow automation.
Feb 2, 2024
SharpAPI is a powerful AI-powered API, which provides a range of workflow automation endpoints to help improve efficiency across various industries. It has features for E-commerce, Content & Marketing Automation, SEO, HR Tech, and Travel & Hospitality industries.
When Laravel/PHP E-commerce App Meets AI
Jan 1, 2024
Hey fellow Laravel enthusiasts! In the ever-evolving landscape of e-commerce, integrating AI into your Laravel applications is not just a luxury, it’s a necessity. With SharpAPI’s Laravel package, it’s now easier than ever. In this blog, I’ll guide you through 10 transformative use cases for enhancing your Laravel-based e-commerce applications using SharpAPI.