Skip to content

Commit dc7cbee

Browse files
committed
chore: update package javadoc to describe declarative HRPolicyAgent wiring
1 parent 70ce11d commit dc7cbee

1 file changed

Lines changed: 5 additions & 3 deletions

File tree

src/main/java/org/soujava/demos/rag/producer/package-info.java

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,13 @@
2020
* <li>{@code ContentRetrieverProducer} &mdash; builds the
2121
* {@link dev.langchain4j.rag.content.retriever.ContentRetriever} that
2222
* queries the vector store for passages relevant to a question.</li>
23-
* <li>{@code HRPolicyAgentProducer} &mdash; binds the chat model and retriever
24-
* into the {@link org.soujava.demos.rag.HRPolicyAgent} that generates
25-
* grounded answers.</li>
2623
* </ul>
2724
*
25+
* <p>The {@link org.soujava.demos.rag.HRPolicyAgent} itself is not produced here:
26+
* it is registered declaratively with {@code @RegisterAIService}, and the CDI
27+
* extension wires it with the default {@code ChatModel} and the
28+
* {@code ContentRetriever} produced above.
29+
*
2830
* <p>The classes in this package are package-private on purpose: they are CDI
2931
* beans discovered by the container, not part of the application's public API.
3032
*

0 commit comments

Comments
 (0)