Skip to content

ragnar 0.3.0

Latest

Choose a tag to compare

@t-kalinowski t-kalinowski released this 26 Jan 22:21

Breaking changes

  • In ragnar_find_links(), the default children_only = FALSE now
    returns all links on a page. If you relied on the previous default,
    set children_only = TRUE (#115).

  • ragnar_register_tool_retrieve() now uses search_{store@name} as
    the default tool name prefix (instead of
    rag_retrieve_from_{store@name}), so you may need to update any
    code that refers to the tool name explicitly (#123, #127).

New features

  • New embed_azure_openai() supports embeddings from Azure AI Foundry
    (#144).

  • New embed_snowflake() supports embeddings via the Snowflake Cortex
    Embedding API (#148).

  • New mcp_serve_store() lets local MCP clients (e.g. Codex CLI or
    Claude Code) search a RagnarStore (#123).

  • ragnar_retrieve() (and the corresponding ellmer retrieval tool)
    now accepts a vector of queries (#150).

  • New ragnar_store_atlas() visualizes store embeddings (#124).

  • New ragnar_store_ingest() prepares documents in parallel with
    mirai and inserts them into a store (#133).

Minor improvements and fixes

  • embed_ollama() now defaults to the embeddinggemma model (#121).

  • embed_openai() error messages are now surfaced to the user (#112).

  • Embedding helpers now share a generalized request retry policy,
    configurable via options(ragnar.embed.req_retry = ...) (#138).

  • ragnar now requires mirai >= 2.5.1 (#139).

  • print() on a RagnarStore now shows the store location (#116).

  • ragnar_retrieve_bm25() now orders results by descending score
    (#122).

  • ragnar_retrieve() no longer returns duplicate rows when called
    with multiple queries (#153).

  • The ellmer retrieval tool now omits score columns from its output
    (#130).

  • ragnar_store_inspect() now includes keyboard shortcuts, a
    draggable divider, improved preview linkification, better metadata
    display, and other UI tweaks (#120, #117, #118).

  • ragnar_find_links() works better with local HTML files (#115).

  • ragnar_store_insert() and ragnar_store_update() (v2 stores) now
    handle stores that are missing store@schema metadata (#146).

  • read_as_markdown() once again fetches YouTube transcripts and now
    supports youtube_transcript_formatter, so you can add timestamps
    or links to the transcript output (#149).

  • read_as_markdown() gains an origin argument to customize the
    @origin recorded on returned documents (#128).

  • read_as_markdown() now correctly reads plain-text files with
    non-ASCII characters (#151).

  • Vignette heading levels were fixed (#129).

  • Added an example using sentence-transformers embeddings (#131).