Langroid

Latest version: v0.2.5

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

Scan your dependencies

Page 16 of 42

0.1.177

* `TableChatAgent` enhancement (improve agent tool handling, DONE condition)
* `Task`:
- when `interactive = True`, only user should be allowed to quit top level;
- when `default_human_response = ""`, set `interative = False`
- `done()`: first check if we are at top level task and non-interactive

0.1.176

* `DocChatAgent`: Allow `ingest_docs()` to be incremental; added `clear()` method to "forget all docs, clear vecdb collection"
* `DocChatAgent`: `ingest_doc_paths()`, `ingest_docs()` take an optional `metadata` param which can be either:
- a list of metadata-dicts of same size as the paths or docs
- a single metadata-dict that is applied all the docs or paths

0.1.175

Minor fix in task.py - valid() should check whether entire msg equals NO_ANSWER

0.1.174

When specifying local model starting with "local/model", allow `model` to include `http`, so one can now specify this in a few ways
- `local/localhost:5000/v1`
- `local/http://127.0.0.1/v1`
- `local/127.0.0.1/v1`
etc

0.1.173

run_batch_tasks: make these and related calls sequential by default, so it works with APIs that don't support concurrent calls.
Note the calls are still async, so we still get the efficiencies due to non-blocking API calls.

0.1.172

HFPromptFormatter use Role.USER.value instead of Role.USER etc

Page 16 of 42

Links

Releases

Has known vulnerabilities

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.