Skip to content

Commit

Permalink
Merge pull request #1235 from quarkiverse/#1091
Browse files Browse the repository at this point in the history
Make Jlama work properly in dev mode without any use configuration
  • Loading branch information
geoand authored Jan 23, 2025
2 parents 4876fcc + ed739cd commit c7c7561
Show file tree
Hide file tree
Showing 124 changed files with 6,452 additions and 514 deletions.
1 change: 0 additions & 1 deletion codestarts/chatbot/deployment/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,6 @@
<path>
<groupId>io.quarkus</groupId>
<artifactId>quarkus-extension-processor</artifactId>
<version>${quarkus.version}</version>
</path>
</annotationProcessorPaths>
</configuration>
Expand Down
1 change: 0 additions & 1 deletion codestarts/chatbot/runtime/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,6 @@
<path>
<groupId>io.quarkus</groupId>
<artifactId>quarkus-extension-processor</artifactId>
<version>${quarkus.version}</version>
</path>
</annotationProcessorPaths>
</configuration>
Expand Down
7 changes: 3 additions & 4 deletions core/deployment/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -31,14 +31,14 @@
<artifactId>quarkus-langchain4j-core</artifactId>
<version>${project.version}</version>
</dependency>

<dependency>
<groupId>io.quarkus</groupId>
<artifactId>quarkus-devservices-common</artifactId>
<scope>compile</scope>
<version>${quarkus.version}</version>
</dependency>

<dependency>
<groupId>io.quarkiverse.langchain4j</groupId>
<artifactId>quarkus-langchain4j-websockets-next-deployment</artifactId>
Expand Down Expand Up @@ -122,7 +122,6 @@
<path>
<groupId>io.quarkus</groupId>
<artifactId>quarkus-extension-processor</artifactId>
<version>${quarkus.version}</version>
</path>
</annotationProcessorPaths>
</configuration>
Expand All @@ -139,5 +138,5 @@
</plugin>
</plugins>
</build>

</project>
1 change: 0 additions & 1 deletion core/runtime/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,6 @@
<path>
<groupId>io.quarkus</groupId>
<artifactId>quarkus-extension-processor</artifactId>
<version>${quarkus.version}</version>
</path>
</annotationProcessorPaths>
</configuration>
Expand Down
139 changes: 134 additions & 5 deletions docs/modules/ROOT/pages/includes/quarkus-langchain4j-anthropic.adoc

Large diffs are not rendered by default.

Large diffs are not rendered by default.

455 changes: 450 additions & 5 deletions docs/modules/ROOT/pages/includes/quarkus-langchain4j-azure-openai.adoc

Large diffs are not rendered by default.

Large diffs are not rendered by default.

49 changes: 45 additions & 4 deletions docs/modules/ROOT/pages/includes/quarkus-langchain4j-chroma.adoc
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
:summaryTableId: quarkus-langchain4j-chroma_quarkus-langchain4j
[.configuration-legend]
icon:lock[title=Fixed at build time] Configuration property fixed at build time - All other configuration properties are overridable at runtime
[.configuration-reference.searchable, cols="80,.^10,.^10"]
Expand All @@ -9,6 +8,10 @@ h|Type
h|Default

a|icon:lock[title=Fixed at build time] [[quarkus-langchain4j-chroma_quarkus-langchain4j-chroma-devservices-enabled]] [.property-path]##link:#quarkus-langchain4j-chroma_quarkus-langchain4j-chroma-devservices-enabled[`quarkus.langchain4j.chroma.devservices.enabled`]##
ifdef::add-copy-button-to-config-props[]
config_property_copy_button:+++quarkus.langchain4j.chroma.devservices.enabled+++[]
endif::add-copy-button-to-config-props[]


[.description]
--
Expand All @@ -28,6 +31,10 @@ endif::add-copy-button-to-env-var[]
|`true`

a|icon:lock[title=Fixed at build time] [[quarkus-langchain4j-chroma_quarkus-langchain4j-chroma-devservices-image-name]] [.property-path]##link:#quarkus-langchain4j-chroma_quarkus-langchain4j-chroma-devservices-image-name[`quarkus.langchain4j.chroma.devservices.image-name`]##
ifdef::add-copy-button-to-config-props[]
config_property_copy_button:+++quarkus.langchain4j.chroma.devservices.image-name+++[]
endif::add-copy-button-to-config-props[]


[.description]
--
Expand All @@ -45,6 +52,10 @@ endif::add-copy-button-to-env-var[]
|`ghcr.io/chroma-core/chroma:0.4.15`

