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

Show citations even if formatting is wrong #35

Closed
srkirkland opened this issue Apr 26, 2024 · 1 comment
Closed

Show citations even if formatting is wrong #35

srkirkland opened this issue Apr 26, 2024 · 1 comment

Comments

@srkirkland
Copy link
Member

for jdCgVda1BQ9D3zAVMm1YT the response included citations but they were not displayed, I think because it's not valid markdown to not have matching citations within the text. ex: To pay an award to a student ... on the applicable procedures and compliance requirements.\n\nCitation(s):\n[^doc0]: [UCD03, Exhibit A, Student Employees](https://ucdavispolicy.ellucid.com/documents/view/181/active/) doesn't actually show any citations.

Possible solutions:

  • check for matching [^doc0] footnote refs for each footnote ref. if it is doesn't exist, add it
  • update the instructions to change format away from markdown footnotes -- we can transform them back post-response if they are valid after the fact.
@srkirkland
Copy link
Member Author

closing for now -- I have several methods to fix the markdown for common problems. doesn't catch them all, but it's pretty decent.

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