Index
All Classes and Interfaces|All Packages
C
- configure() - Method in class io.codemodder.plugins.llm.LLMServiceModule
- createChatCompletion(ChatCompletionRequest) - Method in class io.codemodder.plugins.llm.OpenAIService
G
- getClassResourceAsString(String) - Method in class io.codemodder.plugins.llm.LLMAssistedCodemod
-
Returns a class resource as a
String
. - getFixPrompt() - Method in class io.codemodder.plugins.llm.LLMAssistedCodemod
-
Instructs the LLM on how to fix the threat.
- getModules(Path, List<Class<? extends CodeChanger>>, List<RuleSarif>) - Method in class io.codemodder.plugins.llm.LLMProvider
- getThreatPrompt() - Method in class io.codemodder.plugins.llm.LLMAssistedCodemod
-
Instructs the LLM on how to assess the risk of the threat.
I
- io.codemodder.plugins.llm - package io.codemodder.plugins.llm
- isPatchExpected(Patch<String>) - Method in class io.codemodder.plugins.llm.LLMAssistedCodemod
-
Returns whether the patch returned by the LLM is within the expectations of this codemod.
L
- LLMAssistedCodemod - Class in io.codemodder.plugins.llm
-
An extension of
SarifPluginRawFileChanger
that uses large language models (LLMs) to analyze and fix the files found by the static analysis tool. - LLMAssistedCodemod(RuleSarif, OpenAIService) - Constructor for class io.codemodder.plugins.llm.LLMAssistedCodemod
- LLMProvider - Class in io.codemodder.plugins.llm
-
Provides LLM-related functionality to codemods.
- LLMProvider() - Constructor for class io.codemodder.plugins.llm.LLMProvider
- LLMServiceModule - Class in io.codemodder.plugins.llm
-
Provides configured LLM services.
- LLMServiceModule() - Constructor for class io.codemodder.plugins.llm.LLMServiceModule
O
- onFileFound(CodemodInvocationContext, List<Result>) - Method in class io.codemodder.plugins.llm.LLMAssistedCodemod
- OpenAIService - Class in io.codemodder.plugins.llm
-
A custom service class to call the
OpenAiApi
, since the out-of-the boxOpenAiService
does not support automatic retries. - OpenAIService(String) - Constructor for class io.codemodder.plugins.llm.OpenAIService
All Classes and Interfaces|All Packages