Langroid

Latest version: v0.2.2

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

Scan your dependencies

Page 26 of 41

0.1.113

minor: RediCache now uses ConnectionPool and context manager to avoid max connections exceeded errors.

0.1.112

Initial support for OpenAI Assitant API:
OpenAIAssistant is a sublcass of ChatAgent that leverages the Assistant API,
and can be used as a drop-in replacement for ChatAgent (in tasks, batch/async runs etc).
The main feature of a OpenAIAssistant is that instead of maintaining conversation state
(like a ChatAgent normally does), it relies on the Assistant API to do this.
This agent also leverages persistence of Assistant and Thread on OpenAI servers:
it caches the Assistant ID and Thread ID, and retrieves them and reuses them
based on config settings.

Class defn: langroid/agent/openai_assistant.py
Example uses: tests/main/test_openai_assistant.py, tests/main/test_openai_assistant_async.py

Note: File uploads, code-interpreter tools are not yet supported.
Example scripts coming soon.

0.1.111

Added latest OpenAI Model: GPT4_TURBO
(see tests/main/test_llm.py for how to set it)

0.1.110

* Upgrade from OpenAI 0.x to 1.1.1
* litellm is temporarily disabled due to openai version conflict

0.1.109

DocChatAgent/VectorStore:
Improve how we handle retrieved context-window overlap when n_neighbor_chunks > 0
(Do connected components correctly; don't split connected groups so context is retained)

0.1.108

* Simplify prompts in RelevanceExtractorAgent, ExtractSegmentsTool
* context manager quiet_mode: add optional bool arg quiet=True

Page 26 of 41

Links

Releases

Has known vulnerabilities

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.