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

Try out new REST API - connect with RankLLM #2495

Closed
lintool opened this issue May 13, 2024 · 1 comment
Closed

Try out new REST API - connect with RankLLM #2495

lintool opened this issue May 13, 2024 · 1 comment

Comments

@lintool
Copy link
Member

lintool commented May 13, 2024

From @16BitNarwhal - pull latest master.

Run:

java -cp `ls target/*-fatjar.jar` io.anserini.server.Application --server.port=8081

Go to localhost:8081 and play with UI.

Use the REST API:

curl -X GET "http://localhost:8081/api/collection/msmarco-v2.1-doc/search?query=How%20does%20the%20process%20of%20digestion%20and%20metabolism%20of%20carbohydrates%20start" 

@ronakice @sahel-sh see if it works with rank_llm as you envisioned.

@lintool
Copy link
Member Author

lintool commented May 25, 2024

This is now available in the v0.36.1 artifact directly: https://github.com/castorini/anserini/blob/master/docs/fatjar-regressions/fatjar-regressions-v0.36.1.md

@lintool lintool closed this as completed May 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant