
dev.langchain4j.agent.tool.ToolMemoryId Maven / Gradle / Ivy
package dev.langchain4j.agent.tool;
import java.lang.annotation.Retention;
import java.lang.annotation.Target;
import static java.lang.annotation.ElementType.PARAMETER;
import static java.lang.annotation.RetentionPolicy.RUNTIME;
/**
* If a {@link Tool} method parameter is annotated with this annotation,
* memory id (parameter annotated with @MemoryId in AI Service) will be injected automatically.
*/
@Retention(RUNTIME)
@Target(PARAMETER)
public @interface ToolMemoryId {
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy