Skip to content

Releases: langroid/langroid

0.1.244

15 May 17:40
Compare
Choose a tag to compare
  • Tweaks to LanceDocChatAgent and related Agents (QueryPlanner, Critic, etc) to accomodate deviations
  • In multi-agent chats, so total cost across all agents, in addition to cumul cost of current agent

0.1.243

14 May 19:55
Compare
Choose a tag to compare

Update toml to latest DuckDuckGo (6.0.0) so we no longer get the rate limit error

0.1.242

13 May 18:04
Compare
Choose a tag to compare

Support OpenAI GPT-4o -- this is now the default LLM when no model is specified.

To explicitly specify the LLM, you can do, for example:

import langroid.language_models as lm
llm = lm.OpenAIGPT( lm.OpenAIGPTConfig(chat_model = lm.OpenAIChatModel.GPT4o))

And recall you can run most of the example scripts with a model specified via -m gpt-4o,
and pytests using --m gpt-4o

0.1.241

05 May 23:06
Compare
Choose a tag to compare

Gemini support via litellm. See docs https://langroid.github.io/langroid/tutorials/non-openai-llms/

Essentially, you need to:

  • install langroid with the litellm extra, e.g. pip install "langroid[litellm]"
  • set up your GEMINI_API_KEY in the .env file or shell env
  • specify chat_model="litellm/gemini/gemini-1.5-pro-latest"

0.1.240

04 May 22:32
Compare
Choose a tag to compare

QdrantDB, QdrantDBConfig: support for sparse embeddings

0.1.239

03 May 11:48
Compare
Choose a tag to compare

Change python range to >= 3.10 < 3.12 to avoid colab errors (used to be >= 3.11)

0.1.238

02 May 21:53
Compare
Choose a tag to compare

Minor type sig change

0.1.237

01 May 21:11
Compare
Choose a tag to compare

Upgrade to latest DuckDuckGoSearch

0.1.236

29 Apr 21:25
Compare
Choose a tag to compare

Groq support. For any model hosted on groq, you can use it similar to how you'd use ollama, e.g.
chat_model = "groq/llama3-8b-8192".
See the groq section here: https://langroid.github.io/langroid/tutorials/local-llm-setup/

0.1.235

28 Apr 20:00
Compare
Choose a tag to compare

New param in Task.run(), Task.run_asyn(): session_id which is used as a key to look up various settings in Redis cache.
Currently only used to look up "kill status" - this allows killing a running task, either by task.kill()
or by the classmethod Task.kill_session(session_id)

For example usage, see the test_task_kill in tests/main/test_task.py