Niteni Cluster Server (95)
Production Base URL
https://cluster.niteni.web.id/api
Available Endpoints
| Endpoint | Method | Status | Description |
|---|---|---|---|
| /embed | POST | Stable | Generate embeddings |
| /embed-batch | POST | Stable | Batch embeddings |
| /similarity | POST | Stable | Semantic similarity |
| /search | POST | Stable | Semantic search |
| /cluster | POST | Stable | Semantic clustering |
| /sentiment | POST | Stable | Sentiment analysis |
| /classify | POST | Stable | SBERT classification |
| /job/* | GET/POST | Stable | Async jobs |
| /research/keywords | POST | Coming Soon | Keyword clustering |
| /research/variables | POST | Coming Soon | Variable clustering |
| /research/hypotheses | POST | Coming Soon | Hypothesis analysis |
/embed
curl -X POST https://cluster.niteni.web.id/api/embed \
-H "Content-Type: application/json" \
-d '{
"text":[
"pantai sangat indah",
"pelayanan hotel memuaskan"
]
}'
/similarity
curl -X POST https://cluster.niteni.web.id/api/similarity \
-H "Content-Type: application/json" \
-d '{"text1":"pantai sangat indah","text2":"pantai bagus sekali"}'/search
POST /search
{
"query":"pantai indah",
"candidates":["pantai pasir putih","hotel murah","kuliner malam"]
}/cluster
POST /cluster
{
"texts":[
"pantai indah",
"pantai pasir putih",
"hotel bersih",
"kamar nyaman"
]
}/sentiment
POST /sentiment
{
"texts":[
"pelayanan sangat memuaskan",
"hotel sangat mengecewakan"
]
}/classify
POST /classify
{
"data":[{"id":1,"text":"pantai sangat indah"}],
"concepts":[{"id":10,"name":"keindahan alam"}],
"threshold":0.5,
"return_score":true
}Asynchronous Jobs
POST /job/embed
GET /job/status/{JOB_ID}
GET /job/result/{JOB_ID}
Research API (Coming Soon)
- POST /research/keywords
- POST /research/variables
- POST /research/hypotheses
- POST /research/articles
Backend
Model: SBERT Clustering: HDBSCAN Server: 10.3.3.95