Spaces:
Running
Running
Delete README.md
Browse files
README.md
DELETED
|
@@ -1,82 +0,0 @@
|
|
| 1 |
-
---
|
| 2 |
-
title: Semantic Embedding API
|
| 3 |
-
emoji: π€
|
| 4 |
-
colorFrom: blue
|
| 5 |
-
colorTo: green
|
| 6 |
-
sdk: gradio
|
| 7 |
-
sdk_version: "4.44.0"
|
| 8 |
-
app_file: app.py
|
| 9 |
-
pinned: false
|
| 10 |
-
license: mit
|
| 11 |
-
short_description: Embedding + LLM Analysis untuk deteksi kemiripan proposal
|
| 12 |
-
---
|
| 13 |
-
|
| 14 |
-
# π€ Semantic Embedding & LLM Analysis API
|
| 15 |
-
|
| 16 |
-
API untuk deteksi kemiripan proposal skripsi menggunakan AI embedding dan Google Gemini.
|
| 17 |
-
|
| 18 |
-
## Fitur
|
| 19 |
-
|
| 20 |
-
### Embedding (Sentence Transformers)
|
| 21 |
-
- **Single/Batch Embedding** - Generate embedding vektor 384 dimensi
|
| 22 |
-
- **Similarity Check** - Hitung kemiripan semantik
|
| 23 |
-
- **Supabase Cache** - Shared cache untuk performa
|
| 24 |
-
|
| 25 |
-
### LLM Analysis (Google Gemini)
|
| 26 |
-
- **Analisis Mendalam** - Reasoning seperti penilai manusia
|
| 27 |
-
- **Verdict** - AMAN / PERLU_REVIEW / BERMASALAH
|
| 28 |
-
- **Saran Konkret** - Rekomendasi untuk mahasiswa
|
| 29 |
-
- **Auto Cache** - Hasil disimpan ke Supabase
|
| 30 |
-
|
| 31 |
-
## Model & Tech
|
| 32 |
-
|
| 33 |
-
| Komponen | Teknologi |
|
| 34 |
-
|----------|-----------|
|
| 35 |
-
| Embedding | `paraphrase-multilingual-MiniLM-L12-v2` (384 dim) |
|
| 36 |
-
| LLM | Google Gemini 2.5 Pro |
|
| 37 |
-
| Cache | Supabase (PostgreSQL) |
|
| 38 |
-
| API | Gradio |
|
| 39 |
-
|
| 40 |
-
## Required Secrets
|
| 41 |
-
|
| 42 |
-
Set di **Settings > Repository secrets**:
|
| 43 |
-
|
| 44 |
-
```
|
| 45 |
-
SUPABASE_URL - URL project Supabase
|
| 46 |
-
SUPABASE_KEY - Supabase anon/service key
|
| 47 |
-
GEMINI_API_KEY_1 - API key Gemini #1
|
| 48 |
-
GEMINI_API_KEY_2 - API key Gemini #2 (opsional)
|
| 49 |
-
GEMINI_API_KEY_3 - API key Gemini #3 (opsional)
|
| 50 |
-
GEMINI_API_KEY_4 - API key Gemini #4 (opsional)
|
| 51 |
-
```
|
| 52 |
-
|
| 53 |
-
## API Endpoints
|
| 54 |
-
|
| 55 |
-
| Endpoint | Fungsi |
|
| 56 |
-
|----------|--------|
|
| 57 |
-
| `/get_embedding` | Single text embedding |
|
| 58 |
-
| `/get_embeddings_batch` | Batch embeddings |
|
| 59 |
-
| `/calculate_similarity` | Cosine similarity |
|
| 60 |
-
| `/db_get_all_embeddings` | Get cached embeddings |
|
| 61 |
-
| `/db_save_embedding` | Save embedding (API only) |
|
| 62 |
-
| `/llm_check_status` | Check Gemini status |
|
| 63 |
-
| `/llm_analyze_pair` | Full LLM analysis |
|
| 64 |
-
|
| 65 |
-
## Dibuat Untuk
|
| 66 |
-
|
| 67 |
-
**Monitoring Proposal Skripsi**
|
| 68 |
-
KK E (Ilmu Komputer) - Prodi Teknik Informatika
|
| 69 |
-
Universitas Komputer Indonesia (UNIKOM)
|
| 70 |
-
|
| 71 |
-
π [Website](https://galih-hermawan-unikom.github.io/monitoring-proksi/)
|
| 72 |
-
|
| 73 |
-
## Pengembang
|
| 74 |
-
|
| 75 |
-
**Galih Hermawan**
|
| 76 |
-
π [galih.eu](https://galih.eu) β’ π [github.com/galihboy](https://github.com/galihboy) β’ π [github.com/Galih-Hermawan-Unikom](https://github.com/Galih-Hermawan-Unikom)
|
| 77 |
-
|
| 78 |
-
π
Terakhir diperbarui: 30 November 2025
|
| 79 |
-
|
| 80 |
-
## License
|
| 81 |
-
|
| 82 |
-
MIT License
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|