You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/search/word_score/local/README.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,7 +7,7 @@
7
7
- Replace the file in `./content` with a csv file of your choice, but the data column should be named `tags` column.
8
8
- Start your docker engine and `docker build -t word_score .`.
9
9
- Do `docker run -p 8000:8000 word_score`.
10
-
-`curl -X POST -H "Content-Type: application/json" -d '{"query": QUERY, "n": N}' http://0.0.0.0:8000`. <br> Replace `QUERY` with a query and `N` with the number of rows you want to retrieve.
10
+
-`curl -X POST -H "Content-Type: application/json" -d '{"query": "seed procurement district", "n": "5", "search_category" : "seed"}' http://localhost:8000/`. <br> Replace `seed procurement district` with a query you want to search and `5` with the number of rows you want to retrieve.
0 commit comments