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,
4848public @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
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
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:
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