Код: Выделить всё
@UserMessage(
"The alert is described as follows: {{description}}\n\n"
+ "HTTP response evidence:\n---\n{{evidence}}\n---\n"
+ "Additional context:\n---\n{{otherinfo}}")
Confidence review(@V("description") String description, @V("evidence") String evidence, @V("otherinfo") String otherinfo);
Есть ли встроенный путь в Langchain4j, чтобы сделать запрос на подсказки условными на основе значений переменных (например, Skip {{otherinfo}} , если он null )? Или мне нужно построить подсказку вручную вне системы аннотаций?>
Подробнее здесь: https://stackoverflow.com/questions/797 ... angchain4j