Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

We got new quepid #173

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 2 additions & 10 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -167,15 +167,9 @@ services:
ZOO_4LW_COMMANDS_WHITELIST: mntr,conf,ruok
ZOO_CFG_EXTRA: "metricsProvider.className=org.apache.zookeeper.metrics.prometheus.PrometheusMetricsProvider metricsProvider.httpPort=7000 metricsProvider.exportJvmInfo=true"

redis:
container_name: quepid_redis
image: redis:6.2.7-alpine
ports:
- 6379:6379

quepid:
container_name: quepid
image: o19s/quepid:7.15.1
image: o19s/quepid:8.0.0-rc3
ports:
- 3000:3000
command: "foreman s -f Procfile"
Expand All @@ -184,7 +178,6 @@ services:
- RACK_ENV=production
- RAILS_ENV=production
- DATABASE_URL=mysql2://root:${MYSQL_ROOT_PASSWORD}@mysql:3306/quepid
- REDIS_URL=redis://redis:6379/1
- FORCE_SSL=false
- MAX_THREADS=2
- WEB_CONCURRENCY=2
Expand All @@ -200,12 +193,11 @@ services:
- KEYCLOAK_REALM=chorus
- KEYCLOAK_SITE=http://keycloak:9080
- SIGNUP_ENABLED=true
- QUEPID_CONSIDER_ALL_REQUESTS_LOCAL=true
links:
- mysql
- redis
depends_on:
- mysql
- redis

embeddings:
container_name: embeddings
Expand Down
9 changes: 7 additions & 2 deletions quickstart.sh
Original file line number Diff line number Diff line change
Expand Up @@ -410,8 +410,13 @@ if $offline_lab; then
fi
docker compose run quepid bundle exec thor case:create "Chorus Baseline Relevance" solr ${solr_collection_url} JSONP "id:id, title:title, thumb:img_500x500, name, brand, product_type" "q=#\$query##&useParams=visible_products,querqy_algo" nDCG@10 [email protected]

docker cp ./katas/Broad_Query_Set_rated.csv quepid:/srv/app/Broad_Query_Set_rated.csv
docker exec quepid bundle exec thor ratings:import 1 /srv/app/Broad_Query_Set_rated.csv >> /dev/null
docker cp ./katas/Broad_Query_Set_rated.csv quepid:/rails/Broad_Query_Set_rated.csv

sleep 5
docker compose start quepid

docker exec quepid bundle exec thor ratings:import 1 /rails/Broad_Query_Set_rated.csv #>> /dev/null


fi

Expand Down
Loading