ResponseEngine is called which finds the relevant context for the message.
| Modifier and Type | Field and Description |
|---|---|
| private final List | |
| private final ChatModel | |
| private final List | |
| private final String | |
| private static final Logger | |
| private final ResponseEngine | |
| private final String |
| Access | Constructor and Description |
|---|---|
| public | GenerateRagResponseTask(ChatModel chatModel, ResponseEngine responseEngine, List<ChatMessage> chatHistory, List<FullBibEntry> entries, String systemMessageTemplate, String injectionTemplate)
|
| Modifier and Type | Method and Description |
|---|---|
| public ChatMessage |
| chatHistory | back to summary |
|---|---|
| private final List<ChatMessage> chatHistory | |
| chatModel | back to summary |
|---|---|
| private final ChatModel chatModel | |
| entries | back to summary |
|---|---|
| private final List<FullBibEntry> entries | |
| injectionTemplate | back to summary |
|---|---|
| private final String injectionTemplate | |
| LOGGER | back to summary |
|---|---|
| private static final Logger LOGGER | |
| responseEngine | back to summary |
|---|---|
| private final ResponseEngine responseEngine | |
| systemMessageTemplate | back to summary |
|---|---|
| private final String systemMessageTemplate | |
| GenerateRagResponseTask | back to summary |
|---|---|
| public GenerateRagResponseTask(ChatModel chatModel, ResponseEngine responseEngine, List<ChatMessage> chatHistory, List<FullBibEntry> entries, String systemMessageTemplate, String injectionTemplate) | |
| call | back to summary |
|---|---|
| public ChatMessage call() throws Exception Implements abstract org.
| |