io.quarkiverse.langchain4j.runtime.jackson.UserMessageMixin Maven / Gradle / Ivy
package io.quarkiverse.langchain4j.runtime.jackson;
import com.fasterxml.jackson.annotation.JsonAutoDetect;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import dev.langchain4j.data.message.UserMessage;
import io.quarkus.jackson.JacksonMixin;
@JacksonMixin(UserMessage.class)
@JsonAutoDetect(fieldVisibility = JsonAutoDetect.Visibility.ANY, getterVisibility = JsonAutoDetect.Visibility.NONE, setterVisibility = JsonAutoDetect.Visibility.NONE)
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonDeserialize(using = UserMessageDeserializer.class)
public abstract class UserMessageMixin {
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy