File tree Expand file tree Collapse file tree
src/main/java/org/soujava/demos/rag/producer Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2020 * <li>{@code ContentRetrieverProducer} — 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} — 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 *
You can’t perform that action at this time.
0 commit comments