Class HttpCommunicationChatGPT
java.lang.Object
org.eclnt.ccee.chatgpt.logic.http.HttpCommunicationChatGPT
- All Implemented Interfaces:
ICCEEConstants
-
Field Summary
Fields inherited from interface org.eclnt.ccee.ICCEEConstants
AND, ASC, AVG, BETWEEN, BRC, BRO, COUNT, DEFAULT_CONTEXT, DESC, FUNCTIONRESULT, GREATER, GREATEREQUAL, IN, IS, ISNOT, LIKE, LL_DBG, LL_ERR, LL_INF, LL_WAR, LOWER, LOWEREQUAL, MAX, MIN, NULL, OR, ORDERBY, QPFUNCTION_LOWER, QPFUNCTION_UPPER, SUM
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic void
initialize
(String openAiCompany, String openAiProjectId, String openAiApiKey) static HttpCommunicationChatGPT
instance()
byte[]
readURLByteArray
(String url)
-
Constructor Details
-
HttpCommunicationChatGPT
public HttpCommunicationChatGPT()
-
-
Method Details
-
instance
-
initialize
-
readURLByteArray
-
doGet
-
doPost
-