Skip to content

[inferno-ml-bedrock] Add promptWith and related types/functions for structured LLM response#194

Merged
ngua merged 16 commits intomainfrom
rory-prompt-with
Feb 4, 2026
Merged

[inferno-ml-bedrock] Add promptWith and related types/functions for structured LLM response#194
ngua merged 16 commits intomainfrom
rory-prompt-with

Conversation

@ngua
Copy link
Contributor

@ngua ngua commented Feb 3, 2026

  • Adds new JSON and Schema modules for consuming and specifying shape of incoming data from LLMs
  • Adds promptWith function for use with said structured LLM responses
  • Adds some missing things from Option module to make this usable (flatMap and traverse; for the former, we already had join but flatMap [bind] is nicer to use IMO)
  • Adds some tests
    • Note for JSON tests, we will need to wait until another PR since we cannot construct them from Inferno code, they're opaque and are from incoming data only

@ngua ngua merged commit ff76fee into main Feb 4, 2026
1 check passed
@ngua ngua deleted the rory-prompt-with branch February 4, 2026 02:57
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.

2 participants