Semantic Search — Actuarial Memos
search_actuarial_embedsPure vector search over per-filing actuarial-memorandum embeddings (extract_embeds where kind='actuarial_memo'). Each hit is a filing whose memo is semantically closest to your query, with the matching excerpt and lite filing metadata.
Cost: one query-embedding call + one indexed Postgres lookup. Bounded, cheap, fast. No LLM planning, no LLM composition.
This is the right tool any time the question is actuarial-shape. Reach for it — not search_summary_embeds and not search_filing_embeds — when the user is asking about:
Rate adequacy: headline rate change, indicated vs selected, off-balance, capping.
Loss trends: severity trend, frequency trend, pure-premium trend, projected ultimates, LDFs, IBNR development.
Credibility / experience: experience period, weight assigned to own experience vs class-plan / bureau, credibility tables.
Expense / profit provisions: permissible loss ratio, target combined ratio, profit & contingency loading, expense ratio, investment-income offset.
Reason codes / drivers: reinsurance cost, weather/cat load, severity-driven rate need, mix shift, frequency reductions from telematics.
Anything where the answer would be a number from the actuarial memo rather than a description of what the filing does.
The memo is where actuaries put the numerics; the extraction summary is where the pipeline puts the prose. If the question reaches for numbers, hit this surface first.
Wrong surface for:
Content questions ("filings discussing wildfire scoring", "telematics programmes", "parametric triggers") — those discuss what the filing is about, not actuarial numerics. Use
search_summary_embeds(broader coverage).Concrete-filter questions ("Filings from carrier NAIC 12345 in 2024") — use
search_filings.Filings with no actuarial memo. Memos are typically attached to Rate filings; Form, Rule, and Withdrawal filings often have none. Coverage is narrower than
search_summary_embedsfor that reason — most of the 2026 corpus is covered, prior years are backfilling.
How to combine:
"Personal auto filings in California whose indicated rate exceeds selected by 5+ points" →
search_filings(state=CA, product_type="Personal Auto", filing_type="Rate") to scope a candidate set, then this tool over the candidates' memos."Carriers citing severity-driven rate need in 2025" → this tool first;
get_filing_summaryon the top hits to read in full.
Returns top-K hits, each with {serff, similarity, excerpt, meta}. Default topK=10, max 50. Excerpt is the first 800 chars of the matching memo.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| naic | No | Exact NAIC carrier identifier (5-digit string). Restricts the cosine search to that carrier. | |
| topK | No | Number of top filings to return. Defaults to 10; capped at 50. | |
| year | No | Exact filing year. Mutually exclusive with year_from/year_to. | |
| query | Yes | Natural-language query. Pass the user's actuarial question verbatim — short, specific queries (5-30 words) match best. The query is embedded and cosine-compared against per-filing actuarial-memo embeddings. | |
| serff | No | Optional SERFF id to scope the search to a single filing's actuarial memo (shape PREFIX-IDENTIFIER). Each filing has at most one memo embedding, so topK is effectively 1 when serff is set. | |
| state | No | Two-letter US state code, uppercase. Corpus currently covers CA only. | |
| date_to | No | Upper bound on filing date (ISO YYYY-MM-DD). | |
| year_to | No | Upper bound on filing year, inclusive. | |
| date_from | No | Lower bound on filing date (ISO YYYY-MM-DD). | |
| year_from | No | Lower bound on filing year, inclusive. | |
| filing_type | No | Wildcard match on filing type ("Rate", "Rule", "Form", "Withdrawal", etc.). Substring match. | |
| product_type | No | Wildcard match on product type ("Personal Auto", "Homeowners", "Commercial Auto", "Workers Compensation", etc.). Substring match — "Auto" matches both Personal and Commercial Auto. | |
| predecessor_prefix | No | Bureau / org SERFF prefix ("ISOF", "NCCI", "AAIS", "MSO"). Restricts to filings carriers actually adopted into a programme. |