Langroid

Latest version: v0.2.2

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

Scan your dependencies

Page 18 of 41

0.1.162

RelevanceExtractorAgent: Handle segment-marking for text that has lost all/most punctuation, making it impossible to identify sentences.

0.1.161

LanceDocChatAgent: Handle empty query in query plan

0.1.160

DocxParsingConfig: add "python-docx" (previously only "unstructured" available)

0.1.159

* Fix windows logger issue 341
* OpenAIGPT local model detection, use "local/" not "local", and "litellm/" not "litellm" (comments in 346)

0.1.158

DocChatAgentConfig.filter_fields param: specify which fields are "filterable"

0.1.157

[DocChatAgentConfig](https://github.com/langroid/langroid/blob/main/langroid/agent/special/doc_chat_agent.py): new param
`add_fields_to_content`.

This lets you add additional fields into the "main" content field of a document. E.g. if a movie-related Document has fields `year`,
`genre`, `rating`, these can be added to the main `content` field,
as key=value pairs, e.g. year=1989, genre=Crime. (The original fields are left intact, so can still be used for filtering).
Adding fields to the content can help with retrieval since these would be taken into account when creating embeddings,
as well as during keyword/lexical search.
See test `test_doc_chat_add_content_fields` here: https://github.com/langroid/langroid/blob/main/tests/main/test_doc_chat_agent.py

Page 18 of 41

Links

Releases

Has known vulnerabilities

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.