a|icon:lock[title=Fixed at build time] [[quarkus-langchain4j-chroma_quarkus-langchain4j-chroma-devservices-port]] [.property-path]##link:#quarkus-langchain4j-chroma_quarkus-langchain4j-chroma-devservices-port[`quarkus.langchain4j.chroma.devservices.port`]##
ifdef::add-copy-button-to-config-props[]
config_property_copy_button:+++quarkus.langchain4j.chroma.devservices.port+++[]
endif::add-copy-button-to-config-props[]


[.description]
--
Expand All @@ -64,6 +75,10 @@ endif::add-copy-button-to-env-var[]
|

a|icon:lock[title=Fixed at build time] [[quarkus-langchain4j-chroma_quarkus-langchain4j-chroma-devservices-shared]] [.property-path]##link:#quarkus-langchain4j-chroma_quarkus-langchain4j-chroma-devservices-shared[`quarkus.langchain4j.chroma.devservices.shared`]##
ifdef::add-copy-button-to-config-props[]
config_property_copy_button:+++quarkus.langchain4j.chroma.devservices.shared+++[]
endif::add-copy-button-to-config-props[]


[.description]
--
Expand All @@ -85,6 +100,10 @@ endif::add-copy-button-to-env-var[]
|`true`

a|icon:lock[title=Fixed at build time] [[quarkus-langchain4j-chroma_quarkus-langchain4j-chroma-devservices-service-name]] [.property-path]##link:#quarkus-langchain4j-chroma_quarkus-langchain4j-chroma-devservices-service-name[`quarkus.langchain4j.chroma.devservices.service-name`]##
ifdef::add-copy-button-to-config-props[]
config_property_copy_button:+++quarkus.langchain4j.chroma.devservices.service-name+++[]
endif::add-copy-button-to-config-props[]


[.description]
--
Expand All @@ -104,6 +123,10 @@ endif::add-copy-button-to-env-var[]
|`chroma`

a|icon:lock[title=Fixed at build time] [[quarkus-langchain4j-chroma_quarkus-langchain4j-chroma-devservices-container-env-container-env]] [.property-path]##link:#quarkus-langchain4j-chroma_quarkus-langchain4j-chroma-devservices-container-env-container-env[`quarkus.langchain4j.chroma.devservices.container-env."container-env"`]##
ifdef::add-copy-button-to-config-props[]
config_property_copy_button:+++quarkus.langchain4j.chroma.devservices.container-env."container-env"+++[]
endif::add-copy-button-to-config-props[]


[.description]
--
Expand All @@ -121,6 +144,10 @@ endif::add-copy-button-to-env-var[]
|

a| [[quarkus-langchain4j-chroma_quarkus-langchain4j-chroma-url]] [.property-path]##link:#quarkus-langchain4j-chroma_quarkus-langchain4j-chroma-url[`quarkus.langchain4j.chroma.url`]##
ifdef::add-copy-button-to-config-props[]
config_property_copy_button:+++quarkus.langchain4j.chroma.url+++[]
endif::add-copy-button-to-config-props[]


[.description]
--
Expand All @@ -138,6 +165,10 @@ endif::add-copy-button-to-env-var[]
|required icon:exclamation-circle[title=Configuration property is required]

a| [[quarkus-langchain4j-chroma_quarkus-langchain4j-chroma-collection-name]] [.property-path]##link:#quarkus-langchain4j-chroma_quarkus-langchain4j-chroma-collection-name[`quarkus.langchain4j.chroma.collection-name`]##
ifdef::add-copy-button-to-config-props[]
config_property_copy_button:+++quarkus.langchain4j.chroma.collection-name+++[]
endif::add-copy-button-to-config-props[]


[.description]
--
Expand All @@ -155,6 +186,10 @@ endif::add-copy-button-to-env-var[]
|`default`

a| [[quarkus-langchain4j-chroma_quarkus-langchain4j-chroma-timeout]] [.property-path]##link:#quarkus-langchain4j-chroma_quarkus-langchain4j-chroma-timeout[`quarkus.langchain4j.chroma.timeout`]##
ifdef::add-copy-button-to-config-props[]
config_property_copy_button:+++quarkus.langchain4j.chroma.timeout+++[]
endif::add-copy-button-to-config-props[]


[.description]
--
Expand All @@ -168,10 +203,14 @@ ifndef::add-copy-button-to-env-var[]
Environment variable: `+++QUARKUS_LANGCHAIN4J_CHROMA_TIMEOUT+++`
endif::add-copy-button-to-env-var[]
--
|link:https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/time/Duration.html[Duration] link:#duration-note-anchor-{summaryTableId}[icon:question-circle[title=More information about the Duration format]]
|link:https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/time/Duration.html[Duration] link:#duration-note-anchor-quarkus-langchain4j-chroma_quarkus-langchain4j[icon:question-circle[title=More information about the Duration format]]
|

