Uses of Record Class
io.github.jbastgen.stemma.app.ai.AiConfig
Packages that use AiConfig
Package
Description
Everything that uses an AI service or prepares text for one: providers, prompts, the Cowork prompt library and export, the
proposals for changelogs, merge resolutions and translated messages, and the cache of commit summaries.
Persistent settings of the application and where they live: the portable configuration folder, the global and the per-user
view settings, the library of repositories, branding and the log level.
Commit labels: the label definitions and assignments, suggestions from branch names and files, and estimating labels for
many commits at once.
-
Uses of AiConfig in io.github.jbastgen.stemma.app.ai
Methods in io.github.jbastgen.stemma.app.ai that return AiConfigMethods in io.github.jbastgen.stemma.app.ai with parameters of type AiConfigModifier and TypeMethodDescriptionstatic StringCommitSummary.buildPrompt(String template, String repo, String branch, List<CommitData> commits, AiConfig config) Fills the template.static StringCommitSummary.buildPrompt(String template, String repo, String branch, List<CommitData> commits, AiConfig config, String language) As above;languageis the English name of the language the answer is written in ({language}of the template; empty = the language of the commit messages).static List<CommitData> CommitDataLoader.load(io.github.jbastgen.stemma.git.api.GitRepository repo, List<String> commitIds, AiConfig config) Reads what the AI is told about the commits: message, author and changed files with their line counts.Method parameters in io.github.jbastgen.stemma.app.ai with type arguments of type AiConfigModifier and TypeMethodDescriptionAiService.withConfig(Supplier<AiConfig> other) The same connection with other settings, for trying out settings that are not saved yet.Constructor parameters in io.github.jbastgen.stemma.app.ai with type arguments of type AiConfigModifierConstructorDescriptionAiService(Supplier<AiConfig> config, AiService.ApiKeys keys, PromptTemplates templates) -
Uses of AiConfig in io.github.jbastgen.stemma.app.config
Methods in io.github.jbastgen.stemma.app.config that return AiConfigModifier and TypeMethodDescriptionAppSettings.toAiConfig()The AI settings as the connection uses them; numbers are kept within sensible limits. -
Uses of AiConfig in io.github.jbastgen.stemma.app.label
Methods in io.github.jbastgen.stemma.app.label with parameters of type AiConfigModifier and TypeMethodDescriptionstatic StringLabelEstimator.buildPrompt(String template, String repo, String branch, CommitData commit, List<LabelIndex.LabelDef> labels, AiConfig config) Fills the template for one commit:{labels}with the configured labels, and (as for the description of a commit){repo},{branch},{commits}and{diff}.