quarkiverse / quarkus-langchain4j

Quarkus Langchain4j extension
https://docs.quarkiverse.io/quarkus-langchain4j/dev/index.html
Apache License 2.0
120 stars 65 forks source link

Move the parsers out of the core module #546

Closed geoand closed 2 months ago

geoand commented 2 months ago

The reason we don't want these in the core module is because not every application needs the doc parsing functionality (which adversely affects the application size). For example, a simple AiService that uses OpenAI has at least 30MB added to binary size by just including the POI and BouncyCastle dependencies.

We might need to make this module (or some derivatives of it) more explicit in the docs and / or by using conditional dependencies.

geoand commented 2 months ago

The second commit was actually a result of older changes so it's pretty much independent of the main change here