Commit Graph

288 Commits

Author SHA1 Message Date
deep-learning-dynamo d4fca658c1 released 0.18.0 2023-07-26 21:19:24 +02:00
LangChain4j b9930e8345
Added LocalAI support to Spring Boot starter (#51)
Also added missing OpenAI configuration properties (topP, maxTokens, presencePenalty, frequencyPenalty, maxRetries)
2023-07-26 20:50:50 +02:00
LangChain4j 5666328f90
renamed DocumentSplitter split() to splitAll() (#50) 2023-07-25 19:22:29 +02:00
kuraleta 6e240e48a8
Local AI Integration (#49) 2023-07-25 19:15:39 +02:00
LangChain4j 8d6f9f66bf
Removed duplicated logic between model classes (#47) 2023-07-24 19:59:06 +02:00
LangChain4j 540741c8e5
Temporarily disabled in-process embedding model tests (#48)
We are out of free Git LFS quota
2023-07-24 19:52:30 +02:00
LangChain4j 80f71feeb6
Added support for streaming to AI Services (#45)
Now one can use TokenStream as a return type in his AI Service in order
to stream response from LLM
2023-07-23 19:14:58 +02:00
LangChain4j 529ef6b647
Added in-process embedding models (#41)
- 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).
2023-07-23 19:05:13 +02:00
LangChain4j 3cc75c771e
Added support for streaming ToolExecutionRequest from LLM (#44)
Now, the StreamingChatLanguageModel can be used in conjunction with
tools.
One can send tool specifications along with a message to the LLM, and
the LLM can either stream a response or initiate a request to execute a
tool (also as a stream of tokens).
2023-07-23 18:15:36 +02:00
LangChain4j 81e1a9c3e8
Updated to 0.17.0 2023-07-21 22:51:09 +02:00
deep-learning-dynamo 1976560aeb released 0.16.0 2023-07-18 10:49:43 +02:00
LangChain4j 99c4621a19
Added more request parameters to OpenAi models (#36)
- top_p
- max_tokens
- presence_penalty
- frequency_penalty
2023-07-18 10:15:50 +02:00
deep-learning-dynamo e439f96466 released 0.15.0 2023-07-18 00:13:08 +02:00
LangChain4j ca96e99f57
improved retry mechanism (#32)
- do not retry in case of 401
- wait for 1 second before retrying in case of 429
2023-07-17 22:09:23 +02:00
LangChain4j b2028262b7
Added support for OpenAI demo proxy (chat, embedding and moderation models) (#33)
Now, developers don't need their own OpenAI API key to try out
LangChain4j.
2023-07-17 20:44:55 +02:00
deep-learning-dynamo 14185653c7 released 0.14.0 2023-07-16 12:15:31 +02:00
LangChain4j 7d36b0cd6a
Removed Result from model classes (#30) 2023-07-16 11:45:14 +02:00
LangChain4j 77a767ae4a
Fixed a bug that prevented using @UserMessage in AI Services (#31) 2023-07-16 11:43:35 +02:00
deep-learning-dynamo 120c6a01d8 released 0.13.0 2023-07-15 17:53:10 +02:00
kuraleta 8609ce9605
Added ConversationalChainTest (#26) 2023-07-15 17:33:00 +02:00
LangChain4j ce598df767
Added output parsers for numeric types (#27)
Added output parsers for numeric types: byte, short, int, long,
BigInteger, float, double and BigDecimal
2023-07-15 17:31:15 +02:00
LangChain4j 907c1eb042
Fix for https://github.com/langchain4j/langchain4j/issues/24 (#28)
Added logic that attempts to convert Double to the type of tool (method)
parameter
2023-07-15 17:28:56 +02:00
LangChain4j 755c9d08b6
big boi (#25)
Sorry for a huge PR...
- added retries to OpenAiChatModel
- added @UserName: an option to define a name of a user as a parameter
in AI Services API
- added an option to split multiple documents at once (see
DocumentSplitter)
- redesigned document loaders (see FileSystemDocumentLoader)
- renamed DocumentSegment into TextSegment
- redesigned ConversationalRetrievalChain
- added EmbeddingStoreIngestor
- misc refactorings/fixes

---------

Co-authored-by: deep-learning-dynamo <deep-learning-dynamo@gmail.com>
2023-07-15 11:19:08 +02:00
LangChain4j cbc4462223
Updated links to feature requests 2023-07-15 11:06:57 +02:00
LangChain4j 482dda9df6
Added feature request template 2023-07-15 11:03:06 +02:00
LangChain4j 8b64ad0049
Added bug report template 2023-07-15 11:00:58 +02:00
deep-learning-dynamo 52b7c3b441 released a hotfix for https://github.com/langchain4j/langchain4j/issues/23 2023-07-14 19:18:47 +02:00
deep-learning-dynamo 88710c5504 hotfix for https://github.com/langchain4j/langchain4j/issues/23 2023-07-14 19:02:12 +02:00
Julien Perrochet c451a220d9
[build] Introduce a parent pom (#15)
Have a parent pom that contains most/all common things for the
sub-projects.

Note that it is separate from the root aggregator pom: not mixing the
aggregator and the parents makes things slightly easier.

If this change makes it harder to do releases, there might be a
possibility to generate the effective poms for each subproject, but on
the other hand releasing everything should not be too problematic.
2023-07-13 22:59:25 +02:00
Takanori Ugai 7ba172334b
Remove a duplicated message. (#20)
Remove a unnecessary duplicated message.
2023-07-12 11:32:37 +02:00
Julien Perrochet 9cbbf705b9
[build] run workflows on open PR instead of just push (#21)
So that external PRs get the tests run as well
2023-07-12 11:30:55 +02:00
deep-learning-dynamo 17654e31d0 released 0.11.0 2023-07-11 20:50:57 +02:00
LangChain4j 8d7992a0b2
updated documentation (#17)
Co-authored-by: deep-learning-dynamo <deep-learning-dynamo@gmail.com>
2023-07-11 20:27:37 +02:00
LangChain4j e7a9ff1d2a
first version of code execution engine and dynamic tools (#18)
Co-authored-by: deep-learning-dynamo <deep-learning-dynamo@gmail.com>
2023-07-11 20:25:28 +02:00
Julien Perrochet 0534ec91e4
[CI] automated license check as part of CI (Apache 2.0/MIT/Eclipse) (#14)
The title says it all. Relying on [this maven
plugin](https://github.com/chonton/license-maven-plugin) for it.

Note that this adds a separate build step because we need a more recent
JDK to run the needed plugin.
2023-07-07 09:27:44 +02:00
langchain4j 0123ba3a4b
Updated documentation 2023-07-07 09:19:39 +02:00
Julien Perrochet 0cc9bb81ae
[misc] Clean up maven wrapper scripts: have one at the root, delete the others. (#12)
Also cleanup some gitignore entries
2023-07-06 08:33:45 +02:00
Julien Perrochet d427b7ba06
add maven test github action (#11)
This PR:

    adds a github action for running unit tests
    tests that require an OpenAI/HuggingFace token and hit their API are now considered integration tests (and have been renamed to end in IT)
    integration tests are now run through a separate goal (mvn integration-test) via the maven-failsafe-plugin
    to fix the PromptTemplate tests a Clock has been added to that class. Its constructor is now private: whether this is the convention we want to follow can be discussed
2023-07-05 21:55:49 +02:00
LizeRaes fb47dbd1b3
Merge pull request #10 from langchain4j/paragraph-tests
Paragraph tests
2023-07-05 20:05:20 +02:00
LizeRaes b21616ce01
Merge pull request #9 from LizeRaes/paragraph-tests
line endings hardcoded
2023-07-05 20:02:25 +02:00
Lize Raes ad38c598c0 line endings hardcoded 2023-07-05 20:00:22 +02:00
Lize Raes da0e2f9fca line endings hardcoded 2023-07-05 19:54:31 +02:00
langchain4j 7c5a998013
Update README.md 2023-07-05 19:22:40 +02:00
deep-learning-dynamo 730c243412 released 0.10.0 2023-07-05 19:16:04 +02:00
deep-learning-dynamo d645a8d5c7 released 0.10.0 2023-07-05 18:55:20 +02:00
deep-learning-dynamo c9c0e374a9 minor error improvement 2023-07-05 18:55:20 +02:00
deep-learning-dynamo 10f3dea672 added retriever to AiServices 2023-07-05 18:55:20 +02:00
deep-learning-dynamo 80f1ba725e introduced "retriever" abstraction and it's first implementation (embedding store retriever) 2023-07-05 18:55:20 +02:00
deep-learning-dynamo 508c3baa0d fixed copy-paste bug 2023-07-05 18:55:20 +02:00
deep-learning-dynamo d48ce52f85 improved auto-configuration errors 2023-07-05 18:55:20 +02:00