A B C D E F G H I J K L M N O P R S T U V W 
All Classes All Packages

A

addEdge(T, T) - Method in class net.stoerr.ai.aigenpipeline.commandline.TopoSort
 
addHint(AIInOut) - Method in class net.stoerr.ai.aigenpipeline.framework.task.AIGenerationTask
 
addInput(AIInOut) - Method in class net.stoerr.ai.aigenpipeline.framework.task.AIGenerationTask
 
addInputFile(File) - Method in class net.stoerr.ai.aigenpipeline.framework.task.AIGenerationTask
 
addInputFiles(List<File>) - Method in class net.stoerr.ai.aigenpipeline.framework.task.AIGenerationTask
 
addInputs(List<AIInOut>) - Method in class net.stoerr.ai.aigenpipeline.framework.task.AIGenerationTask
 
addOptionalInput(AIInOut) - Method in class net.stoerr.ai.aigenpipeline.framework.task.AIGenerationTask
 
addOptionalInputFile(File) - Method in class net.stoerr.ai.aigenpipeline.framework.task.AIGenerationTask
 
addPrompt(File, String...) - Method in class net.stoerr.ai.aigenpipeline.framework.task.AIGenerationTask
The actual prompt to be executed.
addPrompt(File, Map<String, String>) - Method in class net.stoerr.ai.aigenpipeline.framework.task.AIGenerationTask
The actual prompt to be executed.
addPrompt(AIInOut, String...) - Method in class net.stoerr.ai.aigenpipeline.framework.task.AIGenerationTask
The actual prompt to be executed.
addPrompt(AIInOut, Map<String, String>) - Method in class net.stoerr.ai.aigenpipeline.framework.task.AIGenerationTask
The actual prompt to be executed.
AIChatBuilder - Interface in net.stoerr.ai.aigenpipeline.framework.chat
Defines the interface for building AI chat interactions, allowing customization of the model, token limits, and messages.
AIDepDiagram - Class in net.stoerr.ai.aigenpipeline.commandline
 
AIDepDiagram(List<AIGenPipeline>, File) - Constructor for class net.stoerr.ai.aigenpipeline.commandline.AIDepDiagram
 
AIFileInOut(File) - Constructor for class net.stoerr.ai.aigenpipeline.framework.task.AIInOut.AIFileInOut
Constructs an AIFileInOut instance.
AIFileSegmentInOut(SegmentedFile, int) - Constructor for class net.stoerr.ai.aigenpipeline.framework.task.AIInOut.AIFileSegmentInOut
Constructs an AIFileSegmentInOut instance.
AIGenArgumentList - Class in net.stoerr.ai.aigenpipeline.commandline
A set of arguments that is either given on command line, from the environment or otherwise given, or read from a config file.
AIGenArgumentList(File) - Constructor for class net.stoerr.ai.aigenpipeline.commandline.AIGenArgumentList
Reads the arguments from a file.
AIGenArgumentList(String[]) - Constructor for class net.stoerr.ai.aigenpipeline.commandline.AIGenArgumentList
Unrelated to file.
AIGenerationTask - Class in net.stoerr.ai.aigenpipeline.framework.task
We support the generation of files using an AI, specifically ChatGPT.
AIGenerationTask() - Constructor for class net.stoerr.ai.aigenpipeline.framework.task.AIGenerationTask
 
AIGenPipeline - Class in net.stoerr.ai.aigenpipeline.commandline
The main entry point of the AI Generation Pipeline.
AIGenPipeline() - Constructor for class net.stoerr.ai.aigenpipeline.commandline.AIGenPipeline
 
AIGENPIPELINE_CONFIG - Static variable in class net.stoerr.ai.aigenpipeline.commandline.AIGenPipeline
Name of the environment variable where we read common configuration from.
AIInOut - Interface in net.stoerr.ai.aigenpipeline.framework.task
AIInOut is an interface that represents an input or output for AI tasks.
AIInOut.AIFileInOut - Class in net.stoerr.ai.aigenpipeline.framework.task
AIFileInOut is an implementation of AIInOut that reads from a file.
AIInOut.AIFileSegmentInOut - Class in net.stoerr.ai.aigenpipeline.framework.task
AIFileSegmentInOut is an implementation of AIInOut that reads from a segment of a segmented file.
AIInOut.AIStreamInOut - Class in net.stoerr.ai.aigenpipeline.framework.task
AIStreamInOut is an implementation of AIInOut that reads from an input stream.
AIModelConstants - Interface in net.stoerr.ai.aigenpipeline.framework.chat
 
AIStreamInOut(InputStream) - Constructor for class net.stoerr.ai.aigenpipeline.framework.task.AIInOut.AIStreamInOut
Constructs an AIStreamInOut instance.
AIVersionMarker - Class in net.stoerr.ai.aigenpipeline.framework.task
A parsing / creation class for markers like AIGenVersion(ourversion, inputfile1@version1, inputfile2@version2, ...).
AIVersionMarker(String, List<String>) - Constructor for class net.stoerr.ai.aigenpipeline.framework.task.AIVersionMarker
 
allInputs - Variable in class net.stoerr.ai.aigenpipeline.framework.chat.CopyPseudoAIChatBuilderImpl
 
