Package com.simplidh.api
Class GhostwritRApi
java.lang.Object
com.simplidh.api.GhostwritRApi
GhostwritR API Factory
- Author:
- Phillip Austerfield
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic IGhostwritRIOget(de.espirit.firstspirit.agency.SpecialistsBroker pContext, de.espirit.firstspirit.access.Language pTargetLanguage) Get the API interfacestatic IGhostwritRIOGet the API interfacestatic IGhostwritRIOtest(de.espirit.firstspirit.agency.SpecialistsBroker pContext, de.espirit.firstspirit.access.Language pTargetLanguage) Development method...static IGhostwritRIODevelopment method...
-
Constructor Details
-
GhostwritRApi
public GhostwritRApi()
-
-
Method Details
-
get
@NotNull public static IGhostwritRIO get(de.espirit.firstspirit.agency.SpecialistsBroker pContext, @NotNull String sTargetLanguage) throws IllegalStateException Get the API interface- Parameters:
pContext- ContextsTargetLanguage- Target language, in which texts are to be created- Returns:
- Throws:
IllegalStateException
-
get
@NotNull public static IGhostwritRIO get(de.espirit.firstspirit.agency.SpecialistsBroker pContext, @NotNull de.espirit.firstspirit.access.Language pTargetLanguage) throws IllegalStateException Get the API interface- Parameters:
pContext- ContextpTargetLanguage- Target language, in which texts are to be created- Returns:
- Throws:
IllegalStateException
-
test
@NotNull public static IGhostwritRIO test(de.espirit.firstspirit.agency.SpecialistsBroker pContext, @Nullable String sTargetLanguage) throws IllegalStateException Development method... Get a test implementation without actually performing real AI calls.- Parameters:
pContext- This parameter will be ignoredsTargetLanguage- This parameter will be ignored- Returns:
- Test interface implementation
- Throws:
IllegalStateException
-
test
@NotNull public static IGhostwritRIO test(de.espirit.firstspirit.agency.SpecialistsBroker pContext, @Nullable de.espirit.firstspirit.access.Language pTargetLanguage) throws IllegalStateException Development method... Get a test implementation without actually performing real AI calls.- Parameters:
pContext- This parameter will be ignoredpTargetLanguage- This parameter will be ignored- Returns:
- Test interface implementation
- Throws:
IllegalStateException
-