Skip to content

Commit 47df94f

Browse files
committed
Fix Javadoc links in RegisterAiService
1 parent 0446320 commit 47df94f

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

core/runtime/src/main/java/io/quarkiverse/langchain4j/RegisterAiService.java

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
* Used to create LangChain4j's {@link AiServices} in a declarative manner that the application can then use simply by
3232
* using the class as a CDI bean.
3333
* Under the hood LangChain4j's {@link AiServices#builder(Class)} is called
34-
* while also providing the builder with the proper {@link ChatLanguageModel} bean (mandatory), {@code tools} bean (optional),
34+
* while also providing the builder with the proper {@link ChatModel} bean (mandatory), {@code tools} bean (optional),
3535
* {@link ChatMemoryProvider} and {@link ContentRetriever} beans (which by default are configured if such beans exist).
3636
* <p>
3737
* NOTE: The resulting CDI bean is {@link jakarta.enterprise.context.RequestScoped} by default. If you need to change the scope,
@@ -48,7 +48,7 @@
4848
public @interface RegisterAiService {
4949

5050
/**
51-
* Configures the way to obtain the {@link StreamingChatLanguageModel} to use.
51+
* Configures the way to obtain the {@link StreamingChatModel} to use.
5252
* If not configured, the default CDI bean implementing the model is looked up.
5353
* Such a bean provided automatically by extensions such as {@code quarkus-langchain4j-openai},
5454
* {@code quarkus-langchain4j-azure-openai} or
@@ -57,7 +57,7 @@
5757
Class<? extends Supplier<StreamingChatModel>> streamingChatLanguageModelSupplier() default BeanStreamingChatLanguageModelSupplier.class;
5858

5959
/**
60-
* Configures the way to obtain the {@link ChatLanguageModel} to use.
60+
* Configures the way to obtain the {@link ChatModel} to use.
6161
* If not configured, the default CDI bean implementing the model is looked up.
6262
* Such a bean provided automatically by extensions such as {@code quarkus-langchain4j-openai},
6363
* {@code quarkus-langchain4j-azure-openai} or
@@ -67,7 +67,7 @@
6767

6868
/**
6969
* When {@code chatLanguageModelSupplier} is set to {@code BeanChatLanguageModelSupplier.class} (which is the default)
70-
* this allows the selection of the {@link ChatLanguageModel} CDI bean to use.
70+
* this allows the selection of the {@link ChatModel} CDI bean to use.
7171
* <p>
7272
* If not set, the default model (i.e. the one configured without setting the model name) is used.
7373
* An example of the default model configuration is the following:
@@ -148,7 +148,7 @@
148148
Class<? extends Supplier<ToolProvider>> toolProviderSupplier() default BeanIfExistsToolProviderSupplier.class;
149149

150150
/**
151-
* Marker that is used to tell Quarkus to use the {@link ChatLanguageModel} that has been configured as a CDI bean by
151+
* Marker that is used to tell Quarkus to use the {@link ChatModel} that has been configured as a CDI bean by
152152
* any of the extensions providing such capability (such as {@code quarkus-langchain4j-openai} and
153153
* {@code quarkus-langchain4j-hugging-face}).
154154
*/
@@ -161,7 +161,7 @@ public ChatModel get() {
161161
}
162162

163163
/**
164-
* Marker that is used to tell Quarkus to use the {@link StreamingChatLanguageModel} that has been configured as a CDI bean
164+
* Marker that is used to tell Quarkus to use the {@link StreamingChatModel} that has been configured as a CDI bean
165165
* by * any of the extensions providing such capability (such as {@code quarkus-langchain4j-openai} and
166166
* {@code quarkus-langchain4j-hugging-face}).
167167
*/

0 commit comments

Comments
 (0)