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.GPTContentCreationService Service to generate content (keywords / descriptions from a text, and so forth.)GPTEmbeddingService Methods related to embeddings.GPTEmbeddingService.EmbeddingsCache Optional cache for embedding values.GPTTranslationService Building onGPTChatCompletionService
this implements translation. -
Class Summary Class Description GPTChatMessage A chat message in a dialog with ChatGPT.GPTChatRequest A request to ChatGPT.GPTCompletionCallback.GPTCompletionCollector A simple collector that just takes note of things.GPTConfiguration A configuration to use for accessing the external LLM service. -
Enum Summary Enum Description GPTConfiguration.AnswerType GPTConfiguration.Mode GPTFinishReason GPTMessageRole Role of aGPTChatMessage
in a dialog with ChatGPT.