A C F G H I J L M O P S T V 
All Classes All Packages

A

ai.freeplay.client - package ai.freeplay.client
 
ai.freeplay.client.exceptions - package ai.freeplay.client.exceptions
 
ai.freeplay.client.flavor - package ai.freeplay.client.flavor
 
ai.freeplay.client.internal - package ai.freeplay.client.internal
 
ai.freeplay.client.model - package ai.freeplay.client.model
 
asString(Object) - Static method in class ai.freeplay.client.internal.JSONUtil
 

C

callChatService(Collection<ChatMessage>, ProviderConfig, Map<String, Object>) - Method in interface ai.freeplay.client.flavor.ChatFlavor
 
callChatService(Collection<ChatMessage>, ProviderConfig, Map<String, Object>) - Method in class ai.freeplay.client.flavor.OpenAIChatFlavor
 
CallInfo - Class in ai.freeplay.client.internal
 
CallInfo(String, String, long, long, String, Map<String, Object>, String, String, boolean) - Constructor for class ai.freeplay.client.internal.CallInfo
 
callService(String, ProviderConfig, Map<String, Object>) - Method in class ai.freeplay.client.flavor.OpenAITextFlavor
 
callService(Collection<ChatMessage>, ProviderConfig, Map<String, Object>) - Method in class ai.freeplay.client.flavor.OpenAIChatFlavor
 
callService(P, ProviderConfig, Map<String, Object>) - Method in interface ai.freeplay.client.flavor.Flavor
 
CallSupport - Class in ai.freeplay.client.internal
 
CallSupport(String, String, ProviderConfig, Flavor<?>, Map<String, Object>) - Constructor for class ai.freeplay.client.internal.CallSupport
 
ChatCompletionResponse - Class in ai.freeplay.client.model
 
ChatCompletionResponse(List<IndexedChatMessage>) - Constructor for class ai.freeplay.client.model.ChatCompletionResponse
 
ChatFlavor - Interface in ai.freeplay.client.flavor
 
ChatMessage - Class in ai.freeplay.client.model
 
ChatMessage(String, String) - Constructor for class ai.freeplay.client.model.ChatMessage
 
ChatSession - Class in ai.freeplay.client.model
 
ChatSession(CallSupport, String, Collection<PromptTemplate>, String, String) - Constructor for class ai.freeplay.client.model.ChatSession
 
CompletionResponse - Class in ai.freeplay.client.model
 
CompletionResponse(String, boolean) - Constructor for class ai.freeplay.client.model.CompletionResponse
 
CompletionSession - Class in ai.freeplay.client.model
 
CompletionSession(CallSupport, String, Collection<PromptTemplate>, String) - Constructor for class ai.freeplay.client.model.CompletionSession
 
continueChat(ChatMessage) - Method in class ai.freeplay.client.model.ChatSession
 
continueChat(ChatMessage, Map<String, Object>) - Method in class ai.freeplay.client.model.ChatSession
 
continueChat(Collection<ChatMessage>, Map<String, Object>) - Method in class ai.freeplay.client.model.ChatSession
 
createSession(String, String) - Method in class ai.freeplay.client.Freeplay
 
createSession(String, String) - Method in class ai.freeplay.client.internal.CallSupport
 

F

findPrompt(Collection<PromptTemplate>, String) - Method in class ai.freeplay.client.internal.CallSupport
 
Flavor<P> - Interface in ai.freeplay.client.flavor
 
format(String, Map<String, Object>) - Static method in class ai.freeplay.client.internal.TemplateUtils
 
formatPrompt(String, Map<String, Object>) - Method in interface ai.freeplay.client.flavor.Flavor
 
formatPrompt(String, Map<String, Object>) - Method in class ai.freeplay.client.flavor.OpenAIChatFlavor
 
formatPrompt(String, Map<String, Object>) - Method in class ai.freeplay.client.flavor.OpenAITextFlavor
 
Freeplay - Class in ai.freeplay.client
 
Freeplay(String, String, ProviderConfig) - Constructor for class ai.freeplay.client.Freeplay
 
Freeplay(String, String, ProviderConfig, Flavor<?>, Map<String, Object>) - Constructor for class ai.freeplay.client.Freeplay
 
Freeplay(String, String, ProviderConfig, Map<String, Object>) - Constructor for class ai.freeplay.client.Freeplay
 
FreeplayException - Exception in ai.freeplay.client.exceptions
 
FreeplayException(String) - Constructor for exception ai.freeplay.client.exceptions.FreeplayException
 