ALWAYS - Static variable in interface net.stoerr.ai.aigenpipeline.framework.task.RegenerationCheckStrategy
 
answerHelpAIQuestion() - Method in class net.stoerr.ai.aigenpipeline.commandline.AIGenPipeline
This reads the collected texts of the website from /helpaitexts.md and gives them to the AI, and then has it answer the #helpAIquestion from that.
ANTHROPIC_DEFAULT_VERSION - Static variable in class net.stoerr.ai.aigenpipeline.framework.chat.OpenAIChatBuilderImpl
Default version for the Anthropic API, of not overridden with environment variable OpenAIChatBuilderImpl.ENV_ANTHROPIC_VERSION .
apiKey - Variable in class net.stoerr.ai.aigenpipeline.commandline.AIGenPipeline
 
apiKey - Variable in class net.stoerr.ai.aigenpipeline.framework.chat.OpenAIChatBuilderImpl
 
args - Variable in class net.stoerr.ai.aigenpipeline.commandline.AIGenArgumentList
The actual arguments in series.
assistantMsg(String) - Method in interface net.stoerr.ai.aigenpipeline.framework.chat.AIChatBuilder
Adds an assistant message to the chat.
assistantMsg(String) - Method in class net.stoerr.ai.aigenpipeline.framework.chat.CopyPseudoAIChatBuilderImpl
We assume the "put it into the mouth of the AI" pattern is used.
assistantMsg(String) - Method in class net.stoerr.ai.aigenpipeline.framework.chat.OpenAIChatBuilderImpl
 

B

BINARYFILEPATTERN - Static variable in class net.stoerr.ai.aigenpipeline.framework.task.FileLookupHelper
Pattern matching file names of files which have binary content (*.jpg, *.gif, *.jar etc.), which we ignore in the search.

C

calculateInputMarkers(List<AIInOut>, List<String>) - Static method in class net.stoerr.ai.aigenpipeline.framework.task.AIVersionMarker
 
cfgFile - Variable in class net.stoerr.ai.aigenpipeline.commandline.AIGenArgumentList
If it is from a configuration file.
ChatCompletionResponse() - Constructor for class net.stoerr.ai.aigenpipeline.framework.chat.OpenAIChatBuilderImpl.ChatCompletionResponse
 
check - Variable in class net.stoerr.ai.aigenpipeline.commandline.AIGenPipeline
 
CLAUDE_URL - Static variable in interface net.stoerr.ai.aigenpipeline.framework.chat.AIModelConstants
Anthropic Claude message completion URL.
clone() - Method in class net.stoerr.ai.aigenpipeline.framework.task.AIGenerationTask
 
CODEBLOCK_PATTERN - Variable in class net.stoerr.ai.aigenpipeline.framework.chat.OpenAIChatBuilderImpl
 
collectArgLists(String[], File) - Method in class net.stoerr.ai.aigenpipeline.commandline.AIGenPipeline
 
CONFIGFILE - Static variable in class net.stoerr.ai.aigenpipeline.commandline.AIGenPipeline
Name of configuration files we scan upwards from the output directory.
copy() - Method in class net.stoerr.ai.aigenpipeline.framework.task.AIGenerationTask
Creates a deep copy of the task.
CopyPseudoAIChatBuilderImpl - Class in net.stoerr.ai.aigenpipeline.framework.chat
A pseudo AI chat model that just copies the input to the output.
CopyPseudoAIChatBuilderImpl() - Constructor for class net.stoerr.ai.aigenpipeline.framework.chat.CopyPseudoAIChatBuilderImpl
 

D

DEFAULT_MAX_TOKENS - Static variable in class net.stoerr.ai.aigenpipeline.framework.chat.OpenAIChatBuilderImpl
 
determineApiKey() - Method in class net.stoerr.ai.aigenpipeline.framework.chat.OpenAIChatBuilderImpl
This returns OpenAIChatBuilderImpl.apiKey if given, otherwise resorts to environment variables depending on the OpenAIChatBuilderImpl.url
determineFileVersionMarker(AIInOut) - Static method in class net.stoerr.ai.aigenpipeline.framework.task.AIVersionMarker
Determine the version marker for input files / prompt files.
directory - Variable in class net.stoerr.ai.aigenpipeline.framework.task.FileLookupHelper
 
dryRun - Variable in class net.stoerr.ai.aigenpipeline.commandline.AIGenPipeline
 

E

Edge(T, T) - Constructor for class net.stoerr.ai.aigenpipeline.commandline.TopoSort.Edge
 
ENV_ANTHROPIC_API_KEY - Static variable in class net.stoerr.ai.aigenpipeline.framework.chat.OpenAIChatBuilderImpl
Environment variable for the Anthropic API key.
ENV_ANTHROPIC_VERSION - Static variable in class net.stoerr.ai.aigenpipeline.framework.chat.OpenAIChatBuilderImpl
Environment variable for the Anthropic API version.
ENV_OPENAI_API_KEY - Static variable in class net.stoerr.ai.aigenpipeline.framework.chat.OpenAIChatBuilderImpl
Environment variable for the OpenAI API key.
ENVVARIABLE_PATTERN - Variable in class net.stoerr.ai.aigenpipeline.commandline.AIGenPipeline
Pattern for accessing an environment variable, e.g.
equals(Object) - Method in class net.stoerr.ai.aigenpipeline.framework.task.AIVersionMarker
 
