Repository navigation
Release 0.8.21: search overview reads the top 20 and suggests where to start; app.nemar.org approved - #754
Merged
Conversation
…p-after-v0.8.20 chore: sync develop with main after v0.8.20
…to start (#749) * feat: search overview reads 20 results, lists up to 10 picks, suggests where to start The prompt now asks for a conversational lead-in, up to 10 picks with how each relates to the search, and a suggestion field under the same citation filter. A reply is valid when its summary has words and any part names a result. Unit and route tests updated (175 pass). * docs: search overview contract for the top 20, 10 picks and suggestion * docs: Home design placeholder says natural language * fix: overview review round 1: closest picks when nothing fits, no pick count, cut-off reason The prompt no longer asks for a pick count or names the top 20, and asks for the closest picks when nothing fits (a reply without picks was a 502). A first sentence over twice the cap is dropped, a cut-off reply raises with its own reason, filter drops are logged, and picks carry max_length. Tests added for each (182 pass). * docs: overview token budget and long first sentence rule
…750) * fix: overview prompt keeps the voice on the datasets, not on the input text A real overview on dev said 'though the snippet is partial'. The prompt now asks the model never to mention descriptions, snippets or titles and to hedge instead. Prompt test extended (182 pass). * fix: voice instruction names the input text, not the data, and does not invite guessing Review: banning 'the data' was too broad for dataset prose, and 'hedge' invited speculation against 'use only what the results say'. The model now leaves out what a result does not say. Prompt test extended (182 pass).
* fix: approve app.nemar.org as a NEMAR origin A signed-in reader's nemar.org pages are served from app.nemar.org, where the widget was refused. Adding it to cors_origins authorizes chat and the overview, CORS, and the notebook site's frame-ancestors. Tests added (581 pass in authorization, notebook site and assistants). * chore: worker origin list gains app.nemar.org; changelog says when the notebook site picks it up
Merged
2 of 3 tasks
This branch was previously deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Promotes
developtomainfor 0.8.21: the search overview reworked from a NEMAR maintainer's feedback, andapp.nemar.orgapproved as a NEMAR origin.Four merged pull requests (#749, #750, #752, and the documentation-only #753 that files the CHANGELOG under 0.8.21), plus the post-0.8.20 sync of
mainintodevelop(#747) and CI-owned version bumps.What reaches production
POST /{community}/overviewaccepts up to 20 results (was 10) and answers the way a colleague would: a short lead-in on what the search seems to focus on, up to 10 picks (was 3) each saying how it relates to the search, and a newsuggestionfield saying where to start.OVERVIEW_MAX_TOKENS1500 to 3000.app.nemar.orgis an approved origin (NEMAR: approve app.nemar.org as an origin #752; issue NEMAR: approve app.nemar.org as an origin #751): signed-in pages on nemar.org are served from the app host, where the widget was refused. Authorizes chat and the overview, CORS, and the notebook site'sframe-ancestors(production notebook site rebuilds on this merge). The worker already admitted*.nemar.org; its generated list gains the entry.Compatibility and order
suggestion.frontend/untouched), so nemar.org's pinned widget build is unaffected.Testing
https://api.osc.earth/osa/healthreports 0.8.21, and a 20-row overview fromhttps://nemar.orgreturns 200.Review (one integration-scoped Sonnet reviewer)
No Critical findings.
/healthreports 0.8.21, not when the release is published.suggestion; the in-memory cache is replaced on deploy and its key separates 10-row and 20-row callers; docs, CHANGELOG, route docstring and code agree.