FreeplayException(String, Throwable) - Constructor for exception ai.freeplay.client.exceptions.FreeplayException
 

G

get(String, String) - Static method in class ai.freeplay.client.internal.HttpUtil
 
getActiveChatFlavor(Flavor<?>, PromptTemplate) - Method in class ai.freeplay.client.internal.CallSupport
 
getApiKey() - Method in interface ai.freeplay.client.ProviderConfig
 
getApiKey() - Method in class ai.freeplay.client.ProviderConfig.OpenAIProviderConfig
 
getChatCompletion(String, Map<String, Object>) - Method in class ai.freeplay.client.model.CompletionSession
 
getChatCompletion(String, Map<String, Object>, Map<String, Object>) - Method in class ai.freeplay.client.model.CompletionSession
 
getChatCompletion(String, Map<String, Object>, Map<String, Object>, String, Flavor<P>) - Method in class ai.freeplay.client.model.CompletionSession
 
getCompletion(String, String, Map<String, Object>, String) - Method in class ai.freeplay.client.Freeplay
 
getCompletion(String, String, Map<String, Object>, Map<String, Object>, String) - Method in class ai.freeplay.client.Freeplay
 
getCompletion(String, Map<String, Object>) - Method in class ai.freeplay.client.model.CompletionSession
 
getCompletion(String, Map<String, Object>, Map<String, Object>) - Method in class ai.freeplay.client.model.CompletionSession
 
getCompletion(String, Map<String, Object>, Map<String, Object>, String, Flavor<P>) - Method in class ai.freeplay.client.model.CompletionSession
 
getContent() - Method in class ai.freeplay.client.model.ChatCompletionResponse
 
getContent() - Method in class ai.freeplay.client.model.ChatMessage
 
getContent() - Method in class ai.freeplay.client.model.CompletionResponse
 
getContent() - Method in class ai.freeplay.client.model.PromptTemplate
 
getEndTime() - Method in class ai.freeplay.client.internal.CallInfo
 
getFirstChoice() - Method in class ai.freeplay.client.model.ChatCompletionResponse
 
getFlavorName() - Method in class ai.freeplay.client.model.PromptTemplate
 
getFormatType() - Method in interface ai.freeplay.client.flavor.Flavor
 
getFormatType() - Method in class ai.freeplay.client.flavor.OpenAIChatFlavor
 
getFormatType() - Method in class ai.freeplay.client.flavor.OpenAITextFlavor
 
getFormatType() - Method in class ai.freeplay.client.internal.PromptInfo
 
getIndex() - Method in class ai.freeplay.client.model.IndexedChatMessage
 
getInputs() - Method in class ai.freeplay.client.internal.CallInfo
 
getLastMessage() - Method in class ai.freeplay.client.model.ChatSession
 
getLLMParameters() - Method in class ai.freeplay.client.internal.PromptInfo
 
getLLMParameters() - Method in class ai.freeplay.client.model.PromptTemplate
 
getMessageHistory() - Method in class ai.freeplay.client.model.ChatSession
 
getModel() - Method in class ai.freeplay.client.internal.PromptInfo
 
getName() - Method in class ai.freeplay.client.model.PromptTemplate
 
getProjectVersionId() - Method in class ai.freeplay.client.model.PromptTemplate
 
getPromptContent() - Method in class ai.freeplay.client.internal.CallInfo
 
getPrompts(String, String) - Method in class ai.freeplay.client.internal.CallSupport
 
getPromptTemplateId() - Method in class ai.freeplay.client.internal.PromptInfo
 
getPromptTemplateId() - Method in class ai.freeplay.client.model.PromptTemplate
 
getPromptTemplateVersionId() - Method in class ai.freeplay.client.internal.PromptInfo
 
getPromptTemplateVersionId() - Method in class ai.freeplay.client.model.PromptTemplate
 
getProvider() - Method in interface ai.freeplay.client.flavor.Flavor
 
getProvider() - Method in class ai.freeplay.client.flavor.OpenAIFlavor
 
getProvider() - Method in class ai.freeplay.client.internal.PromptInfo
 
getReturnContent() - Method in class ai.freeplay.client.internal.CallInfo
 
getRole() - Method in class ai.freeplay.client.model.ChatMessage
 
getSessionId() - Method in class ai.freeplay.client.internal.CallInfo
 
getSessionId() - Method in class ai.freeplay.client.model.CompletionSession
 
getStartTime() - Method in class ai.freeplay.client.internal.CallInfo
 
getTag() - Method in class ai.freeplay.client.internal.CallInfo
 
