Skip to content

v0.4.2

Compare
Choose a tag to compare
@davidmigloz davidmigloz released this 15 Feb 21:51
· 271 commits to main since this release
bdc6a76

2024-02-15

What's new?

This release contains some minor improvements:

  • Ollama keep_alive: users now can control the duration for which models remain active in memory when using Ollama (which, by the way, just added Windows support).
  • Streaming support for googleai_dart: the client has been upgraded to support streaming functionality. However, with the release of Google's official google_generative_ai client, we are evaluating the potential deprecation of googleai_dart in favour of the official client if they are on feature parity.
  • Custom instance configuration for OpenAI.

In addition to these updates, we've also started the work to split langchain package into 3 packages. This refactoring aims to enhance modularity and facilitate community contributions.

  • langchain_core: will contain the core abstractions (ie. language models, document loaders, embedding models, vectorstores, retrievers, etc.), as well as LangChain Expression Language as a way to compose these components together. The community can depend on this package to build frameworks on top of LangChain.dart or to interoperate with it.
  • langchain_community: will contain third-party integrations that don't have a dedicated package.
  • langchain: will depend and expose langchain_core and contain higher-level and use-case specific chains, agents, and retrieval algorithms that are at the core of the application's cognitive architecture.

Changes


Packages with breaking changes:

  • There are no breaking changes in this release.

Packages with other changes:


googleai_dart - v0.0.3

  • FEAT: Add streaming support to googleai_dart client (#299). (2cbd538a)
  • FEAT: Update meta and test dependencies (#331). (912370ee)
  • DOCS: Update pubspecs. (d23ed89a)

openai_dart - v0.1.7

langchain_openai - v0.4.1

ollama_dart - v0.0.3

  • FEAT: Add Ollama keep_alive param to control how long models stay loaded (#319). (3b86e227)
  • FEAT: Update meta and test dependencies (#331). (912370ee)
  • DOCS: Update pubspecs. (d23ed89a)

langchain_ollama - v0.0.4

  • FEAT: Add Ollama keep_alive param to control how long models stay loaded (#319). (3b86e227)
  • FEAT: Update meta and test dependencies (#331). (912370ee)
  • DOCS: Update pubspecs. (d23ed89a)

chromadb - v0.1.2

  • FEAT: Update meta and test dependencies (#331). (912370ee)

langchain - v0.4.2

  • FEAT: Update meta and test dependencies (#331). (912370ee)

langchain_chroma - v0.1.1

langchain_google - v0.2.4

langchain_mistralai - v0.0.3

langchain_pinecone - v0.0.7

langchain_supabase - v0.0.1+1

mistralai_dart - v0.0.3

vertex_ai - v0.0.10

Contributors


📣 Check out the #announcements channel in the LangChain.dart Discord server for more details.