Package com.composum.ai.backend.base.service
-
Class Summary Class Description StringstreamSlowdown For a stream of String segments (like the ChatGPT tokens that trickle in from ChatGPT when streaming) this collects the parts and forwards the collected part every 500ms to a given consumer. -
Exception Summary Exception Description GPTException Any kind of error when accessing GPT.GPTException.GPTContextLengthExceededException { "error": { "message": "This model's maximum context length is 4097 tokens.
GPTException.GPTRetryableResponseErrorException An exception that is thrown when the response from the GPT service is not as expected.GPTException.GPTUserNotificationException A special exception if the user should be notified about something instead of completing the task.