Skip to content

Releases: langchain4j/langchain4j

0.23.0

29 Sep 12:32
Compare
Choose a tag to compare
  • Updates to models API: return Response<T> instead of T. Response<T> contains token usage and finish reason.
  • All model and embedding store integrations now live in their own modules
  • Integration with Vespa by @Heezer
  • Integration with Elasticsearch by @Martin7-1
  • Integration with Redis by @Martin7-1
  • Integration with Milvus by @IuriiKoval
  • Integration with Astra DB and Cassandra by @clun
  • Added support for overlap in document splitters
  • Some bugfixes and smaller improvements

0.22.0

29 Aug 17:14
1e8c5a2
Compare
Choose a tag to compare

0.21.0

19 Aug 13:52
Compare
Choose a tag to compare

0.20.0

14 Aug 11:12
Compare
Choose a tag to compare

Added an option to setup a proxy for OpenAI models (#93)

Added more pre-packaged in-process embedding models (#91):

InMemoryEmbeddingStore: return matches from highest to lowest (#90)

0.19.0

10 Aug 15:30
Compare
Choose a tag to compare

0.18.0

26 Jul 19:21
Compare
Choose a tag to compare

0.17.0

21 Jul 20:45
Compare
Choose a tag to compare

Added in-process embedding models:

  • all-minilm-l6-v2
  • all-minilm-l6-v2-q
  • e5-small-v2
  • e5-small-v2-q

The idea is to give users an option to embed documents/texts in the same Java process without any external dependencies.
ONNX Runtime is used to run models inside JVM.
Each model resides in it's own maven module (inside the jar).

0.16.0

18 Jul 08:50
Compare
Choose a tag to compare

Added more request parameters for OpenAi models:

  • top_p
  • max_tokens
  • presence_penalty
  • frequency_penalty

0.15.0

17 Jul 22:17
Compare
Choose a tag to compare

You can now try out OpenAI's gpt-3.5-turbo and text-embedding-ada-002 models with LangChain4j for free, without needing an OpenAI account and keys!
Simply use the API key "demo".

0.14.0

16 Jul 10:18
Compare
Choose a tag to compare
  • Simplified API for all models by removing Result class. Now models return results (AiMessage/Embedding/Moderation/etc) directly, without wrapping it into Result object.
  • Fixed a bug that prevented using @UserMessage in AI Services.