https://github.com/devflowinc/producthunt-ruby-example
POC for powering ProductHunt search, recommendations, and RAG
https://github.com/devflowinc/producthunt-ruby-example
Last synced: 2 days ago
JSON representation
POC for powering ProductHunt search, recommendations, and RAG
- Host: GitHub
- URL: https://github.com/devflowinc/producthunt-ruby-example
- Owner: devflowinc
- Created: 2024-03-19T01:47:14.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-03-22T19:17:31.000Z (over 1 year ago)
- Last Synced: 2025-06-22T05:17:06.268Z (4 days ago)
- Language: Ruby
- Homepage: https://trieve.ai
- Size: 4.88 KB
- Stars: 5
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# ProductHunt Trieve Example
## Set .env variables
1. Go to [dashboard.trieve.ai](https://dashboard.trieve.ai) and create an account
2. Create a dataset on the dashboard (preferably use jina embeddings for performance)
3. Copy the `dataset_id` into the `.env` file as the value for `TRIEVE_DATASET_ID`
4. Create an API key and copy it into the `.env` as the value for `TRIEVE_API_KEY`## Test Functionality
Run `bundle install`
### Upload the current frontpage to Trieve
`bundle exec ruby ./upload.rb`
### Try out search
`bundle exec ruby ./search.rb`
### Try out chat
`bundle exec ruby ./chat.rb`