Langroid

Latest version: v0.42.3

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

Scan your dependencies

Page 44 of 66

0.1.154

LanceDB Related:
* LanceDB filtered search examples:
https://github.com/langroid/langroid/blob/main/examples/docqa/lance-filtered-movies.py
https://github.com/langroid/langroid/blob/main/examples/docqa/lance-filtered-gh-issues.py

These showcase:
- LanceDB ingest of pandas dataframe directly
- Langroid 2-agent setup where LanceFilterAgent decides on a filter (and retries if no answers) plus possibly rephrased query, and LanceDocChatAgent does the actual answering using RAG on the LanceDB, combining Lancedb-native filtering (via SQL conditions) vector-search, plus lexical (kw/bm25 search).

Minor:
* Tweaks in LanceDocChatAgent prompt
* RecipientTool: return err msg instead of raising

0.1.153

LanceDB Full Text Search, tests

0.1.152

Fix task clone - done_if_*_response

0.1.151

Task.py fix: pass init args to clone

0.1.150

Task control improvements; LanceDB examples

0.1.149

* DocChatAgent: able to ingest Pandas dataframe, by first converting to Documents
see [tests/main/test_doc_chat_agent.py](https://github.com/langroid/langroid/blob/main/tests/main/test_doc_chat_agent.py),
* LanceDocChatAgent: ingest Pandas dataframe directly (without needing to convert to Documents)
see [tests/main/test_lance_doc_chat_agent](https://github.com/langroid/langroid/blob/main/tests/main/test_lance_doc_chat_agent.py)

* Task: new control mechanisms, which should replace the need for `llm_delegate`, `single_round`, but also enables more complex workflows, and is more clear and intuitive:
- when initializing a task, you can set 2 new params: `done_if_response` = list of Entities (Entity class), meaning if ANY of these entities
produces a non-empty response, the task is done. E.g. if you set it to [Entity.LLM],
this means the task is done as soon as there is a non-empty response from the LLM of the Task's Agent.
Similarly, `done_if_no_response` is a list of Entities, meaning if ANY of them produce an empty response, the task is done.
- An Agent's responders (`llm_response`, `user_response`, `agent_response` or tools) can now insert a string __PASS__ in their response, which tells the Task orchestrator to "pass-thru" the current pending message and not update it.

These mechanisms are illustrated in these tests, showing various scenarios of multi-agent + tools: [tests/main/test_task.py](https://github.com/langroid/langroid/blob/main/tests/main/test_task.py),

Page 44 of 66

Links

Releases

Has known vulnerabilities

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.