a| [[quarkus-langchain4j-chroma_quarkus-langchain4j-chroma-log-requests]] [.property-path]##link:#quarkus-langchain4j-chroma_quarkus-langchain4j-chroma-log-requests[`quarkus.langchain4j.chroma.log-requests`]##
ifdef::add-copy-button-to-config-props[]
config_property_copy_button:+++quarkus.langchain4j.chroma.log-requests+++[]
endif::add-copy-button-to-config-props[]


[.description]
--
Expand All @@ -189,6 +228,10 @@ endif::add-copy-button-to-env-var[]
|`false`

a| [[quarkus-langchain4j-chroma_quarkus-langchain4j-chroma-log-responses]] [.property-path]##link:#quarkus-langchain4j-chroma_quarkus-langchain4j-chroma-log-responses[`quarkus.langchain4j.chroma.log-responses`]##
ifdef::add-copy-button-to-config-props[]
config_property_copy_button:+++quarkus.langchain4j.chroma.log-responses+++[]
endif::add-copy-button-to-config-props[]


[.description]
--
Expand Down Expand Up @@ -226,5 +269,3 @@ In other cases, the simplified format is translated to the `java.time.Duration`
* If the value is a number followed by `d`, it is prefixed with `P`.
====
endif::no-duration-note[]
:!summaryTableId:
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
:summaryTableId: quarkus-langchain4j-chroma_quarkus-langchain4j
[.configuration-legend]
icon:lock[title=Fixed at build time] Configuration property fixed at build time - All other configuration properties are overridable at runtime
[.configuration-reference.searchable, cols="80,.^10,.^10"]
Expand All @@ -9,6 +8,10 @@ h|Type
h|Default

a|icon:lock[title=Fixed at build time] [[quarkus-langchain4j-chroma_quarkus-langchain4j-chroma-devservices-enabled]] [.property-path]##link:#quarkus-langchain4j-chroma_quarkus-langchain4j-chroma-devservices-enabled[`quarkus.langchain4j.chroma.devservices.enabled`]##
ifdef::add-copy-button-to-config-props[]
config_property_copy_button:+++quarkus.langchain4j.chroma.devservices.enabled+++[]
endif::add-copy-button-to-config-props[]


[.description]
--
Expand All @@ -28,6 +31,10 @@ endif::add-copy-button-to-env-var[]
|`true`

a|icon:lock[title=Fixed at build time] [[quarkus-langchain4j-chroma_quarkus-langchain4j-chroma-devservices-image-name]] [.property-path]##link:#quarkus-langchain4j-chroma_quarkus-langchain4j-chroma-devservices-image-name[`quarkus.langchain4j.chroma.devservices.image-name`]##
ifdef::add-copy-button-to-config-props[]
config_property_copy_button:+++quarkus.langchain4j.chroma.devservices.image-name+++[]
endif::add-copy-button-to-config-props[]


[.description]
--
Expand All @@ -45,6 +52,10 @@ endif::add-copy-button-to-env-var[]
|`ghcr.io/chroma-core/chroma:0.4.15`

a|icon:lock[title=Fixed at build time] [[quarkus-langchain4j-chroma_quarkus-langchain4j-chroma-devservices-port]] [.property-path]##link:#quarkus-langchain4j-chroma_quarkus-langchain4j-chroma-devservices-port[`quarkus.langchain4j.chroma.devservices.port`]##
ifdef::add-copy-button-to-config-props[]
config_property_copy_button:+++quarkus.langchain4j.chroma.devservices.port+++[]
endif::add-copy-button-to-config-props[]


[.description]
--
Expand All @@ -64,6 +75,10 @@ endif::add-copy-button-to-env-var[]
|

a|icon:lock[title=Fixed at build time] [[quarkus-langchain4j-chroma_quarkus-langchain4j-chroma-devservices-shared]] [.property-path]##link:#quarkus-langchain4j-chroma_quarkus-langchain4j-chroma-devservices-shared[`quarkus.langchain4j.chroma.devservices.shared`]##
ifdef::add-copy-button-to-config-props[]
config_property_copy_button:+++quarkus.langchain4j.chroma.devservices.shared+++[]
endif::add-copy-button-to-config-props[]


[.description]
--
Expand All @@ -85,6 +100,10 @@ endif::add-copy-button-to-env-var[]
|`true`

a|icon:lock[title=Fixed at build time] [[quarkus-langchain4j-chroma_quarkus-langchain4j-chroma-devservices-service-name]] [.property-path]##link:#quarkus-langchain4j-chroma_quarkus-langchain4j-chroma-devservices-service-name[`quarkus.langchain4j.chroma.devservices.service-name`]##
ifdef::add-copy-button-to-config-props[]
config_property_copy_button:+++quarkus.langchain4j.chroma.devservices.service-name+++[]
endif::add-copy-button-to-config-props[]


