[PR #834] [MERGED] fix: Fix bugs in ExtractedFieldMetadata parser #900

Closed
opened 2026-02-16 00:19:28 -05:00 by yindo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/run-llama/llama_cloud_services/pull/834
Author: @adrianlyjak
Created: 8/1/2025
Status: Merged
Merged: 8/1/2025
Merged by: @adrianlyjak

Base: mainHead: adrian/citation-confidence-fixes


📝 Commits (4)

  • 3dda9d0 fix: Fix bugs in ExtractedFieldMetadata parser
  • 60cefa7 version script fixes
  • db3289f update versions
  • f295a03 skip the unrelated failing test for now

📊 Changes

8 files changed (+241 additions, -69 deletions)

View changed files

📝 py/llama_cloud_services/beta/agent_data/schema.py (+62 -34)
📝 py/llama_parse/pyproject.toml (+2 -2)
📝 py/pyproject.toml (+1 -1)
📝 py/tests/beta/agent_data/test_agent_data_schema.py (+110 -6)
📝 py/tests/index/test_index.py (+5 -0)
📝 py/uv.lock (+2 -2)
📝 scripts/version-bump.py (+56 -23)
📝 ts/llama_cloud_services/src/beta/agent/types.ts (+3 -1)

📄 Description

  • Wasn't recursing through lists properly
  • Fix field names, I copied the names very badly 🤦
    • citations -> citation
    • page_number -> page
    • extracted_confidence -> extraction_confidence
  • Handle reasoning on a parent object

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/run-llama/llama_cloud_services/pull/834 **Author:** [@adrianlyjak](https://github.com/adrianlyjak) **Created:** 8/1/2025 **Status:** ✅ Merged **Merged:** 8/1/2025 **Merged by:** [@adrianlyjak](https://github.com/adrianlyjak) **Base:** `main` ← **Head:** `adrian/citation-confidence-fixes` --- ### 📝 Commits (4) - [`3dda9d0`](https://github.com/run-llama/llama_cloud_services/commit/3dda9d0bbd191fb96e53c3559584aa1a6b646d88) fix: Fix bugs in ExtractedFieldMetadata parser - [`60cefa7`](https://github.com/run-llama/llama_cloud_services/commit/60cefa79f38223bd6da5384ea8b25aaadd4148b1) version script fixes - [`db3289f`](https://github.com/run-llama/llama_cloud_services/commit/db3289fec041eda7f2b1c39f3cd4f91ee6d0a413) update versions - [`f295a03`](https://github.com/run-llama/llama_cloud_services/commit/f295a03ccce8aeb1444bd35b5eafbc6391dc75c7) skip the unrelated failing test for now ### 📊 Changes **8 files changed** (+241 additions, -69 deletions) <details> <summary>View changed files</summary> 📝 `py/llama_cloud_services/beta/agent_data/schema.py` (+62 -34) 📝 `py/llama_parse/pyproject.toml` (+2 -2) 📝 `py/pyproject.toml` (+1 -1) 📝 `py/tests/beta/agent_data/test_agent_data_schema.py` (+110 -6) 📝 `py/tests/index/test_index.py` (+5 -0) 📝 `py/uv.lock` (+2 -2) 📝 `scripts/version-bump.py` (+56 -23) 📝 `ts/llama_cloud_services/src/beta/agent/types.ts` (+3 -1) </details> ### 📄 Description - Wasn't recursing through lists properly - Fix field names, I copied the names _very_ badly 🤦 - `citations` -> `citation` - `page_number` -> `page` - `extracted_confidence` -> `extraction_confidence` - Handle `reasoning` on a parent object --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
yindo added the pull-request label 2026-02-16 00:19:28 -05:00
yindo closed this issue 2026-02-16 00:19:29 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: run-llama/llama_cloud_services#900