core

package
v0.7.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 30, 2025 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ParseDuration

func ParseDuration(durationStr string) (time.Duration, error)

func ParseTime

func ParseTime(timeStr string) (time.Time, error)

Types

type Clients

type Clients struct {
	// contains filtered or unexported fields
}

func NewClientsWithSlack added in v0.6.0

func NewClientsWithSlack(repo interfaces.Repository, llm gollem.LLMClient, thread interfaces.SlackThreadService, ticketUC TicketUseCase, slackClient interfaces.SlackClient) *Clients

func NewClientsWithUseCase added in v0.5.0

func NewClientsWithUseCase(repo interfaces.Repository, llm gollem.LLMClient, thread interfaces.SlackThreadService, ticketUC TicketUseCase) *Clients

func (*Clients) LLM

func (s *Clients) LLM() gollem.LLMClient

func (*Clients) Repo

func (s *Clients) Repo() interfaces.Repository

func (*Clients) SlackClient added in v0.6.0

func (s *Clients) SlackClient() interfaces.SlackClient

func (*Clients) Thread

func (*Clients) TicketUseCase added in v0.5.0

func (s *Clients) TicketUseCase() TicketUseCase

type TicketUseCase added in v0.5.0

type TicketUseCase interface {
	CreateTicketFromConversation(ctx context.Context, thread slack.Thread, user *slack.User, userContext string) (*ticket.Ticket, error)
}

TicketUseCase defines methods for ticket operations from conversation

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL