thinking

package
v0.0.0-...-ca21e7b Latest Latest
Warning

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

Go to latest
Published: Dec 16, 2025 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewStreamReply

func NewStreamReply(handler StreamHandler) gin.HandlerFunc

Types

type ConclusionHandler

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

ConclusionHandler handles conclusion generation HTTP requests

func NewConclusionHandler

func NewConclusionHandler(conclusionService *service.ConclusionService) *ConclusionHandler

NewConclusionHandler creates a new conclusion handler

func (*ConclusionHandler) Handle

func (h *ConclusionHandler) Handle(c *gin.Context)

type DecompositionHandler

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

DecompositionHandler handles intent recognition HTTP requests

func NewDecompositionHandler

func NewDecompositionHandler(decompositionService *service.DecompositionService) *DecompositionHandler

NewDecompositionHandler creates a new intent handler

func (*DecompositionHandler) Handle

func (h *DecompositionHandler) Handle(c *gin.Context)

type RepeaterHandler

type RepeaterHandler struct{}

复读机

func NewRepeaterHandler

func NewRepeaterHandler() *RepeaterHandler

func (*RepeaterHandler) Handle

func (r *RepeaterHandler) Handle(c *gin.Context) (msgID, event string, sr *schema.StreamReader[*schema.Message], err error)

type StreamHandler

type StreamHandler interface {
	Handle(ctx *gin.Context) (id string, event string, sr *schema.StreamReader[*schema.Message], err error)
}

type StreamReply

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

type UnderstandingHandler

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

问题理解

func (*UnderstandingHandler) Handle

func (h *UnderstandingHandler) Handle(c *gin.Context) (msgID string, event string, sr *schema.StreamReader[*schema.Message], err error)

Jump to

Keyboard shortcuts

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