ERR - Static variable in class net.stoerr.ai.aigenpipeline.commandline.AIGenPipeline
 
execute() - Method in interface net.stoerr.ai.aigenpipeline.framework.chat.AIChatBuilder
Executes the chat completion request and returns the response.
execute() - Method in class net.stoerr.ai.aigenpipeline.framework.chat.CopyPseudoAIChatBuilderImpl
 
execute() - Method in class net.stoerr.ai.aigenpipeline.framework.chat.OpenAIChatBuilderImpl
 
execute(Supplier<AIChatBuilder>, File) - Method in class net.stoerr.ai.aigenpipeline.framework.task.AIGenerationTask
Execute the task if necessary.
executeTask() - Method in class net.stoerr.ai.aigenpipeline.commandline.AIGenPipeline
 
exists() - Method in interface net.stoerr.ai.aigenpipeline.framework.task.AIInOut
 
explain - Variable in class net.stoerr.ai.aigenpipeline.commandline.AIGenPipeline
 
explain(Supplier<AIChatBuilder>, File, String) - Method in class net.stoerr.ai.aigenpipeline.framework.task.AIGenerationTask
Ask a question about the previous task execution.
extractResponse(String) - Method in class net.stoerr.ai.aigenpipeline.framework.chat.OpenAIChatBuilderImpl
 

F

file - Variable in class net.stoerr.ai.aigenpipeline.framework.task.SegmentedFile
 
file(String) - Method in class net.stoerr.ai.aigenpipeline.framework.task.FileLookupHelper
File relative to repository root - that doesn't need to exist (might be output file).
FILE_MAXSIZE - Static variable in class net.stoerr.ai.aigenpipeline.framework.task.FileLookupHelper
The maximum filesize we search in.
FileLookupHelper - Class in net.stoerr.ai.aigenpipeline.framework.task
Makes it easy to find files to process with AIGenerationTask etc.
FileLookupHelper(String) - Constructor for class net.stoerr.ai.aigenpipeline.framework.task.FileLookupHelper
 
files(String, String, boolean) - Method in class net.stoerr.ai.aigenpipeline.framework.task.FileLookupHelper
Files in a directory, matching an ant style pattern - more specifically like FileSystem.getPathMatcher(String) glob patterns (without "glob:" prefix).
filesContaining(String, String, Pattern, boolean) - Method in class net.stoerr.ai.aigenpipeline.framework.task.FileLookupHelper
All files matching a filePathRegex that contain a pattern.
find(String) - Static method in class net.stoerr.ai.aigenpipeline.framework.task.AIVersionMarker
 
FIXME - Static variable in class net.stoerr.ai.aigenpipeline.framework.task.AIGenerationTask
A marker that can be inserted by the AI when something is wrong / unclear.
from - Variable in class net.stoerr.ai.aigenpipeline.commandline.TopoSort.Edge
 
fromEnv(String, String) - Static method in class net.stoerr.ai.aigenpipeline.framework.task.FileLookupHelper
Make repository from environment variable.
fromPath(String...) - Static method in class net.stoerr.ai.aigenpipeline.framework.task.FileLookupHelper
 

G

getAdditionalMarkers() - Method in class net.stoerr.ai.aigenpipeline.framework.task.AIGenerationTask
 
getAllInputs() - Method in class net.stoerr.ai.aigenpipeline.framework.task.AIGenerationTask
 
getArgs() - Method in class net.stoerr.ai.aigenpipeline.commandline.AIGenArgumentList
 
getCfgFile() - Method in class net.stoerr.ai.aigenpipeline.commandline.AIGenArgumentList
 
getFile() - Method in class net.stoerr.ai.aigenpipeline.framework.task.AIInOut.AIFileInOut
 
getFile() - Method in class net.stoerr.ai.aigenpipeline.framework.task.AIInOut.AIFileSegmentInOut
 
getFile() - Method in class net.stoerr.ai.aigenpipeline.framework.task.AIInOut.AIStreamInOut
 
getFile() - Method in interface net.stoerr.ai.aigenpipeline.framework.task.AIInOut
The underlying file.
getFile() - Method in class net.stoerr.ai.aigenpipeline.framework.task.SegmentedFile
The basic file we write into.
getFileContent(File) - Method in class net.stoerr.ai.aigenpipeline.framework.task.AIGenerationTask
 
getInputVersions() - Method in class net.stoerr.ai.aigenpipeline.framework.task.AIVersionMarker
 
getNode() - Method in exception net.stoerr.ai.aigenpipeline.commandline.TopoSort.TopoSortCycleException
One node involved into a cycle.
getOurVersion() - Method in class net.stoerr.ai.aigenpipeline.framework.task.AIVersionMarker
 
getRecordedVersionMarker(AIInOut) - Method in interface net.stoerr.ai.aigenpipeline.framework.task.WritingStrategy
Version of current output file.
getSegment(int) - Method in class net.stoerr.ai.aigenpipeline.framework.task.SegmentedFile
Retrieves the segment - 0 is before first separator, 1 is between first and second separator, and so forth, segments.size()-1 is the rest of the file.
getVersion() - Method in class net.stoerr.ai.aigenpipeline.commandline.AIGenPipeline
 
