Langroid

Latest version: v0.2.2

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

Scan your dependencies

Page 17 of 41

0.1.168

* Task: treat DO-NOT-KNOW as invalid answer
* ChatDocument.from_LLMResponse: set LLM response '""' or "''" -> ''

0.1.167

* LLMMessage now has a timestamp field that auto-populates with the creation time. This means the messages in a ChatAgent's
`message_history` will have timestamps, which can have various uses (e.g. you could store these in a DB and filter by recency etc).
* minor fix in async OpenAI call (use async retry instead of retry)

0.1.166

* [Neo4jChatAgent](https://github.com/langroid/langroid/tree/main/langroid/agent/special/neo4j) to chat with a neo4j knowledge-graph. The agent translates user queries to Cypher queries and the queries are
run against an existing, specific knowledge-graph. See [example script](https://github.com/langroid/langroid/tree/main/examples/kg-chat)
* Support for .doc file parsing (in addition to .docx)

0.1.165

Update with recent changes to azure, aiohttp dependency

0.1.164

Minor fix: Agent.base - _get_one_tool_message - handle case when request is not a str

0.1.163

User conveniences:
* Ignore bad OPENAI_API_KEY when user is specifying a non-OpenAI model
* DocChatAgentConfig - no need to specify RelevanceExtractorAgentConfig.llm: if not specified, it will inherit LLM config from
DocChatAgentConfig. But of course one could specify these to use two different LLMs.

Page 17 of 41

Links

Releases

Has known vulnerabilities

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.