Skip to content

Releases: langroid/langroid

0.1.227

23 Apr 14:04
Compare
Choose a tag to compare

Minor updates:

  • update to openai 1.23.2, which affects OpenAI Assistant API slightly
  • allow DocChatAgentConfig to have vecdb = None, in case users want to set it later

0.1.226

16 Apr 08:43
Compare
Choose a tag to compare

DocumentParser: Improve plain text detection by taking into account continuation bytes.
This handles scenarios where multiple bytes can represent a character, e.g. non-Latin scripts such as Chinese, Arabic, etc.

0.1.225

12 Apr 09:57
Compare
Choose a tag to compare

TableChatAgent.run_code: use pd.eval instead of eval.
The former only accepts restricted data-frame related expressions, and is safer than eval.

0.1.224

05 Apr 07:31
Compare
Choose a tag to compare

DocChatAgent.ingest_docs: add window ids when not splitting.
This allows ingesting docs that have been already split via another library.

0.1.222

27 Mar 19:29
Compare
Choose a tag to compare

OpenAIGPT retry params changed: max retries 10 -> 5, exponential 2 -> 1.3

0.1.221

27 Mar 16:52
Compare
Choose a tag to compare

UnstructuredDocParser: fix partition_doc arg to allow bytes

0.1.219

26 Mar 20:59
Compare
Choose a tag to compare

DocChatAgent: allow ingest_doc_paths to take bytes not just doc paths

0.1.218

21 Mar 16:14
Compare
Choose a tag to compare

JSON parsing (relevant for parsing tools/function calls): improved repair of un-quoted keys or values via yaml.

Intended to handle cases where a weak LLM may produce a JSON-like string
containing, e.g. "rent": DO-NOT-KNOW, where it "forgot" to put quotes on the value,
or city: "New York" where it "forgot" to put quotes on the key.
It will even handle cases like 'address: do not know'.

0.1.217

20 Mar 20:03
Compare
Choose a tag to compare

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

20 Mar 18:50
Compare
Choose a tag to compare
  • Concurrency: Improvements to allow concurrent runs of DocChatAgent, see the
    test_doc_chat_agent.py in particular the test_doc_chat_batch();
  • Batch running of tasks: New task run utility: run_batch_task_gen
    where a task generator can be specified, to generate one task per input.