[.description]
--
Expand All @@ -104,6 +123,10 @@ endif::add-copy-button-to-env-var[]
|`chroma`

a|icon:lock[title=Fixed at build time] [[quarkus-langchain4j-chroma_quarkus-langchain4j-chroma-devservices-container-env-container-env]] [.property-path]##link:#quarkus-langchain4j-chroma_quarkus-langchain4j-chroma-devservices-container-env-container-env[`quarkus.langchain4j.chroma.devservices.container-env."container-env"`]##
ifdef::add-copy-button-to-config-props[]
config_property_copy_button:+++quarkus.langchain4j.chroma.devservices.container-env."container-env"+++[]
endif::add-copy-button-to-config-props[]


[.description]
--
Expand All @@ -121,6 +144,10 @@ endif::add-copy-button-to-env-var[]
|

a| [[quarkus-langchain4j-chroma_quarkus-langchain4j-chroma-url]] [.property-path]##link:#quarkus-langchain4j-chroma_quarkus-langchain4j-chroma-url[`quarkus.langchain4j.chroma.url`]##
ifdef::add-copy-button-to-config-props[]
config_property_copy_button:+++quarkus.langchain4j.chroma.url+++[]
endif::add-copy-button-to-config-props[]


[.description]
--
Expand All @@ -138,6 +165,10 @@ endif::add-copy-button-to-env-var[]
|required icon:exclamation-circle[title=Configuration property is required]

a| [[quarkus-langchain4j-chroma_quarkus-langchain4j-chroma-collection-name]] [.property-path]##link:#quarkus-langchain4j-chroma_quarkus-langchain4j-chroma-collection-name[`quarkus.langchain4j.chroma.collection-name`]##
ifdef::add-copy-button-to-config-props[]
config_property_copy_button:+++quarkus.langchain4j.chroma.collection-name+++[]
endif::add-copy-button-to-config-props[]


[.description]
--
Expand All @@ -155,6 +186,10 @@ endif::add-copy-button-to-env-var[]
|`default`

a| [[quarkus-langchain4j-chroma_quarkus-langchain4j-chroma-timeout]] [.property-path]##link:#quarkus-langchain4j-chroma_quarkus-langchain4j-chroma-timeout[`quarkus.langchain4j.chroma.timeout`]##
ifdef::add-copy-button-to-config-props[]
config_property_copy_button:+++quarkus.langchain4j.chroma.timeout+++[]
endif::add-copy-button-to-config-props[]


[.description]
--
Expand All @@ -168,10 +203,14 @@ ifndef::add-copy-button-to-env-var[]
Environment variable: `+++QUARKUS_LANGCHAIN4J_CHROMA_TIMEOUT+++`
endif::add-copy-button-to-env-var[]
--
|link:https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/time/Duration.html[Duration] link:#duration-note-anchor-{summaryTableId}[icon:question-circle[title=More information about the Duration format]]
|link:https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/time/Duration.html[Duration] link:#duration-note-anchor-quarkus-langchain4j-chroma_quarkus-langchain4j[icon:question-circle[title=More information about the Duration format]]
|

a| [[quarkus-langchain4j-chroma_quarkus-langchain4j-chroma-log-requests]] [.property-path]##link:#quarkus-langchain4j-chroma_quarkus-langchain4j-chroma-log-requests[`quarkus.langchain4j.chroma.log-requests`]##
ifdef::add-copy-button-to-config-props[]
config_property_copy_button:+++quarkus.langchain4j.chroma.log-requests+++[]
endif::add-copy-button-to-config-props[]


[.description]
--
Expand All @@ -189,6 +228,10 @@ endif::add-copy-button-to-env-var[]
|`false`

a| [[quarkus-langchain4j-chroma_quarkus-langchain4j-chroma-log-responses]] [.property-path]##link:#quarkus-langchain4j-chroma_quarkus-langchain4j-chroma-log-responses[`quarkus.langchain4j.chroma.log-responses`]##
ifdef::add-copy-button-to-config-props[]
config_property_copy_button:+++quarkus.langchain4j.chroma.log-responses+++[]
endif::add-copy-button-to-config-props[]


[.description]
--
Expand Down Expand Up @@ -226,5 +269,3 @@ In other cases, the simplified format is translated to the `java.time.Duration`
* If the value is a number followed by `d`, it is prefixed with `P`.
====
endif::no-duration-note[]
:!summaryTableId:
Loading

0 comments on commit c7c7561

Please sign in to comment.