GPT_3_5_TURBO - Static variable in interface net.stoerr.ai.aigenpipeline.framework.chat.AIModelConstants
Deprecated.
GPT_4_MINI is better than this and cheaper, too
GPT_4 - Static variable in interface net.stoerr.ai.aigenpipeline.framework.chat.AIModelConstants
 
GPT_4_MINI - Static variable in interface net.stoerr.ai.aigenpipeline.framework.chat.AIModelConstants
 
GPT_4_TURBO - Static variable in interface net.stoerr.ai.aigenpipeline.framework.chat.AIModelConstants
 
gson - Static variable in class net.stoerr.ai.aigenpipeline.framework.chat.OpenAIChatBuilderImpl
 

H

hasArgument(String, String) - Method in class net.stoerr.ai.aigenpipeline.commandline.AIGenArgumentList
 
hashCode() - Method in class net.stoerr.ai.aigenpipeline.framework.task.AIVersionMarker
 
hasToBeRun() - Method in class net.stoerr.ai.aigenpipeline.framework.task.AIGenerationTask
 
help - Variable in class net.stoerr.ai.aigenpipeline.commandline.AIGenPipeline
 
helpAIquestion - Variable in class net.stoerr.ai.aigenpipeline.commandline.AIGenPipeline
 
hintFiles - Variable in class net.stoerr.ai.aigenpipeline.commandline.AIGenPipeline
 
hints - Variable in class net.stoerr.ai.aigenpipeline.framework.task.AIGenerationTask
 
HTML_PATTERN - Static variable in class net.stoerr.ai.aigenpipeline.framework.task.FileLookupHelper
 

I

idForInOut(AIInOut) - Method in class net.stoerr.ai.aigenpipeline.commandline.AIDepDiagram
 
IF_NOT_EXISTS - Static variable in interface net.stoerr.ai.aigenpipeline.framework.task.RegenerationCheckStrategy
 
IF_OLDER - Static variable in interface net.stoerr.ai.aigenpipeline.framework.task.RegenerationCheckStrategy
Regenerate when output file does not exist or is older than one of the input files.
infilePrompting(String) - Static method in class net.stoerr.ai.aigenpipeline.framework.task.SegmentedFile
Generates the patterns for storing prompt and generated data within one file.
infilePromptMarker - Variable in class net.stoerr.ai.aigenpipeline.commandline.AIGenPipeline
 
inputFiles - Variable in class net.stoerr.ai.aigenpipeline.commandline.AIGenPipeline
 
inputFiles - Variable in class net.stoerr.ai.aigenpipeline.framework.task.AIGenerationTask
 
inputVersions - Variable in class net.stoerr.ai.aigenpipeline.framework.task.AIVersionMarker
 
isClaude() - Method in class net.stoerr.ai.aigenpipeline.framework.chat.OpenAIChatBuilderImpl
 
isIgnoreEnvironmentArgs(AIGenArgumentList) - Method in class net.stoerr.ai.aigenpipeline.commandline.AIGenPipeline
 
isOpenAI() - Method in class net.stoerr.ai.aigenpipeline.framework.chat.OpenAIChatBuilderImpl
 
isStopCfgfileScan(AIGenArgumentList) - Method in class net.stoerr.ai.aigenpipeline.commandline.AIGenPipeline
 

J

javaFile(String) - Method in class net.stoerr.ai.aigenpipeline.framework.task.FileLookupHelper
File from full java class name.
javaMdFile(String) - Method in class net.stoerr.ai.aigenpipeline.framework.task.FileLookupHelper
File for documenting a full java class name.
joinSegments() - Method in class net.stoerr.ai.aigenpipeline.framework.task.SegmentedFile
 

K

key(String) - Method in interface net.stoerr.ai.aigenpipeline.framework.chat.AIChatBuilder
Sets the API key for the chat completion request.
key(String) - Method in class net.stoerr.ai.aigenpipeline.framework.chat.CopyPseudoAIChatBuilderImpl
 
key(String) - Method in class net.stoerr.ai.aigenpipeline.framework.chat.OpenAIChatBuilderImpl
 
keyValues - Variable in class net.stoerr.ai.aigenpipeline.commandline.AIGenPipeline
 

L

labelForInOut(AIInOut) - Method in class net.stoerr.ai.aigenpipeline.commandline.AIDepDiagram
 
LOG - Static variable in class net.stoerr.ai.aigenpipeline.framework.task.AIGenerationTask
 
LOG - Static variable in class net.stoerr.ai.aigenpipeline.framework.task.FileLookupHelper
 
logStream - Variable in class net.stoerr.ai.aigenpipeline.commandline.AIGenPipeline
 

M

main(String[]) - Static method in class net.stoerr.ai.aigenpipeline.commandline.AIGenPipeline
 
makeChatBuilder() - Method in class net.stoerr.ai.aigenpipeline.commandline.AIGenPipeline
 
makeChatBuilder(Supplier<AIChatBuilder>, File) - Method in class net.stoerr.ai.aigenpipeline.framework.task.AIGenerationTask
 
maxTokens - Variable in class net.stoerr.ai.aigenpipeline.framework.chat.OpenAIChatBuilderImpl
 
