Langroid

Latest version: v0.2.2

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

Scan your dependencies

Page 6 of 41

0.1.237

Upgrade to latest DuckDuckGoSearch

0.1.236

Groq support. For any model <m> hosted on `groq`, you can use it similar to how you'd use `ollama`, e.g.
`chat_model = "groq/llama3-8b-8192"`.
See the groq section here: https://langroid.github.io/langroid/tutorials/local-llm-setup/

0.1.235

New param in `Task.run(), Task.run_asyn()`: `session_id` which is used as a key to look up various settings in Redis cache.
Currently only used to look up "kill status" - this allows killing a running task, either by `task.kill()`
or by the classmethod `Task.kill_session(session_id)`

For example usage, see the `test_task_kill` in [`tests/main/test_task.py`](https://github.com/langroid/langroid/blob/main/tests/main/test_task.py)

0.1.234

TableChatAgent - For safety, enforce single pandas expression, not multiple lines of arbitrary code

0.1.233

* `Task.run()`, `run_batch_tasks()`, `run_batch_task_gen()` take an additional param (similar to `max_cost`): `max_tokens`. This is useful to control
runaway loops when using local LLMs
* `DocChatAgentConfig` has a new config param: `rerank_after_adding_context` to control whether we rerank before or after adding neighbor chunks.

0.1.232

(Ignore this release)

Page 6 of 41

Links

Releases

Has known vulnerabilities

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.