v0.16.0

pathwaycom/pathwayv0.16.0Nov 29, 2024by github-actions[bot]

AI Summary

Adds SlideDocumentStore for presentations and temporal utility functions, while optimizing memory usage by removing uniqueness checks.

Key Highlights

  • Added `SlidesDocumentStore` for retrieving slides from presentations.
  • Added `pw.temporal.inactivity_detection` and `pw.temporal.utc_now` functions.
  • Removed uniqueness checks in `Table.concat` to improve memory usage.

Breaking Changes

  • Unused arguments from the constructor `pw.xpacks.llm.question_answering.DeckRetriever` are no longer accepted.

New Features

  • `pw.xpacks.llm.document_store.SlidesDocumentStore`.
  • `pw.temporal.inactivity_detection`.
  • `pw.temporal.utc_now`.

Full Release Notes

# Changelog

All notable changes to this project will be documented in this file.

This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
## [Unreleased]

## [0.16.0] - 2024-11-29

### Added
- `pw.xpacks.llm.document_store.SlidesDocumentStore`, which is a subclass of `pw.xpacks.llm.document_store.DocumentStore` customized for retrieving slides from presentations.
- `pw.temporal.inactivity_detection` and `pw.temporal.utc_now` functions allowing for alerting and other time dependent usecases

### Changed
- `pw.Table.concat`, `pw.Table.with_id`, `pw.Table.with_id_from` no longer perform checks if ids are unique. It improves memory usage.
- table operations that store values (like `pw.Table.join`, `pw.Table.update_cells`) no longer store columns that are not used downstream.
- `append_only` column property is now propagated better (there are more places where we can infer it).
- **BREAKING**: Unused arguments from the constructor `pw.xpacks.llm.question_answering.DeckRetriever` are no longer accepted. 

### Fixed
- `query_as_of_now` of `pw.stdlib.indexing.DataIndex` and `pw.stdlib.indexing.HybridIndex` now work in constant memory for infinite query stream (no query-related data is kept after query is answered).