Interface GPTInternalOpenAIHelper
-
- All Known Implementing Classes:
GPTChatCompletionServiceImpl
public interface GPTInternalOpenAIHelper
Helpers for implementation in this package.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
GPTInternalOpenAIHelper.GPTInternalOpenAIHelperInst
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description GPTInternalOpenAIHelper.GPTInternalOpenAIHelperInst
getInstance()
Returns a helper for implementation in this package.boolean
isEnabled(GPTConfiguration gptConfig)
Checks whether ChatGPT is generally and whether gptConfig enables executing GPT calls.
-
-
-
Method Detail
-
getInstance
GPTInternalOpenAIHelper.GPTInternalOpenAIHelperInst getInstance()
Returns a helper for implementation in this package. We do this indirection to make it only available for this package, since otherwise everything is public in an interface.
-
isEnabled
boolean isEnabled(GPTConfiguration gptConfig)
Checks whether ChatGPT is generally and whether gptConfig enables executing GPT calls. (That is currently whether there is an api key either globally or in the gptConfig).
-
-