Skip to main content

Universal SGR Refine Agent for LangGraph — structured iterative refinement for large-context LLMs

Project description

🧠 SGR Refine Agent for LangGraph

SGRRefineAgent is a universal implementation of the Structured-Guided-Reasoning (SGR) pattern
for handling large contexts and producing structured outputs in LangGraph.

It allows iterative refinement of structured answers over multiple document chunks —
essentially giving you infinite context with schema consistency.


🚀 Installation

pip install sgr-refine-chain

PyPI

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

sgr_refine_chain-0.1.1.tar.gz (5.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

sgr_refine_chain-0.1.1-py3-none-any.whl (7.5 kB view details)

Uploaded Python 3

File details

Details for the file sgr_refine_chain-0.1.1.tar.gz.

File metadata

  • Download URL: sgr_refine_chain-0.1.1.tar.gz
  • Upload date:
  • Size: 5.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.4 CPython/3.13.1 Darwin/22.6.0

File hashes

Hashes for sgr_refine_chain-0.1.1.tar.gz
Algorithm Hash digest
SHA256 cb05bc724feb1063df66272a87133c29f8300c69779e8fcf6a7c63012cfc6767
MD5 aed659948534ef539c6036e928438358
BLAKE2b-256 b27345799d6c844660ddaed2137943f4bba48b750bc11cfd68e69294241110f4

See more details on using hashes here.

File details

Details for the file sgr_refine_chain-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: sgr_refine_chain-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 7.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.4 CPython/3.13.1 Darwin/22.6.0

File hashes

Hashes for sgr_refine_chain-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 badc7ad7669eec6e28da3e8d3de555f7bfe9676fb62412740c6db9921710c1e4
MD5 b7cd39f0995258cff6705f49552af23e
BLAKE2b-256 2d94ef7a47f2cf3a08ffd6e8ee52fccdef6a2bc96c9267035090dcab250d8613

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page