Package com.composum.ai.backend.base.service.chat
-
Interface Summary Interface Description GPTChatCompletionService Raw abstraction of the ChatGPT chat interface, with only the details that are needed.GPTCompletionCallback For a streaming mode this is given as parameter for the method call and receives the streamed data; the method returns only when the response is complete.GPTCompletionCallback.GPTToolExecutionContext For tool calls: context to execute actions in.GPTContentCreationService Service to generate content (keywords / descriptions from a text, and so forth.)GPTDictationService Services related to dictation.GPTEmbeddingService Methods related to embeddings.GPTEmbeddingService.EmbeddingsCache Optional cache for embedding values.GPTResponseCheck An additional check that verifies whether the translation was carried out right - such as paths in HTML weren't translated.GPTTool An action the AI can perform - likely from the sidebar chat.GPTTranslationService Building onGPTChatCompletionService
this implements translation. -
Class Summary Class Description GPTChatMessage A chat message in a dialog with ChatGPT.GPTChatMessagesTemplate A template for chat messages, with placeholders.GPTChatRequest A request to ChatGPT.GPTCompletionCallback.GPTCompletionCallbackWrapper Forwards all methods to a delegate.GPTCompletionCallback.GPTCompletionCollector A simple collector that just takes note of things.GPTConfiguration A configuration to use for accessing the external LLM service.GPTConfiguration.GPTContextInfo Gives the conversation a history - additional assistant - user message pair.GPTFunctionCallDetails Represents the a call of a function used as a tool in the chat completion request.GPTFunctionDetails Represents the details of a function used as a tool in the chat completion request.GPTToolCall Represents a tool call generated by the model in a chat completion response. -
Enum Summary Enum Description GPTConfiguration.AnswerType GPTConfiguration.Mode GPTFinishReason GPTMessageRole Role of aGPTChatMessage
in a dialog with ChatGPT.