In the workshop there is a ChatRequest class. But in the last LC4j versions there is now an experimental ChatRequest API too. And if you leave your IDE doing the auto-import, it imports the LC4j one. We should change the name of the API (and also the ChatResource....). Maybe ChatRagRequest or something like that
https://github.com/langchain4j/langchain4j/blob/main/langchain4j-core/src/main/java/dev/langchain4j/model/chat/request/ChatRequest.java
In the workshop there is a
ChatRequestclass. But in the last LC4j versions there is now an experimentalChatRequestAPI too. And if you leave your IDE doing the auto-import, it imports the LC4j one. We should change the name of the API (and also theChatResource....). MaybeChatRagRequestor something like thathttps://github.com/langchain4j/langchain4j/blob/main/langchain4j-core/src/main/java/dev/langchain4j/model/chat/request/ChatRequest.java