Langroid

Latest version: v0.2.2

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

Scan your dependencies

Page 19 of 41

0.1.156

* New Task control signals: PASS_TO, SEND_TO (in addition to the existing PASS, DONE)
- PASS_TO:<recipient> => send current pending message to <recipient>
- SEND_TO:<recipient> <content> => send <content> to <recipient>
(Tests coming soon)
* Agent: tool_messages are now inserted into ChatDocument as soon as they are identified
* [VectorStore](https://github.com/langroid/langroid/blob/main/langroid/vector_store/base.py): `compute_from_docs` method to compute a
pandas-expression on documents
* [LanceRagTaskCreator](https://github.com/langroid/langroid/blob/main/langroid/agent/special/lance_rag/lance_rag_task.py): creates a
3-agent RAG system consisting of: QueryPlanner, QueryPlanCritic, LanceRAGAgent.
This illustrates a fairly complex 3-agent workflow and is a good reference.

0.1.155

* DocChatAgentConfig: remove max_context_tokens param
* misc: remove "nofunc" GPT models

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

Page 19 of 41

Links

Releases

Has known vulnerabilities

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.