https://github.com/bard/grants-stack-search
Hybrid semantic (vector-based) / full-text search for Gitcoin projects
https://github.com/bard/grants-stack-search
embeddings llm search search-engine semantic-search
Last synced: 9 months ago
JSON representation
Hybrid semantic (vector-based) / full-text search for Gitcoin projects
- Host: GitHub
- URL: https://github.com/bard/grants-stack-search
- Owner: bard
- License: mit
- Created: 2023-12-26T17:45:56.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2023-12-26T17:46:13.000Z (over 2 years ago)
- Last Synced: 2025-10-04T16:55:14.320Z (9 months ago)
- Topics: embeddings, llm, search, search-engine, semantic-search
- Language: Python
- Homepage: https://github.com/gitcoinco/grants-stack
- Size: 2.92 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
## Installation
```sh
$ git clone https://github.com/gitcoinco/search
$ cd search
$ poetry install
```
**Note**: installation might currently be broken on some systems, see https://github.com/python-poetry/poetry/issues/8458 for workarounds.
## Development
Copy `.env.example` to `.env` and customize it.
Run:
```sh
poetry run task dev
```
Useful URLs:
- a UI testbed http://localhost:8000/static/index.html
- API docs: http://localhost:8000/docs
Run tests one-shot:
```sh
poetry run task test
```
Run tests continuously:
```sh
poetry run task test_watch
```
Build locally:
```sh
$ docker buildx build . --platform=linux/amd64 -t gitcoin-search
```
## Production
Customize env variables in `fly.production.toml`.
Build and deploy to Fly:
```sh
$ fly -c fly.production.toml deploy
```