GeoNetAgent, LDAPWeb, server-audit, server-connection
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

1.2 KiB

Project Search Service

Deskripsi

Natural language search untuk file project di NAS via Ollama (LLM) dan PostgreSQL vector index.

Status: Diimplementasi sebagian. Endpoint tersedia tapi index NAS belum aktif di production.

Dependency

  • Ollama: http://10.100.1.26:11434 (VM aiopr)
  • Model chat: qwen2.5:7b
  • Model embed: nomic-embed-text
  • PostgreSQL Project Search: geonet_project_search (10.100.1.25)

Endpoint

Method Path Scope Deskripsi
GET /project-search/sources project-search:read Daftar sumber data
GET /project-search/index/status project-search:read Status indeks per source
POST /project-search/ask project-search:read Query natural language

Rate Limit

POST /project-search/ask: 20 request / menit

Contoh Request

# Query
curl -s -X POST https://console.gisportal.id/api/v1/project-search/ask \
  -H "Authorization: Bearer <token_dengan_scope_project-search:read>" \
  -H "Content-Type: application/json" \
  -d '{"query": "Laporan survey jalan tol 2025", "sources": ["project"]}'

Changelog

Tanggal Perubahan
2026-06-23 README dibuat