Langchain4j Versions Save

Java version of LangChain

0.23.0

8 months ago
  • 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

9 months ago

0.21.0

9 months ago

0.20.0

9 months ago

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

9 months ago

0.18.0

10 months ago

0.17.0

10 months ago

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

10 months ago

Added more request parameters for OpenAi models:

  • top_p
  • max_tokens
  • presence_penalty
  • frequency_penalty

0.15.0

10 months ago

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

10 months ago
  • 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.