CoolFace
Apppublic

kusumamaimunah/live-chat-indonesian-llm

sourceHugging Faceupdated 1y agoView on Hugging Face
0likes
App README

Indonesian LLM Service for Live Chat

This is a FastAPI-based microservice for Indonesian customer service AI responses, enhanced with hybrid PySastrawi + IndoBERT processing.

Features

  • โ€”๐Ÿง  Hybrid PySastrawi + IndoBERT processing
  • โ€”๐Ÿ’ฌ Multi-style contextual responses
  • โ€”๐Ÿ“ˆ Conversation memory and learning
  • โ€”โšก Performance optimization with caching
  • โ€”๐ŸŽฏ Emotional intelligence detection

API Endpoints

  • โ€”POST /chat - Process chat messages with hybrid intelligence
  • โ€”POST /embedding - Generate text embeddings for RAG
  • โ€”GET /health - Health check with service status
  • โ€”GET / - Service information and feature list

Usage

Send a POST request to /chat with:

json
{
  "text": "Your message in Indonesian",
  "website_id": "your-site-id",
  "context": {}
}

Technology Stack

  • โ€”Framework: FastAPI with async support
  • โ€”NLP Models: IndoBERT + PySastrawi + sentence-transformers
  • โ€”Language: Python 3.10
  • โ€”ML Libraries: PyTorch, transformers, sentence-transformers

Part of the Live Chat Application ecosystem - Transformers 4.45.0 Fix: 1757610200