Commit Graph

38 Commits

Author SHA1 Message Date
LangChain4j 21d35e4434 changed version to 0.35.0-SNAPSHOT 2024-09-09 10:11:09 +02:00
LangChain4j b0a8e6f45b
Release 0.34.0 (#1711) 2024-09-05 16:49:39 +02:00
PrimosK 30d02f84c7
re #1506 Enabling Maven version enforcer plugin in `LangChain4j :: Integration :: Azure OpenAI` module. (#1509)
## Issue

#1506

## Change

Resolved verion conflicts and enabled Maven version enforcer plugin in
`LangChain4j :: Integration :: Azure OpenAI` module.

## Tests

`mvn clean test` passed
2024-08-26 17:17:34 +02:00
LangChain4j 1cccfdfa65 changed version to 0.34.0-SNAPSHOT 2024-07-26 15:12:26 +02:00
LangChain4j 822f09cb1c
Release 0.33.0 (#1514) 2024-07-25 10:12:20 +02:00
LangChain4j fe50c88e77 changed version to 0.33.0-SNAPSHOT 2024-07-08 14:47:07 +02:00
LangChain4j c2366a226c
Release 0.32.0 (#1409) 2024-07-04 12:04:29 +02:00
Antonio Goncalves 22d0a5fbb5
Add a Tokenizer to Azure OpenAI (#1222)
Today the Azure OpenAI module does not have its own Tokenizer. It
actually uses the OpenAI one during its test phase
(`langchain4j-open-ai` dependency in `test` scope).

This PR is for Azure OpenAI to have its own Tokenizer. Not just for test
purposes (this PR removes the dependency to `langchain4j-open-ai`) but
also Azure OpenAI can be used for RAG without the need of the
`OpenAITokenizer`.

For that I had to change all the `ModelName` classes
(`AzureOpenAiChatModelName`, `AzureOpenAiEmbeddingModelName`...) to add
the model name (eg. `gpt-35-turbo-0301`), the model type (eg.
`gpt-3.5-turbo`, notice the dot `.` in `3.5`) and version.

The `AzureOpenAiTokenizer` is a copy/paste from `OpenAiTokenizer`.

All `AzureOpenAiTokenizerTest` tests pass.

## General checklist
<!-- Please double-check the following points and mark them like this:
[X] -->
- [x] There are no breaking changes
- [x] I have added unit and integration tests for my change
- [x] I have manually run all the unit and integration tests in the
module I have added/changed, and they are all green
- [ ] I have manually run all the unit and integration tests in the
[core](https://github.com/langchain4j/langchain4j/tree/main/langchain4j-core)
and
[main](https://github.com/langchain4j/langchain4j/tree/main/langchain4j)
modules, and they are all green
<!-- Before adding documentation and example(s) (below), please wait
until the PR is reviewed and approved. -->
- [ ] I have added/updated the
[documentation](https://github.com/langchain4j/langchain4j/tree/main/docs/docs)
- [ ] I have added an example in the [examples
repo](https://github.com/langchain4j/langchain4j-examples) (only for
"big" features)
2024-06-06 14:38:22 +02:00
LangChain4j a1b733d96d bumped version to 0.32.0-SNAPSHOT 2024-05-24 16:25:13 +02:00
LangChain4j d9cb1e9b81
Release 0.31.0 (#1151) 2024-05-23 17:40:52 +02:00
LangChain4j 4f7bd65f48 fixed flaky IT 2024-04-30 17:24:17 +02:00
LangChain4j 66c338c135 changed version to 0.31.0-SNAPSHOT 2024-04-29 11:21:00 +02:00
LangChain4j 1a340893ec
Release 0.30.0 (#945) 2024-04-16 18:21:01 +02:00
LangChain4j d1d9b45adc bumped to 0.30.0-SNAPSHOT 2024-04-08 17:36:52 +02:00
LangChain4j 45b58ac993
released 0.29.1 (#857) 2024-03-28 16:42:45 +01:00
LangChain4j d1e3cc1693
Release 0.29.0 (#830) 2024-03-26 11:54:43 +01:00
LangChain4j 91db3d354a bumped to 0.29.0-SNAPSHOT 2024-03-14 13:31:28 +01:00
LangChain4j 90fe3040b9
released 0.28.0 (#735) 2024-03-11 20:08:55 +01:00
Julien Dubois 5e52722a67
Remove direct dependency to the langchain4j-open-ai (#656)
There is currently a direct dependency on the `langchain4j-open-ai`
module in order to use the `OpenAiTokenizer` class.

This code moves that dependency to the `test` scope, so that end-users
don't get the full `langchain4j-open-ai` module (and its dependencies)
in their classpath at runtime.
2024-02-22 14:46:12 +01:00
LangChain4j 197b4af9d1 bumped version to 0.28.0-SNAPSHOT 2024-02-09 15:11:52 +01:00
LangChain4j c1462c087f
release 0.27.1 (#621) 2024-02-09 15:00:42 +01:00
LangChain4j ad2fd90f32 bumped version to 0.28.0-SNAPSHOT 2024-02-09 08:12:28 +01:00
LangChain4j a22d297104
Release 0.27.0 (#615) 2024-02-09 08:00:34 +01:00
Antonio Goncalves baac759766
Beautifying Maven output (#572)
Looking at the Maven output I thought it could benefit from a little
renaming. I just changed the `<name>` in the `pom.xml`, nothing more.
The output is like this at the moment:

![Screenshot 2024-01-30 at 16 26
53](https://github.com/langchain4j/langchain4j/assets/729277/940886d1-565e-416f-a58e-91f609fc0c00)

It could look like this if this PR is merged:

![Screenshot 2024-01-30 at 16 42
38](https://github.com/langchain4j/langchain4j/assets/729277/f8787af2-b869-4e95-90bd-72bce5622737)

Just a personal taste. Let me know if you like it or not (or want to
change it). If not, just discard it, it's fine ;o)
2024-01-30 16:54:54 +01:00
LangChain4j fca8ca48f7 bump version to 0.27.0-SNAPSHOT 2024-01-30 16:18:40 +01:00
LangChain4j 3958e01738
release 0.26.1 (#570) 2024-01-30 16:11:21 +01:00
LangChain4j 469699b944 bump version to 0.27.0-SNAPSHOT 2024-01-30 08:07:45 +01:00
LangChain4j a8ad9e48d9
Automate release (#562) 2024-01-30 07:20:20 +01:00
Julien Dubois a95a31be10
Azure AI Search support as an embedding store (#530)
Fix #422

This code is inspired by @sinedied 's LangChain JS implementation from
c9c879eb10/libs/langchain-community/src/vectorstores/azure_aisearch.ts
2024-01-29 07:35:53 +01:00
LangChain4j 7e5e82b7b2 updated to 0.26.0-SNAPSHOT 2023-12-22 18:08:19 +01:00
LangChain4j 2a5308b794 released 0.25.0 2023-12-22 18:02:04 +01:00
Julien Dubois f4d87e2e5a
Add support for the 3 authentication methods to Azure OpenAI (#375)
- Using a key to Azure OpenAI
- Using a key to non-Azure OpenAI
- Using Azure Active Directory to connect to Azure OpenAI
2023-12-22 13:20:20 +01:00
LangChain4j e1dddb33a2
bumped version to 0.25.0-SNAPSHOT (#369) 2023-12-19 13:03:48 +01:00
LangChain4j 303b2ab7b5
OpenAI: Support parallel tool calling (#338)
This PR introduces a support for [parallel tool
calling](https://platform.openai.com/docs/guides/function-calling/parallel-function-calling)
in OpenAI integration.
2023-12-08 17:29:56 +01:00
Julien Dubois 09ab6a1dda
Migration of the AzureOpenAiChatModel to use the Azure OpenAI SDK (#328)
This PR fixes https://github.com/langchain4j/langchain4j/issues/325

- [x] Migrate AzureOpenAiChatModel
- [x] Migrate AzureOpenAiEmbeddingModel
- [x] Migrate AzureOpenAiLanguageModel
- [x] Migrate AzureOpenAiStreamingChatModel
- [x] Migrate AzureOpenAiStreamingLanguageModel
- [x] Add a full suite of tests
2023-12-08 10:51:26 +01:00
deep-learning-dynamo 21dfc8b317 released 0.24.0 2023-11-12 18:58:31 +01:00
deep-learning-dynamo 315eab8641 released 0.23.0 2023-09-29 14:27:51 +02:00
LangChain4j ed854871d4
Extracted model providers to separate modules (#190) 2023-09-24 20:11:09 +02:00