getTestRunId() - Method in class ai.freeplay.client.internal.CallInfo
 

H

HttpUtil - Class in ai.freeplay.client.internal
 
HttpUtil() - Constructor for class ai.freeplay.client.internal.HttpUtil
 

I

IndexedChatMessage - Class in ai.freeplay.client.model
 
IndexedChatMessage(String, String, int, boolean) - Constructor for class ai.freeplay.client.model.IndexedChatMessage
 
isComplete() - Method in class ai.freeplay.client.internal.CallInfo
 
isComplete() - Method in class ai.freeplay.client.model.ChatCompletionResponse
 
isComplete() - Method in class ai.freeplay.client.model.CompletionResponse
 
isComplete() - Method in class ai.freeplay.client.model.IndexedChatMessage
 

J

JSONUtil - Class in ai.freeplay.client.internal
 
JSONUtil() - Constructor for class ai.freeplay.client.internal.JSONUtil
 

L

LOGGER - Static variable in class ai.freeplay.client.internal.CallSupport
 

M

makeContinueChatCall(String, PromptTemplate, Collection<ChatMessage>, Map<String, Object>, Map<String, Object>, String, String) - Method in class ai.freeplay.client.internal.CallSupport
 

O

OpenAIChatFlavor - Class in ai.freeplay.client.flavor
 
OpenAIChatFlavor() - Constructor for class ai.freeplay.client.flavor.OpenAIChatFlavor
 
OpenAIFlavor - Class in ai.freeplay.client.flavor
 
OpenAIFlavor() - Constructor for class ai.freeplay.client.flavor.OpenAIFlavor
 
OpenAIProviderConfig(String) - Constructor for class ai.freeplay.client.ProviderConfig.OpenAIProviderConfig
 
OpenAITextFlavor - Class in ai.freeplay.client.flavor
 
OpenAITextFlavor() - Constructor for class ai.freeplay.client.flavor.OpenAITextFlavor
 

P

parseBody(HttpResponse<String>) - Static method in class ai.freeplay.client.internal.HttpUtil
 
postJsonWithBearer(String, String, String) - Static method in class ai.freeplay.client.internal.HttpUtil
 
postJsonWithBearer(String, Map<String, Object>, String) - Static method in class ai.freeplay.client.internal.HttpUtil
 
postWithBearer(String, String) - Static method in class ai.freeplay.client.internal.HttpUtil
 
prepareAndMakeCall(String, Collection<PromptTemplate>, String, Map<String, Object>, Map<String, Object>, String, String, Flavor<P>) - Method in class ai.freeplay.client.internal.CallSupport
 
PromptInfo - Class in ai.freeplay.client.internal
 
PromptInfo(String, String, String, String, String, Map<String, Object>) - Constructor for class ai.freeplay.client.internal.PromptInfo
 
PromptTemplate - Class in ai.freeplay.client.model
 
PromptTemplate(String, String, String, String, String, String, Map<String, Object>) - Constructor for class ai.freeplay.client.model.PromptTemplate
 
ProviderConfig - Interface in ai.freeplay.client
 
ProviderConfig.OpenAIProviderConfig - Class in ai.freeplay.client
 

S

serializeForRecord(String) - Method in class ai.freeplay.client.flavor.OpenAITextFlavor
 
serializeForRecord(Collection<ChatMessage>) - Method in class ai.freeplay.client.flavor.OpenAIChatFlavor
 
serializeForRecord(P) - Method in interface ai.freeplay.client.flavor.Flavor
 
startChat(String, ChatFlavor, String, Map<String, Object>, Map<String, Object>, String) - Method in class ai.freeplay.client.Freeplay
 
startChat(String, String, Map<String, Object>, String) - Method in class ai.freeplay.client.Freeplay
 
startChat(String, String, Map<String, Object>, Map<String, Object>, String) - Method in class ai.freeplay.client.Freeplay
 
startChat(Map<String, Object>, Map<String, Object>, String, String, ChatFlavor) - Method in class ai.freeplay.client.model.ChatSession
 

T

TemplateUtils - Class in ai.freeplay.client.internal
 
TemplateUtils() - Constructor for class ai.freeplay.client.internal.TemplateUtils
 
throwIfError(HttpResponse<String>, int) - Static method in class ai.freeplay.client.internal.HttpUtil
 

V

validateParameters(Map<String, Object>) - Static method in class ai.freeplay.client.flavor.OpenAIFlavor
 
A C F G H I J L M O P S T V 
All Classes All Packages