maxTokens - Variable in class net.stoerr.ai.aigenpipeline.framework.task.AIGenerationTask
 
maxTokens(int) - Method in interface net.stoerr.ai.aigenpipeline.framework.chat.AIChatBuilder
Sets the maximum number of tokens the completion can use.
maxTokens(int) - Method in class net.stoerr.ai.aigenpipeline.framework.chat.CopyPseudoAIChatBuilderImpl
 
maxTokens(int) - Method in class net.stoerr.ai.aigenpipeline.framework.chat.OpenAIChatBuilderImpl
 
maxTokens(Integer) - Method in class net.stoerr.ai.aigenpipeline.framework.task.AIGenerationTask
 
messages - Variable in class net.stoerr.ai.aigenpipeline.framework.chat.OpenAIChatBuilderImpl
 
model - Variable in class net.stoerr.ai.aigenpipeline.commandline.AIGenPipeline
 
model - Variable in class net.stoerr.ai.aigenpipeline.framework.chat.OpenAIChatBuilderImpl
 
model(String) - Method in interface net.stoerr.ai.aigenpipeline.framework.chat.AIChatBuilder
Sets the AI model to be used for the chat completion.
model(String) - Method in class net.stoerr.ai.aigenpipeline.framework.chat.CopyPseudoAIChatBuilderImpl
 
model(String) - Method in class net.stoerr.ai.aigenpipeline.framework.chat.OpenAIChatBuilderImpl
 
MODEL_COPY - Static variable in class net.stoerr.ai.aigenpipeline.framework.chat.CopyPseudoAIChatBuilderImpl
Pseudo model that just concatenates the inputs and writes these to the output.
MODEL_OPENAIJSON - Static variable in class net.stoerr.ai.aigenpipeline.framework.chat.OpenAIChatBuilderImpl
Pseudo model that outputs the json that would be sent to OpenAI and writes that to the output, instead of actually calling OpenAI.

N

needsRegeneration(AIInOut, List<AIInOut>, WritingStrategy, List<String>) - Method in interface net.stoerr.ai.aigenpipeline.framework.task.RegenerationCheckStrategy
Decides whether the output file needs to be regenerated.
needsRegeneration(AIInOut, List<AIInOut>, WritingStrategy, List<String>) - Method in class net.stoerr.ai.aigenpipeline.framework.task.RegenerationCheckStrategy.VersionMarkerRegenerationCheckStrategy
 
net.stoerr.ai.aigenpipeline.commandline - package net.stoerr.ai.aigenpipeline.commandline
 
net.stoerr.ai.aigenpipeline.framework.chat - package net.stoerr.ai.aigenpipeline.framework.chat
 
net.stoerr.ai.aigenpipeline.framework.task - package net.stoerr.ai.aigenpipeline.framework.task
 
nextId - Variable in class net.stoerr.ai.aigenpipeline.commandline.AIDepDiagram
 
node - Variable in exception net.stoerr.ai.aigenpipeline.commandline.TopoSort.TopoSortCycleException
 
NOMETAPREFIXPATTERN - Static variable in class net.stoerr.ai.aigenpipeline.framework.task.FileLookupHelper
A pattern matching a prefix of a file name that ends with a / and has no meta characters of the FileSystem.getPathMatcher(String) in it.

O

of(File) - Static method in interface net.stoerr.ai.aigenpipeline.framework.task.AIInOut
Creates an AIInOut instance that reads from a file.
of(InputStream) - Static method in interface net.stoerr.ai.aigenpipeline.framework.task.AIInOut
Creates an AIInOut instance that reads from an input stream.
of(Path) - Static method in interface net.stoerr.ai.aigenpipeline.framework.task.AIInOut
Creates an AIInOut instance that reads from a file.
of(SegmentedFile, int) - Static method in interface net.stoerr.ai.aigenpipeline.framework.task.AIInOut
Creates an AIInOut instance that reads from a segment of a segmented file.
OPENAI_URL - Static variable in interface net.stoerr.ai.aigenpipeline.framework.chat.AIModelConstants
OpenAI chat message completion URL - the default.
OpenAIChatBuilderImpl - Class in net.stoerr.ai.aigenpipeline.framework.chat
Implementation of AIChatBuilder for creating and executing OpenAI chat completion requests.
OpenAIChatBuilderImpl() - Constructor for class net.stoerr.ai.aigenpipeline.framework.chat.OpenAIChatBuilderImpl
 
OpenAIChatBuilderImpl.ChatCompletionRequest - Class in net.stoerr.ai.aigenpipeline.framework.chat
 
OpenAIChatBuilderImpl.ChatCompletionResponse - Class in net.stoerr.ai.aigenpipeline.framework.chat
 
OpenAIChatBuilderImpl.Message - Class in net.stoerr.ai.aigenpipeline.framework.chat
 
organizationId - Variable in class net.stoerr.ai.aigenpipeline.commandline.AIGenPipeline
 
organizationId - Variable in class net.stoerr.ai.aigenpipeline.framework.chat.OpenAIChatBuilderImpl
 
