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

Chatbot frontend for Anserini API #2695

Open
wants to merge 12 commits into
base: master
Choose a base branch
from

Conversation

b8zhong
Copy link
Member

@b8zhong b8zhong commented Jan 29, 2025

Related to castorini/ura-projects#20

Same
java -cp $ANSERINI_JAR io.anserini.server.Application --server.port=8081
Rename .env.example => .env.local, fill it in w/ Vercel secrets, etc.

pnpm install and pnpm dev in the anserini-chatbot directory.

A few issues:

Issue where you have to reload the page every time to get the search results (surely I'll figure this one out)
Add all the models (down the road, I'll have corpus dropdown, then pick the encoding dropdown as well)
Specify # of hits in a seperate button; right now default 10
Get doc content by docid (not sure how this would be implemented in a useful way here though)

Add gitignore to the root one, remove linting action.. a type error on pnpm build to fix.. and move build into pom.xml eventually? I think that's how the frontend is built atm

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

Successfully merging this pull request may close these issues.

2 participants