Uses of Interface
net.stoerr.ai.aigenpipeline.framework.chat.AIChatBuilder
Packages that use AIChatBuilder
Package
Description
-
Uses of AIChatBuilder in net.stoerr.ai.aigenpipeline.framework.chat
Classes in net.stoerr.ai.aigenpipeline.framework.chat that implement AIChatBuilderModifier and TypeClassDescriptionclassImplementation of AIChatBuilder for creating and executing OpenAI chat completion requests.Methods in net.stoerr.ai.aigenpipeline.framework.chat that return AIChatBuilderModifier and TypeMethodDescriptionAIChatBuilder.assistantMsg(String text) Adds an assistant message to the chat.OpenAIChatBuilderImpl.assistantMsg(String text) Sets the API key for the chat completion request.AIChatBuilder.maxTokens(int maxTokens) Sets the maximum number of tokens the completion can use.OpenAIChatBuilderImpl.maxTokens(int maxTokens) Sets the AI model to be used for the chat completion.Adds a system message to the chat.Sets the URL for the chat completion request.Adds a user message to the chat. -
Uses of AIChatBuilder in net.stoerr.ai.aigenpipeline.framework.task
Methods in net.stoerr.ai.aigenpipeline.framework.task that return AIChatBuilderModifier and TypeMethodDescriptionprotected AIChatBuilderAIGenerationTask.makeChatBuilder(Supplier<AIChatBuilder> chatBuilderFactory, File rootDirectory, String outputRelPath) Method parameters in net.stoerr.ai.aigenpipeline.framework.task with type arguments of type AIChatBuilderModifier and TypeMethodDescriptionAIGenerationTask.execute(Supplier<AIChatBuilder> chatBuilderFactory, File rootDirectory) Execute the task if necessary.AIGenerationTask.explain(Supplier<AIChatBuilder> chatBuilderFactory, File rootDirectory, String question) Ask a question about the previous task execution.protected AIChatBuilderAIGenerationTask.makeChatBuilder(Supplier<AIChatBuilder> chatBuilderFactory, File rootDirectory, String outputRelPath) AIGenerationTask.toJson(Supplier<AIChatBuilder> chatBuilderFactory, File rootDirectory) For debugging purposes: returns the JSON that would be sent to the AI.