organizationId(String) - Method in interface net.stoerr.ai.aigenpipeline.framework.chat.AIChatBuilder
Sets the organization ID for the chat completion request - if applicable (OpenAI).
organizationId(String) - Method in class net.stoerr.ai.aigenpipeline.framework.chat.CopyPseudoAIChatBuilderImpl
 
organizationId(String) - Method in class net.stoerr.ai.aigenpipeline.framework.chat.OpenAIChatBuilderImpl
 
ourVersion - Variable in class net.stoerr.ai.aigenpipeline.framework.task.AIVersionMarker
 
OUT - Static variable in class net.stoerr.ai.aigenpipeline.commandline.AIGenPipeline
 
output - Variable in class net.stoerr.ai.aigenpipeline.commandline.AIGenPipeline
 
output - Variable in class net.stoerr.ai.aigenpipeline.framework.task.AIGenerationTask
 
outputScan - Variable in class net.stoerr.ai.aigenpipeline.commandline.AIGenPipeline
 

P

parseArguments(String[], File) - Method in class net.stoerr.ai.aigenpipeline.commandline.AIGenPipeline
 
pathToId - Variable in class net.stoerr.ai.aigenpipeline.commandline.AIDepDiagram
 
PATTERN_INFILEPROMPT - Static variable in class net.stoerr.ai.aigenpipeline.framework.task.AIGenerationTask
A pattern matching infile prompts like this:
PATTERN_LICENCE - Static variable in class net.stoerr.ai.aigenpipeline.framework.task.AIGenerationTask
A pattern that matches the license header, which we want to remove to avoid clutter.
pipelines - Variable in class net.stoerr.ai.aigenpipeline.commandline.AIDepDiagram
 
placeholdersAndValues - Variable in class net.stoerr.ai.aigenpipeline.framework.task.AIGenerationTask
 
prepareTask() - Method in class net.stoerr.ai.aigenpipeline.commandline.AIGenPipeline
 
printconfig - Variable in class net.stoerr.ai.aigenpipeline.commandline.AIGenPipeline
 
printDepDiagram(PrintStream) - Method in class net.stoerr.ai.aigenpipeline.commandline.AIDepDiagram
Prints a dependency diagram of the pipelines to the given output stream.
printdependencydiagram - Variable in class net.stoerr.ai.aigenpipeline.commandline.AIGenPipeline
 
printHelp(boolean) - Method in class net.stoerr.ai.aigenpipeline.commandline.AIGenPipeline
 
prompt - Variable in class net.stoerr.ai.aigenpipeline.framework.task.AIGenerationTask
The actual prompt created from prompt files and parameters.
promptFiles - Variable in class net.stoerr.ai.aigenpipeline.commandline.AIGenPipeline
 
promptInputs - Variable in class net.stoerr.ai.aigenpipeline.framework.task.AIGenerationTask
 

R

read() - Method in class net.stoerr.ai.aigenpipeline.framework.task.AIInOut.AIFileInOut
Reads the file and returns its content as a string.
read() - Method in class net.stoerr.ai.aigenpipeline.framework.task.AIInOut.AIFileSegmentInOut
Reads the segment from the segmented file and returns its content as a string.
read() - Method in class net.stoerr.ai.aigenpipeline.framework.task.AIInOut.AIStreamInOut
Reads the input stream and returns its content as a string.
read() - Method in interface net.stoerr.ai.aigenpipeline.framework.task.AIInOut
Reads the input and returns it as a string.
readAndParseFile() - Method in class net.stoerr.ai.aigenpipeline.framework.task.SegmentedFile
Reads the file and splits it according to the separators.
readArguments(String[], File) - Method in class net.stoerr.ai.aigenpipeline.commandline.AIGenPipeline
 
regenerationCheckStrategy - Variable in class net.stoerr.ai.aigenpipeline.commandline.AIGenPipeline
 
regenerationCheckStrategy - Variable in class net.stoerr.ai.aigenpipeline.framework.task.AIGenerationTask
 
RegenerationCheckStrategy - Interface in net.stoerr.ai.aigenpipeline.framework.task
A strategy to decide whether we need to regenerate an output file from input files.
RegenerationCheckStrategy.VersionMarkerRegenerationCheckStrategy - Class in net.stoerr.ai.aigenpipeline.framework.task
 
REGEX_AIGENPROMPTSTART - Static variable in class net.stoerr.ai.aigenpipeline.framework.task.SegmentedFile
Start pattern for SegmentedFile.infilePrompting(String), group "id" is the id.
relativePath(File, File) - Method in class net.stoerr.ai.aigenpipeline.framework.task.AIGenerationTask
 
replaceMarkerIn(String, String) - Static method in class net.stoerr.ai.aigenpipeline.framework.task.AIVersionMarker
 
ROLE_ASSISTANT - Static variable in class net.stoerr.ai.aigenpipeline.framework.chat.OpenAIChatBuilderImpl
 
ROLE_SYSTEM - Static variable in class net.stoerr.ai.aigenpipeline.framework.chat.OpenAIChatBuilderImpl
 
ROLE_USER - Static variable in class net.stoerr.ai.aigenpipeline.framework.chat.OpenAIChatBuilderImpl
 
rootDir - Variable in class net.stoerr.ai.aigenpipeline.commandline.AIDepDiagram
 
