Ollama-instructor

Latest version: v0.2.0

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

Scan your dependencies

0.2.0

New Feature

- new class `OllamaInstructorAsyncClient` to support asynchronous operations (currently only `chat_completion` is supported)
- added tests for helper functions from `cleaner.py`
- added test for synchronous `chat_completion` and asynchronous `chat_completion`
- added description and example code for asynchronous `chat_completion` in [README.md](/README.md)
- updated [Roadmap.md](/Roadmap.md)
- updated version to 0.2.0

**Full Changelog**: https://github.com/lennartpollvogt/ollama-instructor/compare/v0.1.3...v0.2.0

0.1.3

- [README.md](https://github.com/lennartpollvogt/ollama-instructor/blob/main/README.md) was updated to mention the dependency of running Ollama server when using `ollama-instructor`
- New markdown file [Enhanced prompting within Pydantics BaseModel.md](https://github.com/lennartpollvogt/ollama-instructor/blob/main/docs/Enhanced%20prompting%20within%20Pydantics%20BaseModel.md) for enrich libraries documentation
- New markdown file [Features of ollama-instructor.md](https://github.com/lennartpollvogt/ollama-instructor/blob/main/docs/Features%20of%20ollama-instructor.md) to emphasize the libraries benefits.
- smaller refactoring on test collections for `chat_completion` and `chat_completion_with_stream`.

**Full Changelog**: https://github.com/lennartpollvogt/ollama-instructor/compare/v0.1.2...v0.1.3

0.1.2

- fix of __init__.py to provide usage of the library (was not working with the v0.1.1 release)
- Adjusted documentation OllamaInstructorClient and its methods chat_completion and chat_completion_with_stream
- Deleted method chat_completion_with_stream_old
- Adjusted documentation README.md and /docs/README.md for correct usage of library
- Adjusted validation_manger.py to correctly import json_parser.core.options


**Full Changelog**: https://github.com/lennartpollvogt/ollama-instructor/compare/v0.1.1...v0.1.2

0.1.1

With this release the version "0.1.1" gets published.

- README.md: specifying arguments the `OllamaInstructorClient` class and of its methods `chat_completion` and `chat_completion_with_stream` as well.
- __init__.py: providing the `OllamaInstructorClient` class and the methods of `cleaner.py`
- poetry: setting up poetry for python packaging and version control

**Full Changelog**: https://github.com/lennartpollvogt/ollama-instructor/commits/v0.1.1

Links

Releases

Has known vulnerabilities

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.