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

Expose citation processing logic to callers #820

Open
jamesbraza opened this issue Jan 17, 2025 · 0 comments
Open

Expose citation processing logic to callers #820

jamesbraza opened this issue Jan 17, 2025 · 0 comments
Labels
enhancement New feature or request

Comments

@jamesbraza
Copy link
Collaborator

As of paper-qa==5.10.2 we expose the citation LLM prompt as a setting in Settings.parsing.citation_prompt/structured_citation_prompt, but then we hardcode the citation processing for MLA parenthetical in-text citation style: https://github.com/Future-House/paper-qa/blob/v5.10.2/paperqa/docs.py#L296-L326

It would be good to expose a hook for citation processing, so users can have references include metadata like source filename.

@jamesbraza jamesbraza added the enhancement New feature or request label Jan 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant