Skip to content

Releases: langchain4j/langchain4j

0.13.0

15 Jul 15:55
Compare
Choose a tag to compare
  • Added EmbeddingStoreIngestor
  • Redesigned document loaders (see FileSystemDocumentLoader)
  • Simplified ConversationalRetrievalChain
  • Renamed DocumentSegment into TextSegment
  • Added output parsers for numeric types
  • Added @UserName for AI Services
  • Fixed 24

0.12.0

14 Jul 17:19
Compare
Choose a tag to compare

Hotfix for #23

0.11.0

11 Jul 18:52
Compare
Choose a tag to compare

Added "Dynamic Tools": Now, the LLM can generate code for tasks that require precise calculations, such as math and string manipulation. This will be dynamically executed in a style akin to GPT-4's code interpreter! We use Judge0, hosted by Rapid API, for code execution. You can subscribe and receive 50 free executions per day.

0.10.0

05 Jul 17:20
Compare
Choose a tag to compare
  • Now you can add your custom knowledge base to "AI Services". Relevant information will be automatically retrieved and incorporated into the prompt. This way, the LLM will have a context of the data and will answer based on it!
  • The current date and time can now be automatically injected into the prompt using special {{current_date}}, {{current_time}} and {{current_date_time}} placeholders.

0.9.0

03 Jul 13:20
Compare
Choose a tag to compare

Added support for Spring Boot 3

0.8.0

02 Jul 21:17
Compare
Choose a tag to compare

0.7.0

02 Jul 21:15
Compare
Choose a tag to compare

0.6.0

29 Jun 20:19
Compare
Choose a tag to compare
  • You can now define ChatMemory in AiServices and it will keep history of your interactions
  • Added OpenAI moderation model, so you can moderate texts, documents and messages
  • Added auto moderation for AiServices. Just put @moderate on top of your method and it will automatically verify that user input does not violates content policy

0.5.0

26 Jun 18:28
Compare
Choose a tag to compare

HuggingFace embedding models are now supported via HF Inference API

0.4.0

20 Jun 16:25
aa03115
Compare
Choose a tag to compare
  • renamed from ai4j to langchain4j
  • big design changes
  • added "AI Services" (declarative AI facades)
  • added more document loaders and splitters
  • added in-memory embedding store