Skip to content

Spike/llm parse verif statements - #4872

Draft
andrea-williams wants to merge 2 commits into
developfrom
spike/llm-parse-verif-statements
Draft

Spike/llm parse verif statements#4872
andrea-williams wants to merge 2 commits into
developfrom
spike/llm-parse-verif-statements

Conversation

@andrea-williams

@andrea-williams andrea-williams commented Jun 26, 2026

Copy link
Copy Markdown
Contributor
  • loaded contents of one verification statement into my local database using pypdfium2 and jupyter notebook, connected to report_attachment id=9, report_version=18 (Bugle SFO)
  • hard-coded the report_attachment_id in PdfDocumentContentsService
  • can now interact fairly reliably with document via chat, although some times when the LLM server is just connecting there will be a front-end timeout. Retrying with the same prompt usually works.

Future Improvements:

  • is there a way to avoid the front-end timeouts (considering the backend does eventually return a response, just not quickly enough for the frontend)?
  • the model's response is often formatted for markdown, but the textbox doesn't render markdown nicely.
  • button to download PDF does nothing
  • create job to process all existing report_attachments to extract their contents and save to database
  • remove hard-coding
  • also submit report contents to AI as context so that VS can be compared to submitted data
  • soooooo much code cleanup needed

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.

1 participant