Documentation ¶ Index ¶ type Service func New() *Service func (s *Service) Count(text string, modelID models.ModelId) int func (s *Service) CountMessages(messages []models.ChatMessage, modelID models.ModelId) int Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Service ¶ type Service struct { // contains filtered or unexported fields } func New ¶ func New() *Service func (*Service) Count ¶ func (s *Service) Count(text string, modelID models.ModelId) int func (*Service) CountMessages ¶ func (s *Service) CountMessages(messages []models.ChatMessage, modelID models.ModelId) int Source Files ¶ View all Source files service.go Click to show internal directories. Click to hide internal directories.