rootDir - Variable in class net.stoerr.ai.aigenpipeline.commandline.AIGenPipeline
 
run() - Method in class net.stoerr.ai.aigenpipeline.commandline.AIGenPipeline
 
run(String[]) - Method in class net.stoerr.ai.aigenpipeline.commandline.AIGenPipeline
 
runWithOutputScan(String[]) - Method in class net.stoerr.ai.aigenpipeline.commandline.AIGenPipeline
Scans for files in AIGenPipeline.outputScan and processes them.

S

sameFile(AIInOut) - Method in interface net.stoerr.ai.aigenpipeline.framework.task.AIInOut
 
sanityCheck(String) - Method in class net.stoerr.ai.aigenpipeline.framework.task.SegmentedFile
 
segmentedFile - Variable in class net.stoerr.ai.aigenpipeline.framework.task.AIInOut.AIFileSegmentInOut
 
SegmentedFile - Class in net.stoerr.ai.aigenpipeline.framework.task
ALlows reading and writing individual segments of a file where the segments are separated by a regular expression.
SegmentedFile(File, String...) - Constructor for class net.stoerr.ai.aigenpipeline.framework.task.SegmentedFile
Reads the file and checks that the separators can be found and that they don't match at other places.
segmentIndex - Variable in class net.stoerr.ai.aigenpipeline.framework.task.AIInOut.AIFileSegmentInOut
 
segments - Variable in class net.stoerr.ai.aigenpipeline.framework.task.SegmentedFile
Segment before first separator, content matching first separator, segment before second separator, content matching second separator , and so forth, and then the rest of the file.
separatorPatterns - Variable in class net.stoerr.ai.aigenpipeline.framework.task.SegmentedFile
 
setOutput(AIInOut) - Method in class net.stoerr.ai.aigenpipeline.framework.task.AIGenerationTask
 
setOutputFile(File) - Method in class net.stoerr.ai.aigenpipeline.framework.task.AIGenerationTask
 
setRegenerationCheckStrategy(RegenerationCheckStrategy) - Method in class net.stoerr.ai.aigenpipeline.framework.task.AIGenerationTask
Sets the strategy to check whether the generation has to be run.
setSystemMessage(File) - Method in class net.stoerr.ai.aigenpipeline.framework.task.AIGenerationTask
 
setSystemMessage(AIInOut) - Method in class net.stoerr.ai.aigenpipeline.framework.task.AIGenerationTask
 
setUpdateRequested(boolean) - Method in class net.stoerr.ai.aigenpipeline.framework.task.AIGenerationTask
If true, adds the output file as a special input with a hint that this is the current state of the output that has to be updated with minimal changes.
setWritingStrategy(WritingStrategy) - Method in class net.stoerr.ai.aigenpipeline.framework.task.AIGenerationTask
Sets the strategy to deal with writing the output file.
shaHash(String) - Static method in class net.stoerr.ai.aigenpipeline.framework.task.AIVersionMarker
 
sort() - Method in class net.stoerr.ai.aigenpipeline.commandline.TopoSort
Calculates topologically sorted list of nodes.
sortedPipelines() - Method in class net.stoerr.ai.aigenpipeline.commandline.AIDepDiagram
Does a topological sort to execute tasks that depend on other tasks later.
systemMessage - Variable in class net.stoerr.ai.aigenpipeline.framework.task.AIGenerationTask
 
systemMessageInput - Variable in class net.stoerr.ai.aigenpipeline.framework.task.AIGenerationTask
 
systemMsg(String) - Method in interface net.stoerr.ai.aigenpipeline.framework.chat.AIChatBuilder
Adds a system message to the chat.
systemMsg(String) - Method in class net.stoerr.ai.aigenpipeline.framework.chat.CopyPseudoAIChatBuilderImpl
 
systemMsg(String) - Method in class net.stoerr.ai.aigenpipeline.framework.chat.OpenAIChatBuilderImpl
 

T

task - Variable in class net.stoerr.ai.aigenpipeline.commandline.AIGenPipeline
 
taskOutput - Variable in class net.stoerr.ai.aigenpipeline.commandline.AIGenPipeline
 
to - Variable in class net.stoerr.ai.aigenpipeline.commandline.TopoSort.Edge
 
toJson() - Method in interface net.stoerr.ai.aigenpipeline.framework.chat.AIChatBuilder
Converts the chat completion request to a JSON string.
toJson() - Method in class net.stoerr.ai.aigenpipeline.framework.chat.CopyPseudoAIChatBuilderImpl
 
toJson() - Method in class net.stoerr.ai.aigenpipeline.framework.chat.OpenAIChatBuilderImpl
 
toJson(Supplier<AIChatBuilder>, File) - Method in class net.stoerr.ai.aigenpipeline.framework.task.AIGenerationTask
For debugging purposes: returns the JSON that would be sent to the AI.
tokens - Variable in class net.stoerr.ai.aigenpipeline.commandline.AIGenPipeline
 
TopoSort<T> - Class in net.stoerr.ai.aigenpipeline.commandline
 
TopoSort() - Constructor for class net.stoerr.ai.aigenpipeline.commandline.TopoSort
 
TopoSort.Edge<T> - Class in net.stoerr.ai.aigenpipeline.commandline
 
