Langroid

Latest version: v0.2.5

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

Scan your dependencies

Page 3 of 42

0.1.259

* Chainlit callback -- add option to not show sub-task response
* Task adjustments for non-interactive mode:
- do not create dummy user response when non-interactive
- if non-interactive and user not explicitly addressed in pending msg, then `can_respond(e)` returns False when `e = user`

0.1.258

Adds an "all" extra to get all the common dependencies.

0.1.257

* Improve how`ToolMessage.examples()` is used -- until now, only a random example from these examples was picked to insert a 1-shot example for the LLM. With this change, _all_ examples will be used.
* Improve pytest workflow -- first run all tests with gpt-4o, then re-run only failed ones with gpt-4

0.1.256

Add pyyaml dependency

0.1.254

* All doc-parsers are now extra dependencies, and won't be installed with core langroid. As a convenience, extras can be installed in groups,
e.g.
- `doc-chat` will get all document parsers, and
- `db` will get all database-related dependencies

For example, you can get both these groups using


pip install "langroid[doc-chat,db]"

0.1.253

* Slim down langroid -- Make several dependencies optional, to be installed via "extras". See `pyproject.toml`. This should help reduce build size for production use, as well as improve script startup times. In DocChatAgent, if LanceDB is available, we use it, else we use QdrantDB (which is installed with core langroid).
* ToolMessage.examples(): each example can now either be a tool instance, or a tuple (description, tool_instance),
where the description is a natural language "thought" that leads to the tool usage. In some scenarios this
can enhance reliability of tool-generation.

Page 3 of 42

Links

Releases

Has known vulnerabilities

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.