Blendsql

Latest version: v0.0.17

Safety actively analyzes 634193 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

0.0.17

What's Changed
- Swapped from Guidance to [Outlines](https://github.com/outlines-dev/outlines) for constrained decoding functionality (https://github.com/parkervg/blendsql/pull/15)
- Support for Ollama models! 🎉 (16d0c68da3ddc636d47c4db7a00e85caa9401303)
- Since these aren't directly supported by Outlines, we treat them as a `RemoteModel` (8b16767f59cf41a3fb22bc1b7e07cb1937f0ecb2) and use a helper function `return_ollama_response()` to account for the different inference pattern (40df25580854d57042c3bb19658f969439ab764e)
- Improved documentation (https://github.com/parkervg/blendsql/pull/15)
- Simplified the introductory example in the README (1ead608738a58a3004b93032ea2655bf0605dae5)
- Fixed a weird pattern in `Program` where `model` was being referenced via a class attribute; made this an explicit argument (ccf0ecf6795f19c25e1460898b0e4270c997f230)

Full Changelog: https://github.com/parkervg/blendsql/compare/v0.0.15...v0.0.17

0.0.15

What's Changed
- Support for PostgreSQL! 🎉 (c027388)
- Enabled via `CREATE TEMP TABLE` abstraction and `Database` class built off sqlalchemy (85418e2)
- LlamaCppLLM class (2283526)
- Renamed `blendsql.py` to `blend.py' (670d00e)
- More test cases (9d19579)

Full Changelog: https://github.com/parkervg/blendsql/compare/v0.0.141...v0.0.15

0.0.14

Bugfix: enforcing `sqlglot==18.13.0`

0.0.13

What's Changed
This release only updates the model caching capability.

- Close 8, solving some `diskcache` model caching bugs
- Add `caching` boolean argument to `Model` class (d7deeea)
- Allows user to toggle caching behavior on/off
- Test cases for caching (9d15c57)

Full Changelog: https://github.com/parkervg/blendsql/compare/v0.0.12...v0.0.13

0.0.12

What's Changed
- Rename ``LLM`` to ``Model`` (259a32e)
- Now, import is `from blendsql.models import Model`
- Adding disckache cache for Model predictions (3c757a7)
- If the model class and the arguments passed to `predict()` are identical to something in cache, just return, don't process it again
- Better documentation, examples showing new ingredient integration (7a65153)

Full Changelog: https://github.com/parkervg/blendsql/compare/v0.0.11...v0.0.12

0.0.11

Links

Releases

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.