Skip to content

Pin semantic extraction temperature#17

Merged
ferueda merged 1 commit into
mainfrom
codex/pin-semantic-generation-settings
Jul 23, 2026
Merged

Pin semantic extraction temperature#17
ferueda merged 1 commit into
mainfrom
codex/pin-semantic-generation-settings

Conversation

@ferueda

@ferueda ferueda commented Jul 23, 2026

Copy link
Copy Markdown
Owner

Summary

  • require an explicit numeric temperature: 0 in the reviewed semantic-v1 route
  • send that value through the existing OpenAI-compatible Gateway request without adding seed or other sampling controls
  • reject missing, null, nonnumeric, or nonzero temperature before adapter construction
  • update the example route, regression fixtures, architecture, roadmap, and active-plan status

Why

Semantic claims are an extraction task, so lower sampling variation is preferable to creative output. Making temperature explicit also prevents provider defaults from changing behavior without changing Noema's recorded route configuration and processing identity. Temperature zero improves repeatability but is not treated as a determinism guarantee.

Impact

Previously copied route files must add numeric "temperature": 0 before Noema will accept them. Existing stored analyses remain inspectable. Because the sanitized route is already part of the semantic processing key, the updated route creates new work once and exact later reruns remain reusable. There are no domain or database changes.

No live request was made in this change. The approved gateway check follow-up will validate the pinned parameter against Vercel and Cerebras using public synthetic input.

Validation

  • go test ./internal/adapters/aigateway ./cmd/noema
  • make check

@ferueda ferueda self-assigned this Jul 23, 2026
@ferueda
ferueda marked this pull request as ready for review July 23, 2026 17:07
@ferueda
ferueda merged commit 6c047b4 into main Jul 23, 2026
4 checks passed
@ferueda
ferueda deleted the codex/pin-semantic-generation-settings branch July 23, 2026 17:08
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