NLP service
API for extracting features from text and generating text based on house data
Endpoints
Status
- /api/check_status checking the API status
Extract
- /api/extract/extract_headlines return list of extracted headlines or empty list if nothing is extracted.
- /api/extract/extract_features extract a list of features from given listing description
Generate
- /api/generate/generate_headlines generate a list of headlines for ad copy using patterns extracted from home description and generated with other home data
- /api/generate/generate_primary_text generate a primary text for ad copy based on provided house data
- /api/generate/generate_ad_copy generate both a list of headlines and a primary text for ad copy based on provided house data
- /generate/generate_location_based_text generate both text and title for the given location
- /generate/generate_generate_invitation_text generate text to invite client to the system