Langroid

Latest version: v0.50.1

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

Scan your dependencies

Page 40 of 71

0.1.212

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

0.1.211

LanceDB: when creating schema, sort fields to prevent variable ordering and consequent mismatch between stored table and new docs during ingest.

0.1.210

LanceDB: allow adding docs with new metadata fields that were not in original config.document_class

0.1.209

Fix regex in Relevance Extractor, used in the [`extract_numbered_segments` function](https://github.com/langroid/langroid/blob/main/langroid/parsing/utils.py).
This was causing the segments to only include portions before a newline,
which meant that for certain documents, the extraction was losing big portions of the text between
sentence/segment markers. This fix should vastly improve relevance extractor and get rid of issues
seen when using this in Doc Chat.

0.1.208

* DocChat Fixes to ensure we avoid extending content when there are other fields in Document
- e.g. when we are working with a subclass of Document where there are fields other than just `content` and `metadata`,
we want to avoid various parts of the DocChatAgent pipeline, such as adding context windows, adding fuzzy match context, etc,
since we cannot know how to set the other fields when content changes (and just arbitrarily retaining the field values of one
of the chunks can be wrong)
* Lancedb: don't complain when doc with id not found
- this should not occur normally

0.1.207

Small improvements in OpenAI API Key handling:
* do not allow empty OpenAIGPTConfig.api_key, as that leads to an Connection error (and hence triggers retries) rather than Auth error, which immediately exits without retries
* when using an OpenAI model, explicitly get the OPENAI_API_KEY from env, rather than fully relying on Pydantic BaseSettings to do it

Page 40 of 71

Links

Releases

Has known vulnerabilities

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.