Skip to content

add paper chat support#45

Merged
miguelgrc merged 1 commit into
inspirehep:masterfrom
miguelgrc:paper-chat
Jul 21, 2025
Merged

add paper chat support#45
miguelgrc merged 1 commit into
inspirehep:masterfrom
miguelgrc:paper-chat

Conversation

@miguelgrc
Copy link
Copy Markdown
Contributor

It is now possible to ask questions about a paper in a chat-like way. The chat keeps a conversation history, which is sent to the LLM.

  • Modified query-rag endpoint to support control_number and history.
  • Added new chain using a new prompt for papers
  • The pipeline fetches the top 25 embeddings for the control_number. Improvements will need to be made later on as this won't be enough to put all paper content in context, especially for long papers.
  • Several UI changes to accommodate this feature
  • Some small general UI tweaks

@miguelgrc miguelgrc merged commit 15cad48 into inspirehep:master Jul 21, 2025
1 check passed
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