Langroid

Latest version: v0.2.2

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

Scan your dependencies

Page 9 of 41

0.1.217

Further improvements in batch/concurrent running of DocChatAgent.
See `test_doc_chat_batch` here https://github.com/langroid/langroid/blob/main/tests/main/test_doc_chat_agent.py

Now to run multiple instances of `DocChatAgent` concurrently, you can use either `run_batch_tasks` where you pass in a single agent,
or `run_batch_task_gen` where you pass in a task-generator.

0.1.216

* Concurrency: Improvements to allow concurrent runs of `DocChatAgent`, see the
[`test_doc_chat_agent.py`](https://github.com/langroid/langroid/blob/main/tests/main/test_doc_chat_agent.py) in particular the `test_doc_chat_batch()`;
* Batch running of tasks: New task run utility: [`run_batch_task_gen`](https://github.com/langroid/langroid/blob/main/langroid/agent/batch.py)
where a task generator can be specified, to generate one task per input.

0.1.215

LanceDB nearest neighbor search - use `prefilter=True` when using a filter

0.1.214

- Adds a remote embeddings server for sentence transformer embeds, using grpc for remote procedure calls, allowing running langroid and generating local embeddings on different machines; currently, this functionality is not handled by tools such as ollama and litellm.

- If possible, uses data parallelism for local embeds; adds configurable batch sizes for all embeddings.

- Additionally, improves imports for parsing and vector stores.

0.1.213

run_batch_tasks` now takes a `turns` param to limit number of turns in each task (default = -1 meaning infinite)

0.1.212

ImagePdfParser`: extract text from image-based pdfs. This means `DocChatAgent` now works with image-based pdfs.

Page 9 of 41

Links

Releases

Has known vulnerabilities

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.