govsearch / README.md
Katsuya Oda
Initial commit
5285b72 unverified
|
raw
history blame
2.97 kB
metadata
title: Govsearch
emoji: πŸ†
colorFrom: purple
colorTo: pink
sdk: docker
pinned: true
license: agpl-3.0
app_port: 7860

Govsearch

Govsearch is an unofficial search application for Japanese government documents. Similar to Govbot(https://www.govbot.go.jp/), its aim is to improve accessibility to government documents, but it adopts a search approach instead of a chatbot. Internally, it utilizes Vespa as the search engine, Starlette for the backend, Remix for the frontend, and relies on documents provided by Govbot.

Usage

To run the application, you need to have Docker installed. Then, you can run the following command:

echo "OPENAI_API_KEY=sk-xxx" > .env
docker build -t govsearch . && docker run -it -p 7860:7860 govsearch
open http://localhost:7860

To develop the application, you can run the following command:

echo "OPENAI_API_KEY=sk-xxx" > .env
docker compose up -d
(cd backend_vespa && make deploy && make feed)
open http://localhost:7861

References