Nihai ui
NihAI UI (Local React App)¶
An isolated React + TypeScript app for browsing and editing the Weaviate collections that power the NihAI knowledge base. Use it to inspect entries, verify content, import data, and perform lightweight edits during development.
Why this exists¶
- Purpose: Provide a simple admin/explorer for NihAI data during development and demos.
- Scope: Local-only tooling; it talks to the backend API and Weaviate used by the main ASHAI service.
- Audience: Developers, data curators, and reviewers.
How to run¶
- The dev server runs at
http://localhost:5176. - It proxies API requests to the ASHAI backend at
http://localhost:8000(no.envneeded).
Ports and services¶
- 5176: Vite dev server for the NihAI UI.
- 8000: ASHAI FastAPI backend. The UI calls this API (e.g.,
/search/nihai/*).
These do not conflict: the UI runs on 5176 while the backend serves APIs on 8000. The dev proxy forwards /search to 8000.
Features¶
- Header navigation titled "NihAI UI" with a collection selector
- Browse collections/properties; sortable/filterable table view
- Per-row edit view
- Import JSON/Markdown to grow the knowledge base via backend helpers