Uses of Class
com.google.genkit.core.ActionDef
Packages that use ActionDef
-
Uses of ActionDef in com.google.genkit.core
Methods in com.google.genkit.core that return ActionDefModifier and TypeMethodDescriptionActionDef.create(String name, ActionType type, Map<String, Object> metadata, Map<String, Object> inputSchema, Class<I> inputClass, Class<O> outputClass, ActionDef.ActionFunction<I, O> fn) Creates a non-streaming action.static <I,O, S> ActionDef <I, O, S> ActionDef.createStreaming(String name, ActionType type, Map<String, Object> metadata, Map<String, Object> inputSchema, Class<I> inputClass, Class<O> outputClass, ActionDef.StreamingFunction<I, O, S> fn) Creates a streaming action.