github neuml/txtai v9.15.0

one hour ago

This release adds new OpenAI client providers, a Milvus Lite sparse ANN backend and a wide range of improvements to SQL queries, graph search, workflows, indexing, RAG and HTML extraction, along with numerous bug fixes.

See below for full details on the new features, improvements and bug fixes.

New Features

Improvements

Bug Fixes

  • fix(recovery): verify recovered checkpoint batches against the current run's ids (#1293) @Ashfaqbs
  • Explain DuckDB query errors that abort the transaction (#1341) @devYRPauli
  • Fix StorageTask listing failing on tagged storage inputs (#1348) @rtmalikian
  • Return no results from Reranker when a search has no matches (#1350) @CodeWithMoin
  • Merge aggregate columns written in uppercase across shards (#1352) @raashish1601
  • Sort NULL values like SQLite when merging ordered results (#1353) @raashish1601
  • Write RDBMS graph attribute changes to the database (#1361) @kartsan03
  • Fix LogOdds.calibrate to compute the mean once instead of per score (#1365) @rtmalikian
  • Fall back to row index when Tabular IDs are NaN (#1366) @amengnew
  • Use only the query argument of similar() clauses in terms and explain (#1367) @jipeng6036-del
  • Fix infertopics ignoring topiced neighbors when untopiced ones outnumber them (#1373) @moneebullah25
  • Fix graph similar() clause truncating text with commas and dropping apostrophes (#1376) @moneebullah25
  • Fix cluster group by merge for mixed case columns and NULL group keys (#1381) @moneebullah25
  • Parse exponent notation numbers as literals in SQL queries (#1382) @moneebullah25
  • Switch SQLite ANN connections when load() is given a new path (#1385) @kartsan03
  • Replace continue statement in HTMLToMarkdown list handler (#1386) @RizgarOzan
  • Handle ServiceTask responses without a Content-Type or body (#1387) @RizgarOzan
  • Reject a semicolon in a SQL query instead of cutting the statement (#1388) @PerryLink
  • Escape search result text in the console so it isn't parsed as markup (#1392) @MohammadHijjawi97
  • fix(workflow): write a URL without a filename to a file, not to the directory (#1400) @PerryLink
  • fix(scoring): surface sparse model errors from stop() instead of failing silently (#1403) @rtmalikian
  • Allow empty index and upsert batches with subindexes (#1413) @kartsan03
  • Return no answer for unmapped QA span tokens (#1430) @HuaTNA
  • Fix Segmentation paragraph and section splits on whitespace-only blank lines (#1441) @spicysharkco
  • Skip unreadable files in the grep tool, closes #1419 (#1443) @pacocartones
  • Keep documents with a None text field and an object in all stores (#1435) @digit50
  • Score cross-encoder labels by class probability instead of raw logit (#1436) @digit50
  • Preserve agent dependency import errors (#1450) @original4422
  • Raise FileNotFoundError in ReadTool when file does not exist (#1444) (#1449) @ace-ify
  • Skip PGText insert when a batch has no text rows (#1447) @moneebullah25
  • Validate object storage download paths (#1410) @r4venrudy
  • Avoid negative sleeps when workflow deadlines pass (#1424) @HuaTNA
  • Keep RAG reference ids aligned with texts when empty texts are skipped (#1473) @r0h1tb
  • Store classification labels under the label key for custom label columns (#1477) @r0h1tb
  • fix(graph): resolve integer ids when content is disabled (#1476) @rtmalikian
  • Fix dead Dockerfile and Apache Tika links in docs (#1485) @sarankumar1325
  • Handle IVFSparse searches with mixed float dtypes (#1484) @morgan-coded
  • Fix typos in docstrings, comments and docs (#1486) @sarankumar1325
  • Write a URL with no path to a file when RetrieveTask keeps the directory structure (#1487) @sarankumar1325
  • Remove downloaded temporary files after extraction errors (#1489) @HuaTNA
  • Ubuntu 26 breaks the build (#1492)
  • Latest version of RaBitQ breaks macOS build (#1494)
  • Fix empty reindex when columns.store doesn't include the text column (#1496) @tanishqbaweja
  • Decode local file URIs in FileTask (#1508) @HuaTNA
  • Fix limit=0 being treated as unset in search and graph query (#1521) @arzharch
  • Match whole similar placeholders in SQL and graph queries (#1512) @Fahmid-Arman
  • Decode local file URIs before SafeOpen validation (#1525) @HuaTNA
  • fix(sql): keep the type name in cast() out of column resolution (#1520) @serhiizghama
  • fix: use midpoint median in log-odds calibration (#1519) @flysheep-ai
  • Split signs from operators when tokenizing SQL (#1535) @MaiAditya
  • fix(workflow): raise on HTTP error responses in ServiceTask (#1542) @Aftabbs
  • Escape pipes in HTMLToMarkdown table cells, closes #1317 (#1543) @kevin9327
  • Check that the ANN backend supports upserts and deletes before changing any data (#1545) @rishi02102017
  • Update LiteLLM test to add finish_reason for streaming (#1548)
  • docs: replace dead faiss-wheels issue link in the FAQ (#1541) @sarankumar1325
  • Track nested parentheses in SQL function arguments (#1550) @MaiAditya
  • Keep an empty documents queue instead of replacing it (#1555) @arindam77
  • fix(workflow): preserve falsy ServiceTask params (#1559) @Harbor404
  • Resolve bracket expressions on the right side of SQL operators (#1561) @MaiAditya
  • fix(database): match order by columns case-insensitively in Aggregate.orderby (#1565) @rtmalikian
  • Keep quotes inside quoted similar() text in SQL queries, closes #1566 (#1567) @kushaldave002
  • Stop IS NULL from consuming the next token in SQL expressions (#1569) @MaiAditya
  • Support case expressions in SQL queries (#1571) @MaiAditya
  • Check that subindex ANN backends support upserts and deletes before changing any data (#1577) @MaiAditya
  • Keep the section text on reindex when columns.store leaves out a custom text column (#1583) @Fahmid-Arman
  • Match the SQL alias keyword in any case, closes #1588 (#1589) @Krushil-Dhankecha
  • Pin llama-cpp-python to 0.3.36 on Windows builds (#1592) @MaiAditya
  • Fix docstring Args entries that name parameters the functions do not take (#1593) @VenishPaneliya
  • Fix remaining docstring Args names that do not match signatures (#1596) @akram1089
  • Keep empty similar() text from leaving a closing paren in WHERE (#1599) @akram1089
  • Recognize FILE:// and File:// URIs the same as file:// (#1600) @akram1089
  • Return no results for a search limit of 0 with dense and hybrid indexes (#1602) @MaiAditya
  • Return None for rows without an object in serialize encoders, closes #1607 (#1608) @nurlanmnn
  • Resolve builtin SQL function references (#1581) @HuaTNA
  • Document the workers default as 0, which is what the signature uses (#1612) @VenishPaneliya
  • Handle NULL scores in cluster default sorting (#1618) @HuaTNA
  • Keep SQLite operators and collation names out of SQL column resolution (#1626) @arindam77
  • Sort by order by expressions that contain spaces, closes #1627 (#1628) @chuenchen309
  • Fix OpenAI chat completions with generation parameters for embeddings and workflows (#1648) @MaiAditya

New Contributors

Full Changelog: v9.14.0...v9.15.0

Don't miss a new txtai release

NewReleases is sending notifications on new releases.