TopoSort.TopoSortCycleException - Exception in net.stoerr.ai.aigenpipeline.commandline
Is thrown to notify that there is a cycle regarding the given node.
TopoSortCycleException(Object) - Constructor for exception net.stoerr.ai.aigenpipeline.commandline.TopoSort.TopoSortCycleException
 
toString() - Method in class net.stoerr.ai.aigenpipeline.commandline.AIGenPipeline
 
toString() - Method in class net.stoerr.ai.aigenpipeline.framework.task.AIGenerationTask
 
toString() - Method in class net.stoerr.ai.aigenpipeline.framework.task.AIInOut.AIFileInOut
 
toString() - Method in class net.stoerr.ai.aigenpipeline.framework.task.AIInOut.AIFileSegmentInOut
 
toString() - Method in class net.stoerr.ai.aigenpipeline.framework.task.AIInOut.AIStreamInOut
 
toString() - Method in class net.stoerr.ai.aigenpipeline.framework.task.AIVersionMarker
 
toString() - Method in class net.stoerr.ai.aigenpipeline.framework.task.SegmentedFile
 

U

unclutter(String) - Static method in class net.stoerr.ai.aigenpipeline.framework.task.AIGenerationTask
 
update - Variable in class net.stoerr.ai.aigenpipeline.commandline.AIGenPipeline
 
updateRequested - Variable in class net.stoerr.ai.aigenpipeline.framework.task.AIGenerationTask
 
url - Variable in class net.stoerr.ai.aigenpipeline.commandline.AIGenPipeline
 
url - Variable in class net.stoerr.ai.aigenpipeline.framework.chat.OpenAIChatBuilderImpl
 
url(String) - Method in interface net.stoerr.ai.aigenpipeline.framework.chat.AIChatBuilder
Sets the URL for the chat completion request.
url(String) - Method in class net.stoerr.ai.aigenpipeline.framework.chat.CopyPseudoAIChatBuilderImpl
 
url(String) - Method in class net.stoerr.ai.aigenpipeline.framework.chat.OpenAIChatBuilderImpl
 
userMsg(String) - Method in interface net.stoerr.ai.aigenpipeline.framework.chat.AIChatBuilder
Adds a user message to the chat.
userMsg(String) - Method in class net.stoerr.ai.aigenpipeline.framework.chat.CopyPseudoAIChatBuilderImpl
 
userMsg(String) - Method in class net.stoerr.ai.aigenpipeline.framework.chat.OpenAIChatBuilderImpl
 

V

verbose - Variable in class net.stoerr.ai.aigenpipeline.commandline.AIGenPipeline
 
version - Variable in class net.stoerr.ai.aigenpipeline.commandline.AIGenPipeline
 
VERSION_MARKER_PATTERN - Static variable in class net.stoerr.ai.aigenpipeline.framework.task.AIVersionMarker
 
VERSIONMARKER - Static variable in interface net.stoerr.ai.aigenpipeline.framework.task.RegenerationCheckStrategy
 
VersionMarkerRegenerationCheckStrategy() - Constructor for class net.stoerr.ai.aigenpipeline.framework.task.RegenerationCheckStrategy.VersionMarkerRegenerationCheckStrategy
 
visit(T, Set<T>, Set<T>, List<T>) - Method in class net.stoerr.ai.aigenpipeline.commandline.TopoSort
 

W

wholeLineRegex(String) - Static method in class net.stoerr.ai.aigenpipeline.framework.task.SegmentedFile
 
WITHOUTVERSION - Static variable in interface net.stoerr.ai.aigenpipeline.framework.task.WritingStrategy
Writes the raw file without the cersion comment.
WITHVERSION - Static variable in interface net.stoerr.ai.aigenpipeline.framework.task.WritingStrategy
Writes the file with the version comment.
write(String) - Method in class net.stoerr.ai.aigenpipeline.framework.task.AIInOut.AIFileInOut
Writes a string to the file.
write(String) - Method in class net.stoerr.ai.aigenpipeline.framework.task.AIInOut.AIFileSegmentInOut
Writes a string to the segment of the segmented file.
write(String) - Method in class net.stoerr.ai.aigenpipeline.framework.task.AIInOut.AIStreamInOut
Writing to an input stream is not supported.
write(String) - Method in interface net.stoerr.ai.aigenpipeline.framework.task.AIInOut
Writes a string to the output.
write(AIInOut, String, String) - Method in interface net.stoerr.ai.aigenpipeline.framework.task.WritingStrategy
 
writePart - Variable in class net.stoerr.ai.aigenpipeline.commandline.AIGenPipeline
 
writeSegment(int, String) - Method in class net.stoerr.ai.aigenpipeline.framework.task.SegmentedFile
Retrieves the segment - 0 is before first separator, 1 is between first and second separator, and so forth, segments.size()-1 is the rest of the file.
writingStrategy - Variable in class net.stoerr.ai.aigenpipeline.commandline.AIGenPipeline
 
writingStrategy - Variable in class net.stoerr.ai.aigenpipeline.framework.task.AIGenerationTask
 
WritingStrategy - Interface in net.stoerr.ai.aigenpipeline.framework.task
Ways to write a file and embed the version comment.
A B C D E F G H I J K L M N O P R S T U V W 
All Classes All Packages